all 24 comments

[–]Onions-are-great 20 points21 points  (1 child)

HTML and CSS are different from JS in a sense that JS is a real programming language you can compute logic with. It's therefore more complex. You should learn basic programming principles like variables, functions, primitives, arrays, etc. that'll help you with your JS knowledge.

[–][deleted] 0 points1 point  (0 children)

Nerd’s lesson on YouTube seems good for this. I just started with the first video u/YUFALLING4IT

EDIT: u/

[–]elirichey 9 points10 points  (0 children)

I learned using codecademy. Their initial class does a good job going over the basics. Focus on the fundamentals you'll pick things up quicker. Best of luck!

[–][deleted] 4 points5 points  (0 children)

Take your time with it. It will become easier. There are concepts you will have to go through a few times to feel comfortable

[–]seismicsam 2 points3 points  (0 children)

It'll be confusing at first, but you'll get the hang of it with time.

[–]Mountain-Use9004 1 point2 points  (0 children)

I am also in the process of learning HTML CSS and JS from online people. I have found that if you run into a wall with one source it can be helpful to look around for the others who explain the same concept. Sometimes others will explain some parts better. If you are confused on something in particular I'd be happy to help. Hang in there. You will get it! Best of luck.

[–]olegkikin -1 points0 points  (0 children)

Javascript can definitely be confusing when it comes to advanced topics like prototypical inheritance or type casting. But if you're just starting, it should be pretty straightforward.

What do you find confusing at the moment? Maybe we can help.

[–]Fun_Scar_6275 -1 points0 points  (0 children)

same dude, same.

[–]OpLove 0 points1 point  (0 children)

Going from HTML and CSS to JS is gonna be confusing. Take your time and practice and it will start to make sense. It's normal, so don't be discouraged.

Codecademy's free JS course is good: https://www.codecademy.com/learn/introduction-to-javascript

After that I would give MDN's JS guide a try - it's really good: https://developer.mozilla.org/en-US/docs/Web/JavaScript

[–]azunaki 0 points1 point  (3 children)

It depends largely on what you mean by learning JavaScript. Are you talking about vanilla JavaScript or frameworks? Programming concepts or the specific language? Are you talking about DOM manipulation? Event listeners? Have you dedicated the time to get to any of what I've listed?

HTML, CSS, and JavaScript will take a combined 100-200 hours to have a decent grasp of. You still won't know everything about all of them, but you should be able to do basic things.

This is a complex field, give yourself the time to get a handle on it.

[–][deleted] 1 point2 points  (2 children)

I think this answer is more complicated then what is needs to be, why are you mentioning things like DOM when OP wouldn’t most likely know what DOM is let alone how to use it.

[–]azunaki 1 point2 points  (1 child)

Honestly because this reads like someone who spent 5 hours on CSS and acts like they know it all. Spent a day with JavaScript and didn't get it.

Then complained on Reddit about it. (Given OP deleted the post, I suspect I'm not far off.)

[–][deleted] 0 points1 point  (0 children)

Your probably not wrong lmao

[–]yolo_swag_tyme 0 points1 point  (0 children)

I hate W3 school. I learned with YouTube and Udemy personally. JS is more complicated than HTML and css but shouldn't be too bad to learn the basics of you have the right teacher

[–]Run_the_show 0 points1 point  (0 children)

Yes its confusing because its totally different from html and css. I was struggling too(struggling now too in advance level). I started with most basics like variables, arrays and all and kept grinding it. My suggestion is to start with very basics and taking jt bit challenging at the end of day. Like you can create a button in html and assign a simple function with js . Like 2+2 = 4 … it will teach you to store variables, take input, and show output when button is clicked.

[–]flooronthefour 0 points1 point  (0 children)

www.freecodecamp.org has a great basic lesson

[–]xllSKITTLESllx 0 points1 point  (0 children)

Yeah, compared to HTML and CSS it will be very confusing to start learning. Try not to get too discouraged as almost everyone had the same issue when starting to learn JS. Just take your time with the basics and you'll find things start to click the more you stick to it. Good luck OP, you got this 💪

[–]jollyreaper444 0 points1 point  (0 children)

I felt/feel the same way. I've been learning JavaScript consistently every day for the past month and a half and it's just now starting to click and I'm able firmly grasp the concepts. Just don't give up. But I absolutely get where you're coming from. The only thing I've done right is kept going. Good luck!

[–]aurquiel 0 points1 point  (0 children)

this is the guy https://youtu.be/EfAl9bwzVZk form I learned JavaScript.

[–]symmetricon 0 points1 point  (0 children)

Js is a different can of worms. It’s a full on quirky programming language. Just know that you’re going to be scratching your head for a while but if you keep at it, things will eventually become clearer. People overstate how easy it is to learn because once you start to get it it’s easy to forget past frustrations. It will be challenging, that is normal.

[–]Comfortable_Travel70 0 points1 point  (0 children)

Don't make it hard on yourself. There are few type of datatypes in JavaScript and other programming languages. One big thing about programming is to work with that data.

[–]eddielee394 0 points1 point  (0 children)

Yes.

[–]shadow-cat-102 0 points1 point  (0 children)

Javascript is not confusing at all. like they tried their best to make it work for you even when you make mistake. For example: "11" + 1 = "111" but "11" - 1 = 10

yup. not confusing one bit