DEV Community

Aaron McCollum
Aaron McCollum

Posted on • Edited on

3 1

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.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more