Lab 8 Reflection
For this lab, we had to find a way to get a new testimonial each time the user refreshes the page. This was quite easy to achieve since all I had to do was put all the testimonials into an array and create a randomizer which changes the quote upon refresh. The most difficult part of this lab was getting "math.floor" to work. Eventually, I got the function to work and a new quote was chosen each time I refreshed the page.
Comments
Post a Comment