[ANSWERED]CSS or JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

[ANSWERED]CSS or JavaScript?

I just finished learning HTML and I intend to learn both CSS and JS next, but I don’t know which one I should learn first. Any suggestions?

30th Jun 2022, 9:25 PM
Altair
Altair - avatar
9 Answers
0
It is better to learn CSS first It is possible to do something related to CSS in learning JavaScript and you don't know what it is After you learn JavaScript, take a look at EcmaScript updates BigInt should be useful You can use our published codes to progress You can create a programming language with JavaScript But it is better to start CSS first Because you may not understand some things in JavaScript tutorials I started with html first, then css, then kotlin,then java,then python,then javascript,then c,then c++,then c#,then php,then xml,then android,then assembly
6th Jul 2022, 8:32 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar
+ 1
Altair CSS is a reasonably short tutorial and JavaScript has more depth and math ..
30th Jun 2022, 10:17 PM
BroFar
BroFar - avatar
+ 1
The recomnended sequence is always HTML - CSS - JS, then backend languages, like PHP, Python, etc.
1st Jul 2022, 1:16 AM
Emerson Prado
Emerson Prado - avatar
+ 1
aliz6398suisiTerminatorEmpireBot CSS and JS have very different purposes. There's no point in comparing features. We all recommend HTML - CSS - JS is the web document structure itself. First, we learn to code content, then format, then interation. Also, part if the purpose of JS is to modify content and format. It makes more sense to learn it after you learn content and format. That's why I asked why you recommend JS before CSS.
5th Jul 2022, 1:14 AM
Emerson Prado
Emerson Prado - avatar
0
Java Script
4th Jul 2022, 10:59 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar
4th Jul 2022, 11:21 PM
Emerson Prado
Emerson Prado - avatar
0
JavaScript has more features than CSS In fact, all programming languages ​​are very similar to JavaScript But they are not quite the same HTML & CSS not a programming language! In fact, you can run CSS codes inside JavaScript codes I worked with the following languages HTML,CSS,JavaScript,PHP,Python,Java,Kotlin,XML,C,C++,C#,assembly
4th Jul 2022, 11:23 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar
0
My used all programming languages In JavaScript document.getElementById("p").style.backgroundColor = "gold" In CSS = #p{background-color:gold;} This was just an example of setting the background color With JavaScript, you can change the entire CSS, but it requires more code Every language has advantages and disadvantages JavaScript has more features than any other language But maybe it's better to start CSS first In fact, by learning JavaScript, you learned 80% of the following languages Python,C++,C#,C,PHP,Java,Kotlin,Assembly,Basic All these languages ​​have 2 differences 1.Syntax 2.Possibilities JavaScript cannot connect to the database or operate on files So there is no best programming language But JavaScript has the most possibilities HTML & CSS not a programming language
6th Jul 2022, 7:09 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar
0
aliz6398suisiTerminatorEmpireBot Yes, JS can change both HTML and CSS. But we have to learn HTML and CSS to know what we're changing. Besides, it doesn't make much sense to use a programming language to set static content or format. It makes the overall code more complicated and mixed up. Then, less mantainable. The rule of thumb is each thing where it belongs.
6th Jul 2022, 8:16 PM
Emerson Prado
Emerson Prado - avatar