-1
Good night,
I’m a novice programmer who was testing what I learned in a course, I was trying to make a simple site registration, but at the time of reporting age, I wanted it to be only for those over 18, Only to test it and when the person typed a word instead of a number like that showed up a message with "Invalid answer" and it was possible for the user to try again, but I could not. I don’t know what I’m doing wrong, someone could help me?
Welcome to [en.so]! You have posted an image of the code and/or error message. Although it sounds like a good idea, it’s not! One of the reasons is that if someone wants to answer the question, they can’t copy the code and change something inside. Clicking put the code/error as text. See more about this in these links - Manual on how NOT to ask questions, Post Error Message as Picture
– Lucas