Need Some Advice
from AlexanderTheGreat@lemmy.world to programming@programming.dev on 04 Jun 03:42
https://lemmy.world/post/16157803

I was asked to help out with someone’s git project. They said if I could learn handlebars that would help a lot. What is the best way to learn this? What other languages do I need to use it? Any recommendations for videos or sites to learn from?

#programming

threaded - newest

liliumstar@lemmy.dbzer0.com on 04 Jun 03:53 next collapse

I would start with the official documentation/guides. 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.

AlexanderTheGreat@lemmy.world on 04 Jun 03:59 collapse

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?

liliumstar@lemmy.dbzer0.com on 04 Jun 04:44 next collapse

Assuming the project uses them, yes. Might want to check with the project owner to be sure before jumping in.

AlexanderTheGreat@lemmy.world on 04 Jun 12:06 collapse

I checked in with them. They said a general knowledge of at least HTML will help greatly so I’ll start there.

jeremyparker@programming.dev on 04 Jun 13:54 collapse

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.

AlexanderTheGreat@lemmy.world on 04 Jun 15:57 collapse

That is a great write up. Thank you for that. It was incredibly helpful to know.

Kissaki@programming.dev on 04 Jun 06:07 collapse

I would learn on the project, and use the official documentation to look up what it is, how it works, and how to solve what you want to do.

AlexanderTheGreat@lemmy.world on 04 Jun 12:07 collapse

Looks like I’ll need to know some HTML first. Any recommendations on where to learn?

MyNameIsRichard@lemmy.ml on 04 Jun 12:52 next collapse

This course is good

AlexanderTheGreat@lemmy.world on 04 Jun 13:44 collapse

I’ll check it out. Thanks.

Kissaki@programming.dev on 04 Jun 20:37 collapse

Mozilla has good introduction guides into web development developer.mozilla.org/en-US/docs/Learn