Lab 5 Reflection


For Lab 5 we were required to create 5 buttons using HTML, each button triggers a unique animation that we would animate using JQuery. I first started by giving the element that I would be animating, which for me was a box, an ID so that I can call it. In a new javascript file, we used a JQuery selector to than select that ID for the object of animation to animate it. Although, before we can trigger it we must go back into the HTML and create the 5 buttons, each with a unique ID name, so that we can create an event listener for each button to check if the user had clicked any of them. The code would work like this, the moment the user clicked on a button a specific animation would play unique to that button.  

Comments

Popular posts from this blog

Difference between 300ppi and 72ppi

Lab 6 Reflection

CTE Expo