Friday, November 13, 2015

Lab 8

This lab was about making a list of prime numbers between 0 and 1000 by using Javascript. I used Adobe Dreamweaver and JavaScript for this lab. The lab was mostly done in the external JavaScript for this lab. I started off by typing in the code in a JavaScript document for this lab and then I used the function, "findPrime", to show prime numbers on a web page. I also used the function, "table( )", to create a table in which all prime numbers between 0 and 1000 are listed. By accomplishing these mechanisms, I was able to put all the prime numbers between 0 and 1000 in a table. At the conclusion of the lab, I reviewed my whole lab to see if there was anything that's needs to be troubleshooted.

As a result of this lab, I learned that JavaScript can generate numbers as well as tables. In the future, I can use the skills that I have acquired from this lab when I am urged to create a list of prime numbers or to work with mathematics in a webpage.




No comments:

Post a Comment