Lab 12: Loops
For this lab, we are demonstrating our knowledge of loops.
Challenges
Thhis lab was a bit confusing as I was unable to make it show up on my page at first. After fiddling around on w3schools and jsfiddle I think I was able to make it work.
Results
This is our final website! Here is a direct link to our javascript code Below is what we scripted.
Script Output
We figured out a fun way to find the factors of different numbers using javascript. If factors of 3, 5 or 7 show up in our list from 1 - 200, then a word will appear next to it.