Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 23 hours ago

Ticket Generator Vite-ReactJs-Tailwind- Router-dom

react, react-router, vite, tailwind-css
Joha•50
@devcjoha
A solution to the Conference ticket generator 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'm proud of having created a fully accessible and responsive form with custom validations and dynamic ticket generation. I also managed the dual deployment (Vercel and GitHub Pages) with routing adapted to the environment, which was a great learning experience. Next time, I would plan the routing and deployment strategy further in advance to avoid last-minute adjustments. Additionally, I would explore automated testing to validate the form's behavior on different devices and screen readers.

What challenges did you encounter, and how did you overcome them?

One of the biggest challenges was configuring React Router to work seamlessly in both local development and static deployment on GitHub Pages. I solved this by using environment variables and conditional logic in both Vite and React, allowing the application to dynamically adapt its base name. I also encountered issues with image routing and Vite caching during deployment, which I resolved by cleaning up the build and carefully adjusting resource paths.

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

I'd love feedback on improving accessibility for screen readers, especially regarding dynamic content like post previews. I'm also interested in best practices for form validation libraries versus custom logic, and how to scale these types of forms for multi-step flows or larger applications.

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