Link to the Javascript Excercise:
http://imanas.shanghai.nyu.edu/~trp297/week3/cats.html
I think this assignment wasn’t that hard because it wasn’t such a huge jump. I feel like it builds on what we know from CSS and HTML which makes javascript a little bit easier. At first I was confused about the functions and how to write it out such as the document.getElementById(‘info1’).innerHTML=”Comm Lab”. However, from doing the exercise, I get a better understanding. Since I changed the button styles in CSS, I thought I can change the colour and size of the caption’s font in CSS as well. However, I realized that the caption of the first one doesn’t suppose to be changed. Therefore, I have to apply the change in the javascript. Ultimately, I learned a lot from javascript such as the buttons which are really cool. I’m glad that we covered Javascript as it would be beneficial to my comic project.