Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.11 KB

README.md

File metadata and controls

12 lines (7 loc) · 1.11 KB

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: