@jonathan401
Posted
Hey there @jccaychop your solution looks great π. I didn't look at your code because I've not started this challenge but I have a suggestion, I'm guessing you used an input of type text
for the card number input field but since this is field is expected to only receive numbers you could consider changing it's type to number
this in itself will provide a form of validation and will reduce the code you need to write to validate that field.
As I said I only provided this feedback by just checking out your solution βΊοΈ. Feel free to correct me if I'm wrong π.
Once again congrats on completing this challenge ππ.
Marked as helpful
@jccaychop
Posted
@jonathan401, thanks for the suggestion, and yes, that field should be of type number
.
But in the guidelines of the challenge, it was required that numbers and letters be entered and then we validate so that only numbers are received.
Therefore, my solution was that way.
I quite liked this challenge.
Have a nice day.
@jonathan401
Posted
@jccaychop I get it now βΊοΈ. Nice work on this challenge ππ