Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW Exam 1D0-735 Topic 7 Question 68 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 68
Topic #: 7
[All 1D0-735 Questions]

Consider the following code:

What change if any needs to be made for a "Thank you" message to appear when the checkout page is loaded?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Hildegarde
2 months ago
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?
upvoted 0 times
...
Lore
2 months ago
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.
upvoted 0 times
Effie
1 months ago
I see your point, C does make sense as well. It's a tough choice between B and C.
upvoted 0 times
...
Aron
2 months ago
I'm not so sure about B. I think C might be the better option, changing 'onupload' to 'onload' on line 11.
upvoted 0 times
...
Veta
2 months ago
I agree, it does seem strange to use 'alter' in that context.
upvoted 0 times
...
Leonida
2 months ago
I think B is the correct answer. Changing 'alter' to 'prompt' on line 8 should work.
upvoted 0 times
...
...
Raymon
2 months ago
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.
upvoted 0 times
...
Lyda
3 months ago
I'm not sure, but I think D) No changes needed. The alert message will appear when the page is loaded.
upvoted 0 times
...
Brock
3 months ago
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.
upvoted 0 times
Alonzo
2 months ago
Yes, that change seems like the most appropriate fix to ensure the 'Thank you' message appears on page load.
upvoted 0 times
...
Wade
2 months ago
I agree, changing onupload to onload on line 11 should trigger the 'Thank you' message when the page loads.
upvoted 0 times
...
Karrie
2 months ago
I think C is the correct answer too. It makes sense to change onupload to onload on line 11.
upvoted 0 times
...
...
Arthur
3 months ago
I agree with Lawanda, changing onupload to onload on line 11 should make the 'Thank you' message appear.
upvoted 0 times
...
Lawanda
3 months ago
I think the answer is C) On line 11, onupload needs to be changed to onload.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77