Can I make website only using JS....????? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Can I make website only using JS....?????

27th Dec 2019, 7:10 AM
Abdul Mateen Qureshi
120 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.
27th Dec 2019, 10:07 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 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)
27th Dec 2019, 1:55 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 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.
28th Dec 2019, 2:27 PM
A͢J
A͢J - avatar
+ 5
Yes, obviously, but you have to use server-side NodeJS or ReactJS to actually achive something with this.
27th Dec 2019, 9:01 AM
🈂️Toma
🈂️Toma - avatar
+ 5
Ginfio but you used html tags in the js
27th Dec 2019, 9:04 AM
Anthony Tannous
Anthony Tannous - avatar
+ 5
You can make website on html(minimum) css(decoration) and js
28th Dec 2019, 3:26 PM
OcMuNog🐙
OcMuNog🐙 - avatar
+ 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.
28th Dec 2019, 6:33 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 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
27th Dec 2019, 7:57 AM
Ginfio
Ginfio - avatar
+ 4
You need html.
28th Dec 2019, 1:47 AM
Sonic
Sonic - avatar
+ 4
Hmmmm
28th Dec 2019, 7:09 AM
ycsvenom
ycsvenom - avatar
+ 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.
28th Dec 2019, 1:16 PM
A͢J
A͢J - avatar
+ 4
Please we are in learning place so Street things keep it on the street good Obi Chinonso🇳🇫🇳🇬
28th Dec 2019, 1:28 PM
ycsvenom
ycsvenom - avatar
+ 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.
28th Dec 2019, 4:27 PM
A͢J
A͢J - avatar
+ 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..
28th Dec 2019, 5:38 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 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
28th Dec 2019, 6:28 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 3
Yes you can make static website with js only but somehow you need Html to load js.
27th Dec 2019, 3:25 PM
A͢J
A͢J - avatar
+ 3
Keep following me I will post a code maybe tomorrow about this
28th Dec 2019, 1:54 AM
ycsvenom
ycsvenom - avatar
+ 3
I will remove css good Aymane Boukrouh
28th Dec 2019, 4:30 AM
ycsvenom
ycsvenom - avatar
+ 3
Show me
28th Dec 2019, 6:54 AM
ycsvenom
ycsvenom - avatar
+ 3
What's the different
28th Dec 2019, 6:55 AM
ycsvenom
ycsvenom - avatar