Tried to validate the inputs

I tried to validate the input fields based upon a “” inputed for the
prompt, but i couldn’t figure out how to link back to previous code