DEV Community

Aaron McCollum
Aaron McCollum

Posted on • Edited on

My First JavaScript Page

Well y'all, I've made my first JavaScript page that is outside of class assignments. It's fairly simple, but it was nice to see I could do something on my own using things I've learned from the class.

Link: https://codepen.io/aaronmac/pen/PoPEvKO

I decided to attach JavaScript functions to the < button > elements on my HTML page and identify them with IDs. I know that using classes is the preferred way of structuring HTML, but I have not figured out the syntax for that in JavaScript (my class has shown it but has not really explained how to do it).

At the moment, I'm pretty confident with HTML and CSS. I have not had a lot of practice yet with writing JavaScript functions for web development, but the goal for the next few days is putting about 7-8 hours into the class itself to better understand it and review what I've already done.

Until next time, stay safe out there!

Cheers, y'all.

Top comments (0)