+ 2
How html css nd js run together... Pls say
pls help me
5 odpowiedzi
+ 8
In the html file you have to do like this 👇
(html code)
<script>
Js code
</script>
<style>
(css code)
</style>
this format is used in html files for web codes.
but in sololearn there are tabs for html css js you can code in different tabs of sololearn or use script and style tag in html tab .
+ 1
I'll explain it with reference to human body:
Html acts just as skeleton then CSS for styling act as meat and shape All this is nothing without JS the Central nervous system that controls body's functions
+ 1
THANK U EVERYONE..THANK U VERY MUCH
+ 1
CSS FILE(.css) AND JAVASCRIPT FILE(.js) ARE LINK TO HTML FILE(.html).
0
my doubt my if we r writing codes separately... THEN HOW TO RUN THEM altogether.. IN COMPUTERS HOW WILL WE CREATE SAME FILE....WITH WHAT EXTENSION WILL IT BE CREATED