Frontend Mentor - Single price grid component solution

image

This is a solution to the Single price grid component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • View the optimal layout for the component depending on their device's screen size
  • See a hover state on desktop for the Sign Up call-to-action

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • CSS Grid

What I learned

Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.

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

main {
    display: grid;
    grid-template-areas:
      "join-community join-community"
      "subscription why-us";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 2fr;
    margin-left: 350px;
    margin-top: 50px;
}