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

display flex

@LuccaMauroMolina

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


Some js things don't work for me, that is, when I put it in "!=" it works for me in gmail and everything, but when I put "==" it works for me in the wrong one, what is the error?

Community feedback

@Earthyyy

Posted

Hello, Regarding the issue, you should be replacing email in the comparison statement with email.value so you can access the content of the input value

0

@LuccaMauroMolina

Posted

@Earthyyy good day, how? in the if? because I put email.value == "gmail" and it's still the same

0

@Earthyyy

Posted

@LuccaMauroMolina Yes in the if statement.

if (email.value == correcto) {
      console.log("tijhshtpspis");
    } else {
      p.innerHTML = "<p>es incorrecto</p>";
    }
}

and that actually works! If you submit the email form with "gmail" , and opened up the console, you will see the log statement being executed

You can also check a pull request in your repository where I submitted the fix. Here's the link: Pull Request

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