Show three different random numbers on page load
index.html should look something like this:
- Add another
divfor a new row. Inside that, add two more
divs, each with a number inside.
Think about the DRY (Don’t Repeat Yourself) principle: how can you re-use code you’ve already written?
Every time the page loads, you should see three new random numbers. Huzzah!
Add files and push them to GitHub
Once you’re done, add your changes to git by using similar commands to the ones you used for the earlier tasks. If you want to add multiple files at the same time, you can do it like this:
git add index.html script.js