Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Base Apparel coming soon page - Flexbox / JS DOM

Abdulrahman Zakiβ€’ 330

@aazs-edu

Desktop design screenshot for the Base Apparel coming soon page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


  • placing background pattern is tricky.

Community feedback

Rebecca Padgettβ€’ 1,760

@bccpadge

Posted

Hello @aazs-edu. Congratulations on completing this challenge!!!πŸŽ‰

I have a few tips you might be interested in to improve your solution.

HTML πŸ“ƒ:

  • To improve accessibility, wrap your code below in <form>
<div class="email-input">
      <input type="email" placeholder="Email Address" />
      <img class="invalid-icon hide" src="images/icon-error.svg" alt="icon-error">
     <button id="submitBtn"><img src="images/icon-arrow.svg" alt="" /></button>
 </div>
   <div class="invalid-feedback hide">
      <p class="invalid-feedback-msg">Please provide a valid email</p>
   </div>

The arrow and error icon are decorative which means you can leave alt attribute blank and add aria-hidden:true; so it can be ignored by screen readers.

More infoπŸ“š:

<div class="img-box">
      <img class="hero-desktop" src="images/hero-desktop.jpg" alt="hero" />
 </div>

Mobile and hero images must have more descriptive alt text.

Example:

<img class="hero-desktop" src="images/hero-desktop.jpg" alt="a woman in orange shirt standing in front of a green tree and red wall" />

Here is my solution to this challenge Base Apparel Coming Page

Hope you find this useful and don't hesitate to reach out if you have any questions

Marked as helpful

3

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord