0

how they can put html, css and javascript separate, when you need all 3 at a same time?

I started just html, but in there you have css and java.... you can not understand all if you just go over the questions, if you want to learn you have to do it all at the same time...

10th Nov 2017, 6:03 PM
Sasa Mijin
Sasa Mijin - avatar
4 Answers
+ 1
In order to use all 3 languages together, you need to create an html file and note that java script to work need to be within the html file by opening the script tags which will contain the java script. But for CSS you need to create a separate CSS file and then on the html <head> insert a link <link href="example.css" rel="stylesheet"/> which will link this two files together.
10th Nov 2017, 7:21 PM
Fortune Mbulazi
Fortune Mbulazi - avatar
+ 1
It becames simple when then files are separated, because coding everything together makes the code too long and you may even get confused on your onw coding. But if you feel like you can do it all together, it possible bro.
10th Nov 2017, 7:28 PM
Fortune Mbulazi
Fortune Mbulazi - avatar
0
yes, I did that... but my question is... why separate html, css course? when you cand do without one another...
10th Nov 2017, 7:23 PM
Sasa Mijin
Sasa Mijin - avatar
0
you still do not understend my question... tou start course like html and you start learning... but then it comes to css and javascript... but if you do not know basic css and javascript you can not realy finish the coures and get you sertificate. you can but you do not know for real, you just finished for braging not for learning...
10th Nov 2017, 7:35 PM
Sasa Mijin
Sasa Mijin - avatar