Skip to content

thibault-barrat/bookmark-landing-page

Repository files navigation

Frontend Mentor - Bookmark landing page solution

This is a solution to the Bookmark landing page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

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
  • Receive an error message when the newsletter form is submitted if:
    • The input field is empty
    • The email address is not formatted correctly

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • SASS preprocessor
  • BEM methodology

What I learned

With this challenge, I learned to manipulate SVGs in order to change their color with the fill and strokeCSS properties.

.logo {
    path {
        transition: .25s ease-in-out;
    }
    circle {
        transition: .25s ease-in-out;
    }
    &--all-white {
        path {
            fill: #ffffff;
            &:last-child {
                fill: $very-dark-blue-transparent;
            }
        }
        circle {
            fill: #ffffff;
        }
    }
    &--white-wording {
        path {
            fill: #ffffff;
        }
    }
}

Useful resources

Author

About

This is a solution to the Bookmark landing page challenge on Frontend Mentor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published