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