Responsive & Interactive Credit Card Payment Form - Typescript | CSS
Design comparison
Solution retrospective
I used this project to get more comfortable with Typescript and building a mobile-first, responsive design. If you have any advice or see room for improvement please let me know.
Do you prefer using Typescript over Javascript and do you have any best practices when using Typescript?
Community feedback
- @AdrianoEscarabotePosted about 2 years ago
Hi Zach Flegle, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:
Images must have alt text unless it is a decorative image, for any decorative image each IMG tag must have empty
alt=""
and addaria-hidden="true"
attributes to make all the assistive technologies of the Web, as screen reader. Learn the differences between decorative/meaningless images vs important content.We have to make sure that all the content is contained in a reference region, designated with HTML5 reference elements.
HTML5 reference elements:
<body> <header>This is the header</header> <nav>This is the nav</nav> <main>This is the main</main> <footer>This is the footer</footer> </body>
The rest is great!
I hope it helps... 👍
Marked as helpful1@zflegle3Posted about 2 years ago@AdrianoEscarabote I'm good, how have you been? Thanks for the great feedback as always. I'll use that decorative image accessability reference in the future, I appreciate you sharing it!
0
Please log in to post a comment
Log in with GitHubJoin 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