0

Is JavaScript an alternative to the html

If yes then r we required to learn CSS with JavaScript to conter HTML with CSS or JavaScript alone I sufficient

24th Mar 2019, 3:56 PM
Pratyush Asthana
Pratyush Asthana - avatar
2 Answers
+ 1
It’s not an alternative. You could write a whole web page with javascript, but the javascript still has to output html code to make the page. Either way, css isn’t a requirement, just a good thing.
24th Mar 2019, 7:56 PM
Mike
Mike - avatar
0
//CSS is only for styling web documents created on html, where if you want to handle html events you need to learn javascript, like click event, alerts etc
25th Mar 2019, 5:27 AM
Sudarshan Rai
Sudarshan Rai - avatar