Skip to content

This repo contains the HTML and CSS for the section 2 sample project on prime and composite numbers. This sample project is used to practice using event handler properties.

Notifications You must be signed in to change notification settings

epicodus-lessons/prime-and-composite-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Goal of this Example Project

This example project is meant to serve as a more complex example of the concepts learned in the LHTP.com lesson Event Handler Properties in a Project: Using window.onload.

This repo contains code for a webpage that showcases the differences between prime and composite numbers, using buttons that change the background of numbers in a grid. Here's what the website looks like:

This gif shows the prime/composite numbers website and the effects of clicking on the two buttons that change the background color of the number grid.

Note that this repo uses CSS Grid, which is not covered in LHTP.com. If you are interested in learning about it, here are two resources to get you started:

About

This repo contains the HTML and CSS for the section 2 sample project on prime and composite numbers. This sample project is used to practice using event handler properties.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published