React Machine Coding Challenge: Address Form with Pincode Auto-Fill

🚀 Day 4/30 — React Machine Coding Challenge Built an Address Form with Pincode Auto-Fill 🧩 What I implemented: - Fields: name, address, city, state, pincode, country - Pincode validation (6-digit, proper format) - Auto-detect city & state using a mock API - Inline field errors + error summary at top 🧠 What I focused on: - Keeping validation simple and clear - Triggering API only when the pincode is valid - Auto-filling dependent fields (city/state) - Showing errors in a way user can easily fix 💡 Key Learning: Good forms are not just about inputs — they are about guiding the user and reducing effort. Now your turn 👇 Try building this and share your approach/code in the comments. I’ll review and give feedback. Following along for frontend interview prep? I’m posting one challenge daily. #30DaysOfCode #ReactJS #MachineCoding #FrontendDevelopment #InterviewPrep #BuildInPublic #JavaScript

To view or add a comment, sign in

Explore content categories