🔐 Built a Clean & Interactive OTP Input Component using React Recently, I worked on building a fully functional OTP (One-Time Password) input UI with a focus on both user experience and real-world usability. ✨ Key Features: • Auto-focus on next input while typing • Backspace navigation (moves to previous input) • Input validation (only digits allowed) • Clean and responsive UI with modern styling • Ref handling using useRef for DOM control 💡 This is a commonly asked frontend interview question in companies like Microsoft, Google, Atlassian, etc., and a great example of how DSA + DOM manipulation + UX thinking come together in real-world applications. 🧠 What I learned: Managing focus dynamically, handling edge cases (like backspace & paste), and building a smooth user experience using React hooks. 🚀 Live demo & code: 👉 GitHub: https://lnkd.in/ga92Jib9 Would love to hear your feedback and suggestions! #ReactJS #FrontendDevelopment #JavaScript #WebDevelopment #UIUX #Coding #InterviewPreparation #100DaysOfCode
More Relevant Posts
-
Stop letting forced synchronous reflow kill your app's performance. 🚀 If you’ve ever built a virtualized list or a complex chat interface, you’ve likely hit the "DOM measurement trap." Every time you call getBoundingClientRect(), offsetHeight, or scrollHeight, the browser must pause, flush style changes, and perform a full rendering pass just to tell you a box's size. In a list of 500+ items, this "thrashing" can easily cost 30ms+ per frame, murdering your 60fps dreams. Enter Pretext.js, a new library from Cheng Lou (formerly of the React core team) that measures and positions multiline text entirely through pure arithmetic—without ever touching the DOM. Why this is a game-changer for developers: 🎨 Beyond the DOM: It opens the door for accurate text layout in Canvas and WebGL (think Figma or Miro) and future Server-Side Rendering. ♿ Accessibility: While it bypasses the DOM for measurement, you can still build fully accessible demos with semantic HTML, keyboard operability, and screen reader support. Check out this video for more https://lnkd.in/gvwnV68k #WebDev #JavaScript #TypeScript #Frontend #Performance #PretextJS #React #CodingTips
To view or add a comment, sign in
-
-
🚀 Just wrapped up Dragon News — a modern, full-stack news platform built with Next.js and a focus on clean UI, authentication, and real-world production patterns. 🔗 GitHub: https://lnkd.in/gbJzrSbR 🖇️LiveLink: https://lnkd.in/gx69uikE 🛠️ Tech Stack & Features ⚡ Next.js with Proxy / modern routing patterns 🔐 Better Auth for secure authentication ➡️ Social Login with GitHub & Google 📩 Email / Password login system 🎨 DaisyUI + HeroUI for sleek components 🔔 Toast notifications, skeleton loaders, marquee effects 📱 Fully responsive design (Desktop / Tablet / Mobile) 📰 Dynamic news-style interface with modern UX 📚 What I Learned From This Project ✅ Building secure auth flows with multiple providers ✅ Managing sessions & protected routes in Next.js ✅ Creating reusable UI components for scalable apps ✅ Improving UX with loading states, feedback toasts, and animations ✅ Structuring a clean full-stack project for production readiness ✅ Responsive design that works across devices ✅ Combining multiple UI libraries while keeping consistency 💡 Biggest Takeaway Every project teaches something new — this one helped me understand how to combine authentication, performance, design systems, and real-world app architecture into one polished product. Always learning, always building. 🚀 #NextJS #ReactJS #WebDevelopment #FullStackDeveloper #JavaScript #TypeScript #FrontendDeveloper #OpenToWork #UIUX #Authentication #CodingJourney #BuildInPublic
To view or add a comment, sign in
-
#FrontendFridays - Loading to Success Button This week, I built a simple yet practical UI interaction that transitions a button from a loading state to a success state. This pattern is commonly used in real-world scenarios like form submissions and API calls to provide clear user feedback. Key highlights: • Loading spinner with disabled state • Smooth transition to success feedback • Auto reset after completion • Lightweight and reusable component Live Demo: https://lnkd.in/gZ2jgKYy Continuing to explore small UI interactions that improve user experience with minimal code. #FrontendFridays #FrontendDevelopment #WebDevelopment #UIUX #JavaScript #CSS #HTML
To view or add a comment, sign in
-
-
#FrontendFridays - Password Strength Indicator This week, I built a real-time Password Strength Indicator to enhance user feedback during form input. As users type their password, the component evaluates strength based on multiple criteria such as length, uppercase letters, numbers, and special characters, and provides instant visual feedback. Key highlights: • Real-time strength detection • Dynamic progress bar with color transitions • Clear Weak / Medium / Strong feedback • Lightweight and easy to integrate into forms This is a small but essential UI pattern that improves usability and helps users create more secure passwords. Live Demo: https://lnkd.in/g-wxGB7T Continuing to build practical UI components that are commonly used in real-world applications. #FrontendFridays #FrontendDevelopment #WebDevelopment #UIUX #JavaScript #CSS #HTML
To view or add a comment, sign in
-
-
Experience it live: https://lnkd.in/gR_m5p66 I recently built a Water Ripple Effect interaction with Three.js to make the UI feel more alive and tactile. Key focus areas: Responsiveness: Real-time ripple feedback on user interaction. Optimization: Ensuring high performance without sacrificing visual quality. Modularity: A clean structure designed for easy integration. What do you think about the visual weight and realism of the ripples? #ThreeJS #WebGL #FrontendDevelopment #CreativeCoding #JavaScript #UIEngineering #InteractiveDesign
To view or add a comment, sign in
-
Just wrapped up the Interactive Calendar Component Assessment by takeUforward, and it was genuinely one of the more enjoyable frontend challenges I've worked on recently. The brief was simple: take a design and bring it to life. But the real work was in the details, making sure the UI didn't just function, but actually felt good to use. Some things I built out: -Month navigation with smooth transitions -Date selection with proper visual feedback -A "Problem of the Day" feature -A notes system with small dot indicators for saved dates -Responsive layout that holds up on mobile too Live Demo: https://lnkd.in/dSp_QHeC GitHub: https://lnkd.in/dV_vPa5f Raj Vikramaditya #ReactJS #FrontendDevelopment #TakeUForward #WebDevelopment
To view or add a comment, sign in
-
I didn’t want another “scroll + cards” portfolio. So I built mine like a tool I actually use every day — an IDE inspired by VS Code File explorer 📂 • Tabs 🗂️ • Command palette ⌘ • Themes 🎨 • Copilot-style panel 🤖 Not for aesthetics — but to rethink how developers *navigate and read* content. It forced me to focus on: ⚡ Layout performance ⌨️ Keyboard-first interactions 🧭 Real navigation state (not just sections on a page) Built with React + Vite, structured like a small product — not a landing page. 🔗 https://mohitkuril.xyz/ If the UI feels familiar, that’s intentional 😉 If you notice anything in the UI/UX or functionality that could be improved, I’d genuinely appreciate your feedback — feel free to reach out and discuss. What would you add to a command palette in your own portfolio? #FrontendDevelopment #ReactJS #WebDevelopment #UIDesign
To view or add a comment, sign in
-
-
Just built a Random GIF Generator using React! 🎉 It's a small project, but it packs some solid React concepts: 🔹 Custom Hook (useGif) — abstracted all the API logic away from the UI, keeping components clean and reusable 🔹 Conditional Rendering — swaps in a spinner while the GIF loads, so the UX feels smooth 🔹 Axios + Giphy API — fetching random GIFs, with optional tag-based filtering 🔹 Two components, one hook — Random fetches any GIF, Tag lets you search by keyword The thing I'm most proud of? The useGif custom hook. One hook, two completely different components, zero duplicated fetch logic. That's the magic of React hooks. ✨ Every small project teaches something new. This one reinforced how powerful custom hooks are for separating concerns. Inspired by @Love Babbar's teachings! What's a small project that taught you a big lesson? Drop it in the comments 👇 #React #JavaScript #WebDevelopment #FrontendDevelopment #ReactHooks #BuildInPublic
To view or add a comment, sign in
-
🚀 Built a modern and responsive Lawyer Appointment Booking Application using React & Tailwind CSS! Focused on building a real-world booking system with smooth UX and scalable architecture. 📅 Key Features: 📌 Lawyer listing & detailed profile view 📌 Appointment booking system 📌 Dynamic routing with React Router 📌 Reusable components for scalable UI 📌 Loading spinner for better user experience 📌 Clean and responsive design for all devices This project helped me strengthen my understanding of: 🔹 React.js (Hooks, Router, Context API) 🔹 Component-based architecture 🔹 Reusable UI components design 🔹 State management flow in real applications 🔹 Modern frontend development practices 🌐 Live Demo: https://lnkd.in/gZdUghWZ Always open to feedback and improvements 🙌 #ReactJS #TailwindCSS #WebDevelopment #FrontendDevelopment #JavaScript #ReactRouter #Netlify #GitHub #MERNStack #Projects #OpenToFeedback #CodingJourney
To view or add a comment, sign in
-
🎯 From a Simple Idea to a Smarter Game Experience What started as a basic “Guess the Number” game turned into an interesting challenge — 👉 How do you make a simple logic feel engaging, interactive, and user-friendly? Instead of stopping at just “Too High / Too Low”, I focused on improving the experience. 💡 I asked myself: How can I guide the user instead of making them guess blindly? That led me to build: 🔹 Multiple difficulty levels with dynamic ranges 🔹 A timer-based challenge to add pressure ⏱ 🔹 A smart hint system (range narrowing + “Very Close” feedback) 🔹 Bonus logic-based hints (Even/Odd after multiple attempts) 🔹 Score tracking to encourage better performance 🏆 🔹 Clean, responsive UI with Dark Mode 🌙 What I realized while building this: It’s not just about writing logic — it’s about designing how users interact with that logic. This project helped me think beyond code and focus on: ✨ User experience ✨ Real-time feedback systems ✨ Writing scalable and structured frontend logic 🔗 Live Demo: https://lnkd.in/dQ_48trb 🔗 Github Repository: https://lnkd.in/dtgmC67b Still improving it — would love your feedback! 😊 #WebDevelopment #Frontend #JavaScript #UIUX #Projects #BuildInPublic
To view or add a comment, sign in
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development