Order Summary component | HTML & CSS

Solution retrospective
I have a question regarding the <br>
in the paragraph, the places of the <br>
are different between desktop and mobile screen, does implementing multiple <br>
and use display: none | display: block
with medias queries is the good way to go ?
If you have a better solution or other feedbacks I will be happy to read.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @strosi
Hi @myrdn, I don't think you need any
<br>
element in the paragraph text. Remove them all. Just leave the text fill the width of the container and you may usepadding
to add some space on the left and right of it.Marked as helpful - @NaveenGumaste
Hay ! myrdin Good Job on challenge
These below mentioned tricks will help you remove any Accessibility Issues
-> Add Main tag after body
<main class="container"></main>
-> Learn more on accessibility issues
If this comment helps you then pls mark it as helpful!
Have a good day and keep coding 👍!
- @EmmanuelHexer
Great job man. How do you get all your measurements right?
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