Comment on Ask HN:Can I do web development using only ONE language(no HTML/CSS/*JS),please?Comments−newsbinator5yYou can generate web pages writing only javascript to create elements.https://developer.mozilla.org/en-US/docs/Web/API/Document/cr...It's really roundabout and pointless, but you can do it.You can avoid having to write any HTML or CSS, and only write javascript.I suppose the minimal html web page would be:<script src="./main"></script>That's all the HTML you'd have to write, and the rest would be javascript inside main.js
Comments
You can generate web pages writing only javascript to create elements.
https://developer.mozilla.org/en-US/docs/Web/API/Document/cr...
It's really roundabout and pointless, but you can do it.
You can avoid having to write any HTML or CSS, and only write javascript.
I suppose the minimal html web page would be:
<script src="./main"></script>
That's all the HTML you'd have to write, and the rest would be javascript inside main.js