Design comparison
Solution retrospective
I am a newbie in the area, please give me any feedback. I would appreciate it, thank y'all !!!
Community feedback
- @Illyaas4ShowPosted over 2 years ago
This is a good first attempt, well done!
- You should increase the
border-radius: ;
- You should also add
box-shadow: ;
as it is present on the challenge card and it makes the card pop. - You can also centre it by using flexbox using the following lines of css to the body or the main element
main { display: flex; justify-content: center; align-items: centre; min-height: 100vh; }
Hopes this helps! Happy coding :)
Marked as helpful0 - You should increase the
- Account deleted
Hey, Nice work.
Check your css code increase the attribution font-size to 18px.
.attribution { font-size: 11px; // here should be 18px to make it more legible. text-align: center; }
Only your attribution has a comment. Always comment your work section both the html and the css so code reviewer can easily go through. You will appreciate this when you embark on bigger project.
If you found any of these helpful, give it a like.
Happy Coding!
Marked as helpful0 - @darryncodesPosted over 2 years ago
Hi Erkin,
I really like your solution, it looks great!
Your accessibility report is highlighting a few tweaks you could make:
- swap
.container
<div>
with a<main>
- swap
.attribution
<div>
with a<footer>
- consider swapping your
<h2>
with a<h1>
Using semantic html is a really fundamental part of building an accessible page. Also Heading hierarchy is important!
- also try adding
min-height: 100vh;
to your<body>
to help nice centre the design in the viewport
I hope that helps!
Marked as helpful0 - swap
- @IfescohubPosted over 2 years ago
@ErikN Your work is well done. It is very close to the project.
Regarding your report, You are getting some of the reports because you wrapped everything in a
div
tag. To set that, wrap your "container" and "attribution" class in amain
andfooter
tags respectively. I.e<main class="container"> //other div </main> <footer class="attribution"> //Your text </footer> ``` Happy coding.
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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