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.
2 Réponses
+ 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
0
thanks