@A-amon
Posted
Hey, good job! I don't think it's nice to add the error message as the input value. It would be better to add it as a small text below the input for e.g. As for the JS, it would be better to add class to change the style when there are errors, instead of change the .styles directly in JS. For e.g. adding .error class in JS then setting the styles in CSS.