Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Submitted 4 months ago

Responsive Contact form buillt with TYPESCRIPT,VANILLA CSS & HTML

#accessibility#typescript
Ibeaka Godson•470
@Warmarth
Preview site (opens in new tab)View code (opens in new tab)
Desktop design screenshot for the Contact form coding challenge
This is a solution for...Contact form
  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison

SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?
  • understanding the types like string, number, Boolean, array, tuple, void, and advanced types like union and literal, which are critical for writing clean, type-safe code.
What challenges did you encounter, and how did you overcome them?
  • Error Messages: Challenge: Complex TypeScript errors. Solution: Focused on specific error codes.

  • Validation: Challenge: Dynamic form validation with clear user feedback. Solution: Used reusable validation functions styling for invalid fields

  • Adding SVG to Input: Challenge: Embedding and styling SVGs in input pseudo-elements. Solution: Encoded SVGs as data-uri for CSS ::after, handled positioning with absolute, and controlled visibility with conditional styles.

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

the button on the md and large screen size is overflowing and not responding styles pls will be happy to apply any correction on both the typescript and css

Community feedback

Please log in to post a comment

Log in with GitHub

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub