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.
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
- Solution URL: Article Solution
- Live Site URL: Article Preview
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Vanilla JavaScript for interactivity
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);
}
In future projects, I aim to:
- Explore more advanced CSS techniques like CSS Grid
- Improve accessibility features
- Implement more complex JavaScript functionalities
- MDN Web Docs - An invaluable resource for HTML, CSS, and JavaScript references.
- CSS-Tricks - Great for learning about Flexbox and other CSS techniques.
- Website - Abdullah
- LinkedIn - Abdullah Abdurazaq
- Frontend Mentor - Ayyubiy90
- Twitter - ayyubiy10
- Instagram - ayyubiy_10
A special thank you to Frontend Mentor for providing this challenge. I also appreciate the community for their inspiration and support!