this post was submitted on 04 Jun 2024
15 points (89.5% liked)
Programming
17537 readers
181 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I would start with the official documentation/guides. https://handlebarsjs.com/guide/#what-is-handlebars
It's not overly complicated to learn if you already know some Javascript / HTML / CSS. If you don't, then maybe look up some tutorials on FreeCodeCamp.
Would you recommend I get the basics of JavaScript/HTML/CSS before diving in? Or is it something I can figure out on the way?
HTML is pretty straightforward so just understanding the very basic stuff is probably all you need. CSS is where html gets any challenge it might have.
CSS is weird because it's very "easy" so "real developers" kind of object to learning it, but the truth is, if you gave any of them a layout design, they probably couldn't build it. There are tools like tailwind to help, but, IMO, tailwind just helps you avoid learning css's vocabulary, but you just replace it with having to learn tailwind's vocabulary.
JavaScript on the other hand is a "real" programming language, though decidedly quick-n-dirtier than other languages. It lets you be a lot more sloppy. (Tbh it's a lot more forgiving than css!). As a result, it lacks the elegance and control that "real developers" like -- and, as most people's first language, it lets newcomers get into bad habits. For these reasons, JavaScript is a bit derided -- but, unlike CSS, most developers can't avoid it.
There are a few key ideas in JavaScript that, once you understand them, things make a lot more sense. (I won't get into them now, since it doesn't sound like you're at the point where that kind of clarity would help, but, when you are, come on back here and make a post!)
TLDR: HTML is definitely something you can just pick up along the way. JavaScript is a real language that will take a little while to feel comfortable with, and it will take a career to master. CSS will never be easy, so don't let it hold you back.
That is a great write up. Thank you for that. It was incredibly helpful to know.
Assuming the project uses them, yes. Might want to check with the project owner to be sure before jumping in.
I checked in with them. They said a general knowledge of at least HTML will help greatly so I'll start there.