+ 9
Can I make website only using JS....?????
125 Answers
+ 16
No, you can't. HTML is the bare minimum to make a website.
About what Ginfio posted, that's not pure JavaScript, but it's HTML inside of JavaScript, so he did use it.
+ 8
Well, if you create every single html tag with js, then why not?
But, why do that when you can just use html?
My answer: You can, but it is not worthing, because you spend more time than making a website in the normal way. (With html,css and js)
+ 7
Brainy Batein Who told you that C use to make website. I never heard. I heard about c# which is use to make web application.
And for other guys without using CSS and HTML tags in JavaScript we cannot create full website. If somehow you make the website but it will not look better.
If you will not use Html tags then how you will create paragraphs or headings or division or sections using javascript and also for better look and feel what will do with JavaScript. Here you also need CSS.
So conclusion is that we cannot create website without using HTML and CSS in JavaScript.
Aastha You are new here so please before knowing that what is going on don't post unnecessary comments in any question.
Obi Chinonso🇳🇫🇳🇬 You have completed all courses so we can think that you know better about this place. So please don't reply like that 'keep shut' Because this is a learning place and we are friends here.
+ 5
Yes, obviously, but you have to use server-side NodeJS or ReactJS to actually achive something with this.
+ 5
Ginfio but you used html tags in the js
+ 5
You can make website on html(minimum) css(decoration) and js
+ 5
Aymane Boukrouh yeah. 😂
I imagine a js only website (in the case it could be done) would be some sort of "Website Pocket Edition". Some combination of functions to make the website, and the one writing js, just has to change the parameters of the function(s) to get another type of website.
+ 4
I don’t know what the drawback would be, but I just made one just to prove it to you guys:
NO HTML | CSS website:
https://code.sololearn.com/WEZduR488QVQ/?ref=app
+ 4
You need html.
+ 4
Hmmmm
+ 4
People don't talk here. He just asked simple question and you guys are mostly doing chat here. This is not a right place to talk.
+ 4
Please we are in learning place so Street things keep it on the street good Obi Chinonso🇳🇫🇳🇬
+ 4
abdumalik hojimirzaev Who said JS is Programming Language and not use to make website?
I have doubt on you that you are web developer.
+ 4
Mirielle🐶 yes, but by using document.createElement, you're actually using html elements line div, h1, p... also, by using element.style " something; then again you're using css syntax and elements. Both of these require html and css knowledge, someone who knows javascript will not be able to do it without html and css knowledge.
I don't know if you understand what I mean, but when I say you can't, I don't mean don't make index.html and style.css documents, but I mean don't use anything related to them, only plain text, no elements, no style..
+ 4
🔥 Lucifer 🌷 by learning that piece of cake HTML you are learning using HTML 😂. Yes HTML is super easy, I never said the opposite, but it is still necessary to makr a website. Knowing the tags and the DOM means you know HTML
+ 3
Yes you can make static website with js only but somehow you need Html to load js.
+ 3
Keep following me I will post a code maybe tomorrow about this
+ 3
I will remove css good Aymane Boukrouh
+ 3
Show me
+ 3
What's the different