Published on: 2026-03-16
I had some challenges, but asking in the community really helped!
Written by: Darryl `Ryuujisan32` Williams
Published on: 2026-03-16
Today I worked on more advanced topics such as adding JavaScript (JS) expressions in Astro. It’s written much like regular JS, so there’s not much fo a learning curve there. I worked through changing information that will get used often, and turned them into a JS variable. This will cut down on the amount of repeating myself I have to do. I also learned how to add global styling. Global variables are very important to not only reduce the amount of code you have to write, but also keeps things like styling consistent throughout the site / application.
It wasn’t always smooth sailing, but I’m enjoying building with Astro. I’ve been following along with the tutorial on Astro’s Website and their Discord community! I’ve learned a lot by using both.