ITT: We give each of the challenges a difficulty level (easy, medium, difficult, and something harder than difficult... Need a name for that one)
I've already put difficulty levels on some of them, just need suggestions.
You can also do the challenges, if you want
This should be easy, but I'm having a hard time with it.
Create a form validation in javascript so that, whenever you select an option from the selector (example - option 2), you get an alert if a corresponding text box isn't filled out.
For example, the selector would say "How would you like us to contact you?" The options are email, phone, snail mail, whatever. If you select email, but leave the "email" form text input box empty, it prompts you.
But only if you select the email option in the selector.
This is proving to be surprisingly difficult.
>>55616518
It seems you're not checking the state of the text boxes correctly... Try changing how you check the input
>>55616707
>It seems you're not checking the state of the text boxes correctly... Try changing how you check the input
...what are you talking about? I didn't even post up any code.
My problem with the issue is not "checking the input" or getting javascript to call an alert if the text box is empty. My problem is getting both of these both to happen at once. For whatever reason the && or + operator isn't working and I'm not sure why.
>>55616465
rolling for something I'll never do