Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 4 years ago

HTML, SCSS, JS and Testing with Mocha JS

Amon•2,560
@A-amon
A solution to the Intro component with sign-up form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello! Let me know what I can improve on, especially the structure of my SCSS code (which I am still a little awkward at when coding) and testing (which I just started today!). ​Another problem I have and couldn't resolve is how do I separate the settings in one it() test function from another. For example, I set some dummy values in the input fields in one it() but the values remain when testing in the next it().

Another issue is the screen reader skipping to form after reading "Try it free for 7 days" instead of continuing to end of sentence.

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 Amon'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

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