Code Monkey home page Code Monkey logo

equalizer-land-pg's Introduction

Frontend Mentor - Equalizer landing page solution

This is a solution to the Equalizer 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 depending on their device's screen size
  • See hover states for interactive elements

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

Working on this project helped me identify areas in which I need to improve in terms of time management. Setting strict deadlines leads to better results. The second "a-ha" moment came when I attempted to use custom properties. I didn't use them frequently, but I'm glad I used them every now and then. Another thing I had to figure out was how to use relative position and design to replicate nearly the same layout. The last but not the least aspect of this project was to make icons change color when hovered over. This project was a lot of fun for me.

Here are some snippets of code:

<h2 class="fs-700">Premium EQ</h2>
.mobile-image {
    width: 270px;
    height: 555px;
    position: relative;
    top: -155px;
    left: -200px;
  }
.social-icon:hover {
    cursor: pointer;
    filter: invert(73%) sepia(55%) saturate(591%) hue-rotate(327deg) brightness(106%) contrast(102%);
    -webkit-filter: invert(73%) sepia(55%) saturate(591%) hue-rotate(327deg) brightness(106%) contrast(102%);
  }

Continued development

When the opportunity arises, I would like to continue using the filter property to match the color of the image, background, or border that needs to be changed to the layout.

Useful resources

  • Example resource 1 - This helped me for figuring out how tochange the icons color. I really liked this pattern and will use it going forward.
  • Example resource 2 - This is an amazing video which helped me finally understand custom properties and utility classes. I'd recommend it to anyone still learning this concept.

Author

equalizer-land-pg's People

Contributors

doileo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.