Submitted
Blog preview card
- HTML
- CSS
What are you most proud of, and what would you do differently next time?
I was pleased that I was able to implement fonts responsively using rem
units and media queries. When the viewport's width is less than 300px the font size for the component will decrease slightly. While not really necessary for this particular project it will hopefully come in handy for future projects.
What challenges did you encounter, and how did you overcome them?
I encountered some weirdness when styling my header, which is a link nested inside a h2 element. I was originally trying to style the h2 element but the font wasn't displaying as expected. I did some research and discovered I should instead style the nested element.
What specific areas of your project would you like help with?
I was wondering if people usually use rem
/em
units project wide or is it primarily for fonts? I was thinking they could also be useful for padding and margins.