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:
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: