Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 4 years ago

Pseudo-elements(CSS). JavaScript test() method for RegEx. Truthy-falsy

Krista Calleja•300
@KristaCalleja
A solution to the Base Apparel coming soon page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Updated solution. Added better RegExp and remove class when email is correct. Any further feedback appreciated.

**

Hi, I'd like some help with the Regular Expression. For some reason it is always returning false. Additionally, how does one reset the DOM without reloading the page? Thank you FEM for all that i'm learning. I first started this challenge 11 months ago and my code was horrific. I now feel I have made great strides. Thanks once again.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Krista Calleja's solution.

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License