VS code editor, CSS style in the head, in-line CSS and W3schools ref

Solution retrospective
It took me a day to complete. It was a great exercise and one I need to revisit once I get feedback. It really woke me up to my skill gaps and lack of comfort with responsive design.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @tonyruizo
Hello Steven!
Check out those accessibility issues in the report, easy fix for that is to wrap your html div contents inside a landmark, as in <header></header, <main></main>,<section></section> and <footer></footer>.
Also don't forget the mobile design. Look into some CSS Grid and media queries and you should be able to make it happen.
- @rebekahshaw92
Hi Nice first attempt.
A quick tip for placing the card/clearfix centre of the browser is to add bother padding and margin as 0 auto.
Another tip is to add your style to an external stylesheet rather than the HTML file. This makes your code much easier to manage. I like to place my css in its own folder so that I know where it is and it means if yoou have more the one css file it can easly be found.
Happy Coding!
- @OneManBanned
Hi Steven,
if you remove the margin from .right.
and add
body { display: flex; justify-content: centre align-items: centre; min-height: 100vh; }
That should centre everything thing in the middle of the page.
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