rmcg.dev/projects/FrontendMentor/newbie/base-apparel-coming-soon
Robert McGovern c20c26ea42 fixed validation errors, oops. 2 left over from swapping from form to div 2022-10-20 22:19:24 +01:00
..
css finished base apparel challenge 2022-10-20 17:11:52 +01:00
design added base files for the remaining newbiew projects I have 2022-09-07 10:53:05 +01:00
images added base files for the remaining newbiew projects I have 2022-09-07 10:53:05 +01:00
js cleanup of JavaScript 2022-10-20 00:16:56 +01:00
screenshots finished base apparel challenge 2022-10-20 17:11:52 +01:00
.gitignore added base files for the remaining newbiew projects I have 2022-09-07 10:53:05 +01:00
README-orig.md added advice-generator-app challenge and beginning of base apparel 2022-10-04 10:19:15 +01:00
README.md finished base apparel challenge 2022-10-20 17:11:52 +01:00
desktop-design.jpg temp submit to ask for help 2022-10-19 19:22:49 +01:00
index.html fixed validation errors, oops. 2 left over from swapping from form to div 2022-10-20 22:19:24 +01:00
mobile-design-with-boxes.jpg temp submit to ask for help 2022-10-19 19:22:49 +01:00
mobile-design-with-smaller-boxes.jpg temp submit to ask for help 2022-10-19 19:22:49 +01:00
style-guide.md added base files for the remaining newbiew projects I have 2022-09-07 10:53:05 +01:00

README.md

Frontend Mentor - Base Apparel coming soon page solution

This is a solution to the Base Apparel coming soon 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 for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Receive an error message when the form is submitted if:
    • The input field is empty
    • The email address is not formatted correctly

Screenshot

Mobile

Desktop

My process

Built with

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

What I learned

The element is a container only. The element is the main part describing its contents. only describes different sources. So the alt remains the same for all of them regardless of the source.

https://stackoverflow.com/a/48207973

I learned that I'm not good at handling input fields with a button and an error image.

Continued development

I want to go through other peoples solutions for how the handled the input and the adjacent button and error image. I'm sure there is a better solution than mine, particularly because mine limits the size of the input field more than it should.

Useful resources

Author

Acknowledgments

My thanks to Julio Cinquina on the FEM Slack for correcting my misunderstanding of the :has pseudo-class.