Responsive Single Page Application | React | Tailwind | Vite

Solution retrospective
Hello Developers👋
I enjoyed building every part of this project. Creating the responsive navbar along with dropdown navigation links was so much fun. React, react-router-dom are simply awesome!
Please DO NOT FORGET to checkout the login functionality 😄
As always, I'd really appreciate if you could answer the following:👇
1.What did I do wrong? 2.What did I do right? 3.How can I improve? common mistakes?
🙏Thanks in advance Happy Coding😄
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Eileenpk
Hi Tushar! your project looks great, I found it very clean and easy to read. I agree, react-router-dom is awesome! I checked the login functionality, and I found that, while it wouldn't let me just use test as an email because it was missing the @ symbol, test@ passed with no endpoint. While the
<input type='email' >
gives you some built-in validation, it might not be as robust as you would like. It might be helpful to add something like this for form validation on an email.function validateEmail(email) { if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email.value)) { return (true) } alert("You have entered an invalid email address!") return (false) }
If you found this helpful please mark it as such :) Let's connect on LinkedIn! www.linkedin.com/in/eileen-dangelo
Marked as helpful
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