cybprom / Manage-Landing-page

A landing page for Manage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Manage landing page solution

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

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
  • See all testimonials in a horizontal slider
  • Receive an error message when the newsletter sign up form is submitted if:
    • The input field is empty
    • The email address is not formatted correctly

Screenshot

Desktop Screenshot

Mobile Screenshot

Mobile Nav

Links

My process

Built with

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

What I learned

This is my first project using TailwindCss. Learnt how to use classes to style my page without having to leave my HTML file. Also learnt how to toggle the hamburger menu with JS.

<button class="py-3 px-8 bg-brightRed rounded-full text-white shadow-xl hover:bg-brightRedLight focus:outline-none border-none">
  A button with tailwind classes
</button>
btn.addEventListener('click', () => {
  btn.classList.toggle('open')
  nav.classList.toggle('flex')
  nav.classList.toggle('hidden')
})

Continued development

Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.

Useful resources

  • Tailwindcss Docs - This is my first time using tailwindcss, so i sourced out for the official documentation. Was really helpful.
  • Example resource 2 - This is an amazing article which helped me finally understand XYZ. I'd recommend it to anyone still learning this concept.

Author

Acknowledgments

About

A landing page for Manage


Languages

Language:CSS 54.8%Language:HTML 43.1%Language:JavaScript 2.1%