Should I start JavaScript lessons without completing HTML & CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Should I start JavaScript lessons without completing HTML & CSS?

I've the general knowledge about HTML & CSS, in fact I think I'm pretty good at those two, but yet I don't have deep knowledge about them. So I was asking if I should complete them before starting JS?

10th Jun 2019, 5:15 AM
ShAfii
13 Answers
+ 23
Yes. If you have basic knowledge about html and css, you can go on to learn JS.
10th Jun 2019, 3:35 PM
Mitali
Mitali - avatar
+ 8
I just posted an answer on another post I think will be really relevant for you. https://www.sololearn.com/Discuss/1837553/?ref=app
10th Jun 2019, 5:44 AM
David Carroll
David Carroll - avatar
+ 8
Not necessarily needed. But before continuing the DOM lesson, you need to have small concept of HTML. Normally, I suggest you to continue to JS just after completing HTML and basics of CSS. Learn calmly.... Don't hurry...
10th Jun 2019, 5:49 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 8
JavaScript is just like a programming language like others.It can easily be learned as a programming language if you don't want to interact with front-end stuff. Then, you will need to learn concept such as DOM in JavaScript to interact with HTML and CSS. In a nutshell, yes you can, if you have a basic grasp over them, then it is completely fine to start with JavaScript.
10th Jun 2019, 5:58 PM
Ayush Sinha
Ayush Sinha - avatar
+ 7
I actually like the idea of learning Javascript separately from learning the DOM API. All output would reside in the browser console or, better yet, a terminal window using NodeJS. After learning vanilla JS, you can begin learning how to code against the DOM API to interact with the HTML elements and event model. I suspect, trying to learn Javascript and the DOM API simultaneously is where a lot of people conflate concepts and get overwhelmed. It's just a thought. 🤷‍♂️😜
10th Jun 2019, 5:42 PM
David Carroll
David Carroll - avatar
+ 6
It is not necessary. HTML is basically remembering tags and what to do with them. Easy enough. CSS is abit harder, but still relatively easy. Simply 'decorating' whatever is in the HTML tags. However, JS is abit more difficult. It will take you longer to learn, unless you understand it's concept straightaway. So go for it. No reason why you can't learn all 3 if them, especially sice they go hand in hand. 👍😁
10th Jun 2019, 5:30 AM
River
River - avatar
+ 6
In my opinion no I would say start with html and CSS first 😆
10th Jun 2019, 7:18 AM
Rohit
+ 4
The Cowboy He says he has a general knowledge if HTML and CSS.😁
10th Jun 2019, 7:24 AM
River
River - avatar
+ 4
Yes you could start JS before HTML and css....but its better or recomended to learn html then css after JS it will take a bit longer but its worth it. WEB HTML = (structure)images-logos-forms-headers-menus-etc. CSS= (style)colors-size-layout-postioning-shapes-etc. JAVASCRIPT=animations-interacativity-alerts-form validations etc.
12th Jun 2019, 3:32 AM
Alien AGT
Alien AGT - avatar
+ 3
Not advisable, need to get some knowledge of tags like div .?..🤔
10th Jun 2019, 2:04 PM
Sanjay Kamath
Sanjay Kamath - avatar
+ 2
Well, JS is for WEB anyway. So you have to interact with DOM using JS. So knowing basics of HTML and CSS is important.
11th Jun 2019, 8:09 AM
Vasily Mishanin
Vasily Mishanin - avatar
+ 1
Actually the main goal of JavaScript is the logic of your program so you can start learning JavaScript before HTML but you will get to a point where you need to make animations and interactions with the user, at that point you need to start learning HTML and CSS.
10th Jun 2019, 3:59 PM
Ali
+ 1
Not really, xq basically JS is completely interactive, now if In CCS, you're pretty good at layout it could be if
10th Jun 2019, 5:26 PM
David
David - avatar