@vanzasetia
Posted
Hi, Matheus! π
Congratulations on finishing this challenge! π Good effort on this challenge! π
You can validate the user input by using RegEx (Regular Expression). Try to create your own RegEx or copy-paste from the existing solution and try to improve it. I've done some research on the internet and I couldn't find the RegEx that fits what I need so, my recommendation is to either create your own RegEx or improve the RegEx that you've found on the internet.
Now, some feedback from me.
- I highly recommend using classes to reference all the elements that you want to style instead of using
id
.id
is not reuseable and has high specificity which makes the stylesheet hard to maintain. So, using classes would be the best choice to style all the elements. - The submit button should have a
type="submit"
to prevent it from behaving unexpectedly across browsers.
That's it! Hope you find this useful! π
@matheuspergoli
Posted
@vanzasetia Thanks for your feedback!
@vanzasetia
Posted
@matheuspergoli You're welcome!