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

How can I make my website responsive

Here's the code: https://replit.com/@Girish-kumarku5/Quadratic-equation-solver?s=app

31st Jan 2023, 12:35 PM
Girish Sahu
Girish Sahu - avatar
2 Answers
+ 3
Use relative sizes where possible. You can also make use of the viewport and media queries. You might be interested in the Responsive Web Design course on sololearn.
31st Jan 2023, 12:41 PM
Lisa
Lisa - avatar
+ 2
You can use css (media queries). However it’s often easier and more feature rich to use a framework (Zurb Foundation, Bootstrap are two popular frameworks). Here’s a quick example of a media query: @media only screen and (max-width: 600px) { body { border-left:20px ; } }
31st Jan 2023, 12:40 PM
DavX
DavX - avatar