This is a solution to the Blog preview card challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- See hover and focus states for all interactive elements on the page
This is the desktop version of the component. I didn't upload the mobile version cause it's too long.
- Live Site URL: Live site of the challenge hosted here
I have built the layout using flexbox. There are 2 flex containers, main and card where main element takes the full height of the viewport and card has fixed width and height based on the desktop design. I have added media queries to make the component responsive. Additionally, I have added external javascript file to change the box-shadow property on card element.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Javascript
- Website - Junayed Rahaman
- Frontend Mentor - @junayedrahaman50
- Twitter - @junayed_rahaman