This is a solution to the News homepage 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 interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Live Site URL: Vercel
- Semantic HTML5 markup
- CSS custom properties
- CSS Box Model
In this project, I learnet how to build websites using only HTML, CSS and JavaScript, without any framework or libraries. The responsive layout was a challenge, learning that was really exciting.
Here are some code snipets:
@media (min-width: 700px) {
.header-menu {
display: none;
}
}
const openMenu = () => {
backdrop.style.display = 'block';
mobileMenu.style.display = 'block';
};
const closeMenu = () => {
backdrop.style.display = 'none';
mobileMenu.style.display = 'none';
};
I need to improve CSS skills, use mobile first approach and modern CSS sizes.
- Fullscreen overlay - This helped building the overlayed mobile menu.
- CSS - The Complete Guide 2023 - This is an amazing CSS course that I'm doing to improve my skills.
- LinkedIn - Winstein Martins
- Frontend Mentor - @winstein27