Is there a way to put HTML5, CSS & JAVASCRIPT IN ONE FILE OR FOLDER and open it up on the browser (chrome ,safari...) . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Is there a way to put HTML5, CSS & JAVASCRIPT IN ONE FILE OR FOLDER and open it up on the browser (chrome ,safari...) .

Because or so that I can see it's result or output . It would be great if you answer with the fact in mind I have a windows 7šŸ˜Š

30th Nov 2018, 8:45 PM
Moin Mohammed
Moin Mohammed - avatar
6 Answers
+ 5
If you need to put HTML CSS and Java Script in one file you will use Internal CSS and Put your Java Script codes into Script tags
2nd Dec 2018, 4:38 AM
Gokul S
Gokul S - avatar
+ 2
You can. Using external css file is recommended. Instead of inline and Internal ways. Just use the link tag
14th Dec 2018, 9:42 PM
Me&You
Me&You - avatar
+ 1
Setup for one folder: https://code.sololearn.com/W326FKwAKXtN/?ref=app Then open the html file with browser to view output.
30th Nov 2018, 9:54 PM
Janningā­
Janningā­ - avatar
+ 1
Yes it is very possible. You have to use the internal styling for the CSS then start writing your JavaScript at the bottom, in the body of the file.
2nd Dec 2018, 3:51 PM
Prince Nna
Prince Nna - avatar
0
yes .. you can use internal CSS .. and then you can use JS
10th Dec 2018, 10:19 PM
Ali Hamdi Khalaf
Ali Hamdi Khalaf - avatar