R
R
Real_PGM2019-04-22 21:36:45
IT education
Real_PGM, 2019-04-22 21:36:45

Is it worth learning Javascript before HTML and CSS?

I am in the early stages of learning front-end. Soon I will have a course on front-end development, which includes only layout. The question is, can I start learning javascript now and then make up for the gap in HTML/CSS with a course? I already have some basic knowledge of these two languages.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TCloud, 2019-04-22
@Real_PGM

It's a triple course, HTML > CSS > JavaScript. It's in that order.
HTML and CSS are not languages.
You won't understand how to work with HTML DOM in JS if you don't understand HTML. In addition to everything, without understanding html, you will shove divs into everything, and this will turn out badly for you (read about semantics).
And most importantly, from the frontend, you can start learning css and all that, but most often the employer will require you to know preprocessors (Sass, Less, etc.). From here it follows that it is worth looking in the direction of linkers such as Gulp, and this is NodeJS, which again will push you against JS.
So you will always have time to learn JS ahead of the engine, but the main convention and standards should be taught first.
And all this is just a small part of the endless and raging ocean of frontend :D
Here are links to free courses. You are obliged to read additional information , you will not manage with one course.
Studying HTML&CSS on your own?
Lear JavaScript Secrets of Gulp 3
semantics
for the smallest it will simplify your life several hundred times and speed up the development of
Sass by 1000 times
Tim Bernes-Lee read about this guy too

A
Arseny, 2019-04-22
Matytsyn @ArsenyMatytsyn

If you look at JS as a classic addition to layout, then you need to learn it after the layout base, i.e.:
HTML → CSS → JS
The goal is simple - JS manipulates data and the DOM model.
If we consider JS as a separate PL, then we can catch up with the layout (HTML → CSS) if necessary after.
Since in this case there is no connection with HTML and CSS.
The first option is a classic, familiar and easy to understand for the frontend. The second is a node.js type case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question