Conference Ticket generator developed with responsive CSS and JS.

Solution retrospective
I am most proud of the development of the form input validation via Javascript, as well as the visual feedback for the user whenever a field had any error and the accessibility for screen readers.
What I would do different is creating a Javascript module with functions I could import in different Javascript scripts, as well as adding validation methods in the ticket class to make the code cleaner and more consistent.
What challenges did you encounter, and how did you overcome them?The main challenges I encountered were:
-
Creating a custom drag and drop that would update the avatar preview, which I overcame by creating a function that gets the image URL using a FileReader object and updates the preview, being called whenever the file is dropped or changed by clicking the input tag.
-
Validating E-mail and github Usernames, which I overcame by utilizing Regex in a function that would return if the string follows the rules for a valid e-mail or username.
-
Adjusting the layout for smaller phones, in special on the ticket page, whichi I overcame by utilizing media queries and changing the sizes of fonts and images, as well as changing the amount of padding a margin elements in the ticket section.
What I mostly would like help with is creating pages that have a good accessibility for screen readers and better semantics, as well as ways to improve the Readability of my code.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Wagner Ricardo de Paula Marcolongo'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