Skip to content

aj-shivali/Huddle-landing-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huddle Landing Page

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

Screenshot

Index Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Netlify to deploy

What I learned

This project helped me regain my confidence on HTML and CSS. While working on this project, I learned flex and grid properties in CSS. Aligning everything at place was easy using these properties. Also, I learned to complete things within the duration allotted.

Below is the code for the cards that I have used in the website.

<div class="card-container">
  <div class="card">
    <div class="card-text">
      <h1>Grow Together</h1>
      <p>
        Generate meaningful discussions with your audience and build a strong,
        loyal community. Think of the insightful conversations you miss out on
        with a feedback form.
      </p>
    </div>

    <div class="card-image">
      <img src="./images/illustration-grow-together.svg" />
    </div>
  </div>

  <div class="card reverse">
    <div class="card-image">
      <img src="./images/illustration-flowing-conversation.svg" />
    </div>

    <div class="card-text">
      <h1>Flowing Conversations</h1>
      <p>
        You wouldn't paginate a conversation in real life, so why do it online?
        Our threads have just-in-time loading for a more natural flow.
      </p>
    </div>
  </div>

  <div class="card">
    <div class="card-text">
      <h1>Your Users</h1>
      <p>
        It takes no time at all to integrate Huddle with your app's
        authentication solution. This means, once signed in to your app, your
        users can start chatting immediately.
      </p>
    </div>

    <div class="card-image">
      <img src="./images/illustration-your-users.svg" />
    </div>
  </div>
</div>
.boxshadow {
  box-shadow: 2px 2px 5px hsl(210, 14%, 78%);
}
.card-container {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  justify-content: space-between;
  padding: 7% 5%;
}
.card {
  display: flex;
  flex-wrap: wrap;
  width: auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  height: 40vh;
  margin: 0;
  margin: 2%;
  border-radius: 25px;
  box-shadow: 0px 0px 10px hsl(206, 13%, 89%);
}
.card-text {
  width: 40%;
}
.card-text > h1 {
  color: hsl(192, 100%, 9%);
  text-align: justify;
  font-size: 2.2rem;
}
.card-text > p {
  padding: 5% 0;
  color: hsl(208, 11%, 55%);
}

.card-image > img {
  height: 35vh;
}

}

Continued development

Working towards making it responsive for bigger screen sizes and refining the stylesheets.

Useful resources

  • A guide to flexbox - This helped me in learning CSS flexbox. I really liked this content and will use it going forward.
  • CSS best practices - This is an amazing article which helped me finally understand best practices in CSS. I'd recommend it to anyone still learning this concept.

About

Huddle Landing Page - Frontend mentor challenge using simple HTML and CSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published