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: https://github.com/NataJenkins/article-preview-component
- Live Site URL: https://eloquent-sable-5fc87a.netlify.app
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React - JS library
- Styled Components - For styles
In this project i created a custom hook function using UseRef to detect when clickin outside a component.
- React Hook: Detect Click outside of Component - This helped me creating the hook for detecting outside component clicking.
- Website - Add your name here
- Frontend Mentor - @yourusername
- Twitter - @yourusername