Ayyubiy90 / article-preview

Article Preview Components

Home Page:https://article-preview-eight-steel.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Article Preview Component Solution πŸ–ΌοΈ

This is a solution to the Article preview component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of Contents πŸ“š

Overview 🌟

The Challenge πŸ™‚

Users should be able to:

  • View the optimal layout for the component depending on their device's screen size
  • See the social media share links when they click the share icon

Screenshot πŸ“Έ

Desktop Preview

Desktop Preview

Desktop Preview Active

Desktop Preview active

Mobile Preview

Mobile Preview

Mobile Preview Active

Mobile Preview active

Links πŸ”—

My Process πŸ› οΈ

Built With

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • Vanilla JavaScript for interactivity

What I Learned 🧠

This project reinforced my understanding of responsive design and helped me improve my skills in creating interactive components. I learned how to effectively use CSS transforms and transitions to create smooth animations for the share options.

.share-options {
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

.share-active .share-options {
  transform: translateY(0);
}

Continued Development πŸš€

In future projects, I aim to:

  • Explore more advanced CSS techniques like CSS Grid
  • Improve accessibility features
  • Implement more complex JavaScript functionalities

Useful Resources πŸ“š

  • MDN Web Docs - An invaluable resource for HTML, CSS, and JavaScript references.
  • CSS-Tricks - Great for learning about Flexbox and other CSS techniques.

Author πŸ‘¨β€πŸ’»

Acknowledgments πŸ™

A special thank you to Frontend Mentor for providing this challenge. I also appreciate the community for their inspiration and support!

About

Article Preview Components

https://article-preview-eight-steel.vercel.app

License:MIT License


Languages

Language:CSS 48.7%Language:HTML 42.9%Language:JavaScript 8.4%