This is a solution to the Loopstudios landing page 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 site depending on their device's screen size
- See hover states for all interactive elements on the page
- Solution URL: GitHub Code
- Live Site URL: Live site URL
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- JavaScript
In this challenge I learned how to follow a style guide, stick to the design proposed by the challenge, improved my skills in applying mobile first web layout. I practiced some knowledge of HTML, CSS and JavaScript.
To see how you can add code snippets, see below:
<h1>Some HTML code I'm proud of</h1>
/* CSS Variables */
:root {
--white: hsl(0, 0%, 100%);
--black: hsl(0, 0%, 0%);
--dark-gray: hsl(0, 0%, 55%);
--very-dark-gray: hsl(0, 0%, 41%);
}
/* JavaScript toggle hamburger menu */
const navToggler = document.querySelector('.navbar-toggler')
navToggler.addEventListener('click', () => {
console.log('clicked')
document.body.classList.toggle('not-scroll')
navToggler.classList.toggle('active')
document.querySelector('.navbar-collapse').classList.toggle('show')
})
In the next projects I will try to apply good practices of HTML, CSS and JavaScript and even be able to use React in the frontend.
- Loopstudios landing page - The frontend mentor resorces helped me to understand the challenge and stick to the proposed style.
- Website - Herald Flores
- Frontend Mentor - @Herald-Flores
- Twitter - @heraldfloresdev
This solution is created with basic web development standards, no libraries or frameworks were used for this example.