Ah, the joys of coding. I'm sure whoever wrote this code was having a 'Thank you' of a time. But hey, at least they're giving us multiple choice options to choose from. Makes it a bit easier than having to write out the whole solution, am I right?
I'm going to have to go with B on this one. Changing 'alter' to 'prompt' on line 8 should do the trick. Although, I do have to wonder why they're using 'alter' in the first place. That's a bit odd.
I think D is the correct answer. The code looks good as-is, and the alert message should already be appearing when the page loads. No changes needed here.
Hmm, this seems like a tricky one. I'm going to go with C - changing onupload to onload on line 11. That seems like the most logical fix to get the 'Thank you' message to appear when the page loads.
Hildegarde
4 months agoLore
4 months agoEffie
3 months agoAron
3 months agoVeta
3 months agoLeonida
4 months agoRaymon
4 months agoLyda
4 months agoBrock
4 months agoAlonzo
3 months agoWade
3 months agoKarrie
4 months agoArthur
4 months agoLawanda
4 months ago