Git Product home page Git Product logo

meet-landing-page-solution's Introduction

Frontend Mentor - Meet landing page solution

This is a solution to the Meet 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

Screenshot

Screenshot mobile

screenshot mobile

Screenshot tablet

screenshot tablet

Screenshot desktop

screenshot desktop

Links

My process

Built with

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

What I learned

  • Dynamic image loading depending on the viewport, this was used in the Hero part, where I made use of as a wrapper tag, and inside this the unary tag with its responsive attribute "media" where it allows to set a condition for the respective image loading, the attribute "srcset" contains the path of the resource location. The tag contains the image that will be loaded by default if the above conditions are not met.

    <picture>
      <source
        srcset="./assets/desktop/image-hero-left.png"
        media="(min-width: 1024px)"
      />
      <img src="./assets/tablet/image-hero.png" alt="left" />
    </picture>
  • Use of the Grid Layout for the distribution of the internal components of the Hero, providing greater convenience when relocating the elements based on the Viewport of each device.

    .hero {
      overflow-x: hidden;
      display: grid;
      grid-template-areas:
        "left"
        "content";
    }

when the viewport is 1024px or higher

.hero {
  grid-template-areas: "left content right";
}

In each Hero component they are placed using the "grid-area" property.

Continued development

I would like in future projects to implement pre-processors such as Sass, also to make use of animations to improve usability.

Useful resources

  • A Complete Guide to Grid - This resource helped me to remember certain properties for CSS Grid management, it is very useful because it provides visual content.

  • A Complete Guide to Flexbox - Useful for remembering CSS Flex handling properties and their visual representation

  • : The Picture element - Use and usefulness of the tag for semantics and management to dynamically load resources (responsive).

Author

meet-landing-page-solution's People

Contributors

jhoansebasperez 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.