@Aaliyan10
Submitted
@viniciuspmacedo
@Aaliyan10
Submitted
Congratulations for your solution! You can use the line-height property for improve your layout. line-height property
@appsbygita
Submitted
Amazing solution. Congratulations!
@KseniiaErnest
Submitted
Hello Frontend Community! I believe that I've completed all the essential parts of the challenge. However, when incorrect input data is submitted, and an error or errors are triggered, the input data gets cleared. According to the challenge's instructions (error handling slides), incorrect data should remain present in the input fields. I think the solution should not be that difficult, but I cannot see it. Of course, I will check the solutions here and probably find it pretty quickly, but I would still appreciate feedback. :)
Hello! In the "AgeInputForm" you can put a checking before you clean the inputs.
// Clear input values after successful submission
if (setDayError === "" && setMonthError === "" && setYearError === "") {
setDay("");
setMonth("");
setYear("");
}
Marked as helpful