Lab 8
In this lab we were assigned the html, css and javascript documents from a specific website and our task was to make the quote from the top of the page change on each refresh meaning that each time you would open the page a different quote out of 6 would appear. We used jQuery to help us with quotes and the function we used was a math expression (.random) with the quote property which we had to manually type like the original. In addition, we assigned a variable called quote that contained the quotes and we initialized it with the jQuery statements.


Comments
Post a Comment