Lab 22 Reflection Journal
For this lab we not only played around with the JavaScript console again but we also applied JavaScript which would change the CSS of an element once clicked for this instance it happened to be the p tag which held the words "xBREAKxDOWNx". By using the query Selector for the p tag I was able to create a function which would then be activated when the p tag was clicked and would changed the size and color of the words. In the JavaScript console there would be a display of names and a count which display how many times a name was display which was done by using the console.count attribute.
The skills gained from the lab especially manipulating elements using JavaScript will be very useful to use in future work whether it be labs or projects and even my own portfolio. I think I will definitely try to add it to my work in order to make my work more interactive to the user and a better experience in general.
Comments
Post a Comment