0

How do i be able to run the codes of html, css and javascript on the sololearn codes library on my pc ??

i am wanting to run certain codes of web programming from codes section on my pc but i am unable to to so.

19th Dec 2016, 2:16 AM
Pratyush Singh
Pratyush Singh - avatar
2 Respostas
+ 4
You just need a text editor (like notepad, notepad++, ...), for the html code you have to save it with the extention .html, and lauch it after by double clicking in it or draging and droping it into your browser. If you want to include CSS stylesheet to it you have to include it into the html head tag like this : <link rel="stylesheet" type="text/css" href="example.css">, open the editor, write your css code into it and save it in the same folder as your html and name it example.css (dont forget the .css extention). And if you want to add an javascript script to your project, you have to include it into the html head tag like this : <script src="example.js" type="text/javascript"></script>, open the editor, write your javascript code into it and save it in the same folder as your html and name it example.js (dont forget the .js extention) Hope it will help you
19th Dec 2016, 2:36 AM
Amine M. Boulouma
Amine M. Boulouma - avatar
0
thanks
30th Dec 2016, 3:16 PM
Pratyush Singh
Pratyush Singh - avatar