Graphic Design Conference Ticket Generator using HTML, CSS, and JavaS

Solution retrospective
I am most proud of successfully implementing a dynamic ticket generator that allows users to upload their avatars and download their event ticket. The design is simple yet effective, and the ticket is structured professionally.
Next time, I would consider adding QR codes to the ticket for event check-ins and possibly integrating a database to store the generated tickets for better tracking.
What challenges did you encounter, and how did you overcome them?One of the biggest challenges I faced was making the download button work. Initially, the html2canvas function wasn’t capturing the ticket correctly. I resolved this by ensuring that the ticket was fully rendered before calling html2canvas, using setTimeout to prevent blank screenshots.
Another challenge was ensuring that uploaded images fit correctly within the avatar frame. To fix this, I used the object-fit: cover; CSS property to prevent distortion.
What specific areas of your project would you like help with?Improving the UI/UX to make the ticket look more polished Better image handling for high-quality ticket downloads Implementing a QR code system for event entry validation
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Lethabo Semenya'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