Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
In the learning tag on the webpage, why am I not able to use the given yellow design color
Community feedback
- @Bamo-D-AbdallahPosted 4 months ago
You could remove the
border
property on the learning tag, and its color isrgb(244, 208, 78)
but yours is set torgb(228, 228, 0)
.Some other notes:
- Avoid using
px
, start usingrem
more and alsoem
,%
,vw
,vh
. - Don't use
height
, let the browser determine the height your content needs. - Start using CSS resets or normalizers.
- You can start using CSS variables it makes.
- Use
display: block
andmax-width: 100%
on yourimg
to make it responsive.
Also using
border-box
is better than default which iscontent-box
, you can set it up like this:html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }
Marked as helpful0 - Avoid using
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