+ 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?
9 Réponses
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
+ 1
Altair CSS is a reasonably short tutorial and JavaScript has more depth and math ..
+ 1
The recomnended sequence is always HTML - CSS - JS, then backend languages, like PHP, Python, etc.
+ 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.
0
Java Script
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
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
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.