@Miculino
Posted
Hey @Rohitgour03
Congrats on completing the challenge. Your solution looks really good.
As @ayoam suggested, that could be a possible solution, but given your project, I don't think you'd actually want to submit the form. You can recreate the submit effect by emptying the inputs after you click the submit button.
Also, based on @ayoam suggestion, you don't need to write (allValid==true)
- you can simply write if (allValid)
as that variable will be converted to a boolean value automatically and checked for validity
Marked as helpful
@Rohitgour03
Posted
@Remus432 Thanks, buddy ππ It's a really smart way of writing the conditional expression returning the boolean value. Thank you again for giving your feedback. π₯