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

newsletter-sign-up-with-success-message-main

@OsatohanmwenT

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


1.could someone help me with the the input element border or outline problem i am having

Community feedback

@AlfredoPegueroC

Posted

Hello, @OsatohanmwenT

Your solution looks great

This is the solution to the border error

  • Element with class list that includes both #newsletter-input and error-border.
#newsletter .news-input #newsletter-input{
    padding:  15px 20px;
    border-radius: 5px;
    border: none;
    outline: 1px solid black;
}
#newsletter .news-input #newsletter-input.error-border{
    outline: 1px solid red;
}

  • Tips
  1. Learn how to use pseudo-elements such as ::before and ::after; this will help you display error messages.
  2. The structure of labels Label mdn

I hope it helps

PS: Sorry about my English; I'm still learning.

Marked as helpful

0

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