Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Intro component w/ signup form using 11ty, Valibot, and bundled CSS/JS

accessibility, eleventy, cube-css
Josh Javier•970
@joshjavier
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


What are you most proud of, and what would you do differently next time?

I finally figured out how to bundle CSS and JS with Eleventy! I used Lightning CSS and esbuild for bundling CSS and JS, respectively. Next time I plan to maximize the features of these bundlers, like transpiling modern syntax, minifying, etc.

What specific areas of your project would you like help with?

Feedback on accessibility is welcome!

I used instant and afterward validations for the input fields, with errors that have aria-live="assertive". For submit validation, if there's more than one invalid field, I show the error messages with aria-live="off" and instead announce a screen reader-only error summary indicating the number of invalid fields.

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 Josh Javier'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
  • Use cases

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