Can we make a webpage only using HTML and CSS ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Can we make a webpage only using HTML and CSS ?

I am going to develop my own site and I am only familiar with HTML and CSS.Is it really necessary that I must know JS to develop my site?

21st Dec 2016, 2:51 PM
Munindra
Munindra - avatar
37 Answers
+ 23
HTML and CSS makes great websites as far as static pages are concerned. JavaScript adds polish and helps you handle events that require the page to change on the fly. If you do not want to learn JavaScript or jQuery you m ight consider using a framework such as Bootstrap, which handles them for you in some cases. Also, no JS means that the page cannot make any "decisions" - your content is static which means if you write something like a blog you have to copy, paste, and fill the template for each page. In a long run you don't want that because if you decide to change something on the interface - say, you want to add new item to the navigation bar - now you have to go and change it everywhere one by one. A remedy for that particular pain is having a sone logic in your code which loads data to a single template based on paeameters like IDs. For that you can use client side or server side JavaSctipt, or programming languages like PHP, Python, Ruby, or C# So yes, you can make a website with no JS. It should do fine for small website with little content like landing pages or simple portfolios. But if you want to wow people or have some dynamic content you need to think about learning JS.
21st Dec 2016, 4:03 PM
Dawid Borusiak
Dawid Borusiak - avatar
+ 14
Yes
22nd Dec 2016, 1:16 PM
Giorgi R.
Giorgi R. - avatar
+ 6
You can learn SCSS!
22nd Dec 2016, 4:01 AM
$machitgarha
$machitgarha - avatar
+ 5
Yes, you can. JS makes your website kinda more interractive but u can totally do without. Start from the bottom bro.
21st Dec 2016, 2:55 PM
CHMD
CHMD - avatar
+ 5
Yes. It's perfectly OK if you're not going to need an interactive page.
21st Dec 2016, 3:21 PM
Juan Pablo Giuttari
Juan Pablo Giuttari - avatar
+ 5
Yes you can make a website with HTML and CSS but you will lacking in JAVA SCRIPT if you need add the interactive to your website
21st Dec 2016, 7:25 PM
Boual Ahmed
Boual Ahmed - avatar
+ 4
I think you can, JS is used to make it interactive as to my knowledge, I am not very sure as I am a beginner as well
21st Dec 2016, 2:54 PM
iStealApples
iStealApples - avatar
+ 4
Javascript is needed for interactivity with site users. Apart from that alone HTML and CSS would make a great site
21st Dec 2016, 4:35 PM
Ifeanyichukwu Otiwa
Ifeanyichukwu Otiwa - avatar
+ 4
you can make Static websites using css and html
22nd Dec 2016, 9:08 AM
sanjay singh
sanjay singh - avatar
+ 3
Can I use PHP instead of Javascript?
22nd Dec 2016, 11:11 PM
K4NE
K4NE - avatar
+ 2
you can do drop-down menu using css and html.
21st Dec 2016, 3:27 PM
Marcin Florczak
Marcin Florczak - avatar
+ 2
yes you can, there has lot of nice website using html & css. But unfortunately it will be a static website, that means not dynamically move/change.
21st Dec 2016, 4:35 PM
Delwar Hussain
Delwar Hussain - avatar
+ 2
html are css are for making the place look cool , but Javascript make the whole thing come to life, its just another language that you wish would have learned years ago. get stuck into it and find the fun
21st Dec 2016, 6:24 PM
StephenPaulNolan
StephenPaulNolan - avatar
+ 2
cool
22nd Dec 2016, 12:42 AM
mohammed elbochihi
mohammed elbochihi - avatar
+ 2
yes you can
22nd Dec 2016, 9:28 AM
Ritesh Kumar Gupta
Ritesh Kumar Gupta - avatar
+ 2
Yes, you can but you would have static web pages, i.e., you would get the same view each time you would open the page.....
22nd Dec 2016, 10:03 AM
Riganb
Riganb - avatar
+ 2
using only HTML nd CSS gives u space to create a static webpage with ultimate styles , with look and feel feature, it is advisable to also create a webpage using JavaScript, for an interactive webpage !
22nd Dec 2016, 1:55 PM
Sanjaydeep G
Sanjaydeep G - avatar
+ 2
Yes you can but but the web site is not dynamic
22nd Dec 2016, 7:55 PM
Riyaz Sheikh
Riyaz Sheikh - avatar
+ 2
you must learning JS to make your interactive Website user
23rd Dec 2016, 2:20 AM
Fardony Rozi Saputra
Fardony Rozi Saputra - avatar
+ 1
Yes
22nd Dec 2016, 4:50 PM
Yassine Grib
Yassine Grib - avatar