I need some guidance here. As you’ll see in my screenshots, the autograder is seeing an empty string instead of ‘hidden’ for the visibility property of faultyItems. It’s doing this for the pilot and co-pilot names as well. What’s strange is that this portion of the site works fine. Am I doing things in a way that they didn’t intend for them to be done? I’m currently updating those properties in the submit event listener.
I also didn’t understand what they meant in the instructions when they said "
formSubmission() will take in a
document parameter and strings representing the pilot, co-pilot, fuel level, and cargo mass. Using the values in those strings and the
document parameter for your HTML document, update the shuttle requirements as described below."
What argument is intended to go into that document parameter? A reference to the HTML page? There’s also a “list” parameter for the formSubmission function. What’s the intended argument for that? I think this is likely the root of my problem, because I just skipped over that part for the time being.
Thanks for the help.