- It’s job is to tell an object [aka an “HTML element”) on your web page to DO something
UM I need you to note that I added a “;” to the end of that last bullet point without thinking! I think that’s officially the sign that coding is becoming cemented into my brain #win
alert(“Enjoy!”) <----- Java "humor," it's okay to laugh
- Actually have something HAPPEN when you click that button
- Send you an ALERT (aka pop-up)
- Make the minion “dance” when you hover over, and off of it
Be sure to click through those tabs to see the guts of my code. I know, pretty awesome, right?
** Note: I’m not actually 100% sure what would happen if you were to be seeing this on a smart phone. Haven’t gotten there yet! So, if you’re thinking I’m a complete weirdo talking about minions and dancing, go pull this post up on your computer ;)