Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

HTML5 and CSS

@Aritra-Mazumdar

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


This works almost fine in a desktop browser, but in mobile it messes up. The same occurs when i scale down the browser window. Can you please help me fix this issue? How to make my website responsive?

P.S :- I have used % and rem units for any height/width/padding ,etc. Also I am yet to learn about any framework - so far I only know CSS and HTML.

Community feedback

dewslyse 3,025

@dewslyse

Posted

Hello Aritra! Congrats on your submission. You need to set up a media query to target mobile devices. This would prevent the page 'messing up'. Find below some references to setting up and using media queries.

Happy coding!

0
Paulius 30

@Scarab911

Posted

High, I just uploaded my solution on this also. Did you try to use @media for mobile responsivenes?

0
Amon 2,560

@A-amon

Posted

Hello! Good job~

I have a few suggestions:

  • To center it using position:absolute; remove the margin-left and margin-top for your .box. Instead, do this: 👇
top:0;
bottom:0;
left:0;
right:0;
margin:auto;
  • Set the width to <= 100% when it's on mobile size using media queries. 😀
  • The "Proceed to payment" button's height seems a little too short. Maybe increase the height or padding. 👀
0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord