+ 3

The page doesn't feet other platforms

Hey sololearners, I made a project in sololearn[link bellow] and I wanted to see how it would look like in Chrome but the buttons aren't at the place they supposed to be. How can I fix that? https://code.sololearn.com/WE781z3Z78Jb/?ref=app

27th Aug 2023, 5:42 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
26 ответов
+ 1
The link works, the application does not recognize the link https://code.sololearn.com/WtY04enmKB4F/?ref=app
28th Aug 2023, 6:16 AM
MalKon
MalKon - avatar
+ 1
Your HTML looks good on mobile. Where should buttons to be placed?
27th Aug 2023, 7:15 PM
Václav Dostál
Václav Dostál - avatar
+ 1
Ah then you should create few @media rules in yoir CSS for different screens sizes.And you should modify size of your f.e title(heading) and button to fit perfectly on screen. f.e @media (max-width: 768px) { write your rules here }
27th Aug 2023, 8:26 PM
Samir Krasnic
Samir Krasnic - avatar
+ 1
But thank you soooo much bro for helping me! 🙏
27th Aug 2023, 8:41 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
+ 1
Much better! Thank you!
28th Aug 2023, 11:52 AM
Faraz Haghbayan
Faraz Haghbayan - avatar
+ 1
Faraz Haghbayan For responsive web design, I would recommend you to use `vw`, `vh`, `vmin`, `vmax`, `em` and `rem` CSS units.. Also, you can set your media rules for different devices.
28th Aug 2023, 12:38 PM
Dragon RB
Dragon RB - avatar
+ 1
Should all the devices have the same rules? For example all on 600px
28th Aug 2023, 12:41 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
I know but it does only in sololearn and not in chrome unless you zoom 73px in
27th Aug 2023, 7:24 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
how does it look on chrome?Where are the buttons?
27th Aug 2023, 7:33 PM
Samir Krasnic
Samir Krasnic - avatar
27th Aug 2023, 8:02 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
Are the buttons in the places that they are meant to be? For me not un less I zoom in 73px
27th Aug 2023, 8:03 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
sry cant see the diference here on sololearn and on chrome.Where exactly do you want to have your buttons.And by buttons you mean on the hamburger icon which overlaps title or on the togle menu buttons. Btw if you want to have similiar achieve on all browsers you first should normalize your CSS.
27th Aug 2023, 8:13 PM
Samir Krasnic
Samir Krasnic - avatar
0
Yes exactly! The hamburger icon
27th Aug 2023, 8:21 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
It does not fit its place like in Sololearn
27th Aug 2023, 8:23 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
And what do you mean by normalize CSS?
27th Aug 2023, 8:24 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
Ohhh ok! I will try that!
27th Aug 2023, 8:30 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
0
It is kinda boring part but if you want to make a webpage responsive you have to do it.Or you can use bootstrap for easier manipulation.
27th Aug 2023, 8:34 PM
Samir Krasnic
Samir Krasnic - avatar
0
I have been seeing "bootstrap" many times in the codes but I don't know what that basically is... Time for researching!!😂
27th Aug 2023, 8:41 PM
Faraz Haghbayan
Faraz Haghbayan - avatar
27th Aug 2023, 9:00 PM
MalKon
MalKon - avatar
0
MalKon I think the link does not work
28th Aug 2023, 3:52 AM
Faraz Haghbayan
Faraz Haghbayan - avatar