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
2 months agoLore
2 months agoEffie
1 months agoAron
2 months agoVeta
2 months agoLeonida
2 months agoRaymon
2 months agoLyda
3 months agoBrock
3 months agoAlonzo
2 months agoWade
2 months agoKarrie
2 months agoArthur
3 months agoLawanda
3 months ago