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
- Live Site URL: Blog Card Preview
- Semantic HTML5 markup
- CSS
- Flexbox
- Javscript
Used Javascript and CSS to handle the active states
h1:hover{
color: hsl(47, 88%, 63%);
cursor: pointer;
}
header.onmouseover = function(event) {
main.style.boxShadow = "14px 14px black"
}
header.onmouseout = function(event) {
main.style.boxShadow = "5px 5px black"
};
Would work on smoother transitions betweeen desktop and mobile screens, for more usability.
- Frontend Mentor - sar-mko
- Linkedin - Sarah Meko