My javascript code is quite long. I would like to ask for your help in providing a shorter alternative code. Thank you
Mr-Khaira
@Mr-KhairaAll comments
- @jestaputraSubmitted 7 months agoWhat are you most proud of, and what would you do differently next time?@Mr-KhairaPosted 7 months ago
Hi, I first entered an invalid date and month, and pressed the button, it generated -1, after that valid input and pressed enter nothing changed. The component is not being re-rendered.
Maybe you should debug the code. Please check out my solution and provide an opinion as well.
Thank you.
0 - @hanna-skrylSubmitted 7 months agoWhat are you most proud of, and what would you do differently next time?
I'm proud of having used Angular's new features, including strictly typed reactive forms and Angular Signals.
What challenges did you encounter, and how did you overcome them?It was quite challenging to deploy the project to GitHub pages.
- @mayurDayal2000Submitted 7 months ago@Mr-KhairaPosted 7 months ago
Hi, amazing design, but I think you have missed the input field validation part for "___ is required".
1 - @kaamiikSubmitted 7 months agoWhat challenges did you encounter, and how did you overcome them?
On the form Because there is a different styling on mobile and desktop, when you wanna show the error message It was some how challenging.
What specific areas of your project would you like help with?Please let me know If you see any mistake in my code or If you have any suggestion for me Please leave me a comment.