Skip to content

royeradames/pod-request-access-landing-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Pod request access landing page solution

This is a solution to the Pod request access landing page 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 depending on their device's screen size
  • See hover states for interactive elements
  • Receive an error message when the form is submitted if:
    • The Email address field is empty should show "Oops! Please add your email"
    • The email is not formatted correctly should show "Oops! Please check your email"

Screenshots of design file and production website

Given design file

Design file

Mobile

Mobile view

Tablet

Table view

Desktop

Desktop view

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Sass - For styles

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:

Use button tag instead of input type submit

  <input
    type="submit"
    value="Request Access"
    className="form__request"
  />

More Semantic

<button className="form__request">Request Access</button>

Inputs always need a label even if there are not visable, and invisiable labels cand be added with area label

aria-label="Enter your email address for podcast access"

There are multiple modules with names that only differ in casing can lead to unexpected behavior when compiling

Before

_main.scss
main.scss_

After

_main-content.scss
main.scss_

Continued development

A class on aria-label. Aria-label feels foreing to me even do I can get the job done with them.

Useful resources

Author

Acknowledgments

Thank you Austin Kelsay for looking into my project, and for your great feedback.