How can I make a website responsive | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I make a website responsive

17th Sep 2020, 1:46 PM
Alli Toheeb Ishola
Alli Toheeb Ishola - avatar
3 Answers
+ 2
If u want to make responsive website then you have to know javascript and jQuery very well
17th Sep 2020, 1:52 PM
ANKIT
ANKIT - avatar
+ 2
How can I make the web fit to any screen size
17th Sep 2020, 1:53 PM
Alli Toheeb Ishola
Alli Toheeb Ishola - avatar
+ 2
hey, you would need media queries to solve this problem. When you're designing your site, you are making it for just your monitors resolution, so you gotta see how it looks like in other resolutions, open f12 developer tools in chrome and adjust the size of console in different sizes and see where it starts to get messy, suppose that 600px is where header's height starts to get too short for the content inside @media (max-width: 600px) { header { height: 300px; } } This code would work when screen width is 600px resolution or below
17th Sep 2020, 2:23 PM
maf
maf - avatar