Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 5 months ago

Article preview card with responsive socials nav bar

14avi14•400
@14avi14
A solution to the Article preview component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am glad I decided to use more CSS variables as they made the styling easier to manipulate. Using Grid also helped to keep the layout easy to manage, especially grid-template-areas. Next time, I will probably group things better in order to make lining things up easier.

What challenges did you encounter, and how did you overcome them?

The main challenge with this entire project was lining the nav bar for the social links in the proper way so that it lined up with the share button. Creating the arrow on the bottom also took some research, but it was definitely very interesting and cool once I figured it out.

What specific areas of your project would you like help with?

I want to know if there are better ways of lining the nav bar at the bottom, because it currently feels like my CSS code is way more than it needed to be. Also, I used visibility: hidden, because for some reason display: none was not working for the socials nav bar. If someone could explain why that would be great!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on 14avi14's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License