Skip to content

Gonzalo6282/snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Intro section with dropdown navigation solution

Table of contents

Overview

The challenge

Users should be able to:

  • View the relevant dropdown menus on desktop and mobile when interacting with the navigation links
  • View the optimal layout for the content depending on their device's screen size
  • See hover states for all interactive elements on the page

Screenshot

This is an image

Links

My process

Built with

Semantic HTML5 markup

  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Bootstrap - CSS framework
  • AWS - Cloud services

What I learned

To see how you can add code snippets, see below:

<h1>Some HTML code I'm proud of</h1>
<div class="row justify-content-between">
   <div class="col-md-5 order-2 order-md-1" id="left-col">
      <main class="main">
         <div class="text">
            <h1>Make<br>remote work</h1>
            <h2>Make remote work</h2>
            <p> Get your team in sync, no matter your location. Streamline processes,
               create team rituals, and watch productivity soar.</p>
            <button class="learn" id="learn">Learn more</button>
            <div class="logo">
               <img src="images\client-databiz.svg" class="img-fluid" alt="">
               <img src="images\client-audiophile.svg" class="img-fluid" alt="">
               <img src="images\client-meet.svg" class="img-fluid" alt="">
               <img src="images\client-maker.svg" class="img-fluid" alt="">
            </div>
         </div>
   </div>
   <div class="col-md-5 order-1 order-md-2" id="right-col">
      <img class="hero img-fluid " src="images\image-hero-desktop.png" id="hero" alt="">
      <img class="hero img-fluid" src="./images/image-hero-mobile.png" id="hero-mob" alt="">
   </div>
</div>
@media (max-width: 600px) {
  #hero {
    display: none;
  }

  #hero-mob {
    display: block;
    width: 90%;
    height: 90%;
    margin-left: 25px;
    margin-top: 0px;
    padding-top: 0px;
  }
}

@media (max-width: 600px) {
  .text h1 {
    display: none;
  }
  .text h2 {
    display: block;
  }
  .text p {
    margin-top: 0px;
  }
}

Continued development

I want to continue focusing on React in my future projects. These are some of the concepts I am still not completely comfortable with, I really want to refine and perfect.

Useful resources

  • Youtube - This helped me for create an animated custom hamburger icon for the navbar in bootstrap 5.
  • Youtube - This is an amazing tutorial which helped me understand the CSS grid. I'd recommend it to anyone still learning this concept.

Author

Acknowledgments

I did get inspiration from Kevin Powell, he is a coding instructor in Youtube. I'd recommend it to anyone that is learning programing to check some of his videos.

About

Using Javacript, Html, Css & Bootstrap I've learnt to build a Landing page website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published