Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW 1D0-735 Exam - Topic 3 Question 78 Discussion

Posted by Ngoc on Feb 10, 2025 at 01:20 AM

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?

Suggested Answer: C

Get Premium 1D0-735 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
MA
Martina 11 months ago
Hmmm, I’m not convinced. What if there’s another way to trigger the message?
JE
Jean 11 months ago
No way, it has to be C. onupload doesn’t even exist in this context.
MA
Maile 11 months ago
Wait, are you sure D is wrong? I thought alerts show up automatically.
DA
Daniel 12 months ago
Definitely agree with C! That’s the fix needed.
EZ
Ezekiel 12 months ago
I think option C is correct. It should be onload.
AL
Aleta 12 months ago
I practiced something like this before, and I think changing "onupload" to "onload" makes sense, so I'm leaning towards C.
NO
Nobuko 1 year ago
I feel like the alert should show up automatically, so maybe D is the answer? But I could be wrong.
AV
Avery 1 year ago
I'm not entirely sure, but I remember a similar question where we had to change an event handler. Maybe it's A instead?
MA
Marla 1 year ago
I think option C is correct because "onupload" doesn't seem right for loading a page.
JE
Jenelle 1 year ago
Based on the code, it seems like the "Thank you" message should appear when the page loads, so I'm leaning towards option D.
DA
Daryl 1 year ago
I'm a bit confused by the different event handlers used in the code. I'll need to double-check my understanding of how those work.
RE
Rebeca 1 year ago
I'm pretty confident the answer is C. The onupload event needs to be changed to onload to make the "Thank you" message appear when the page loads.
CR
Cristy 1 year ago
Okay, let me think this through step-by-step. I think the key is to identify where the "Thank you" message is supposed to be triggered.
AN
Annita 1 year ago
Hmm, this one looks tricky. I'll need to carefully analyze the code to figure out where the issue is.
PE
Pearlene 2 years ago
Haha, 'alter' on line 8? Looks like someone needs to get their coding vocabulary in order. Option B is a no-go.
RO
Roslyn 2 years ago
I think the alert message will only show up if you click something, not just when the page loads. Option D doesn't seem right to me.
AF
Afton 2 years ago
↳ replying to Roslyn
D) No changes needed. The alert message will appear when the page is loaded.
RA
Raymon 2 years ago
↳ replying to Roslyn
I agree, the alert message should appear when the page loads.
RE
Regenia 2 years ago
↳ replying to Roslyn
C) On line 11, onupload needs to be changed to onload.
SH
Shanice 2 years ago
↳ replying to Roslyn
A) On fine 11 onupload need to be changed to onload.
MA
Margret 2 years ago
I'm not sure, but I think D) No changes needed. The alert message will appear when the page is loaded makes sense too.
GR
Graham 2 years ago
I agree with Alison. Changing onupload to onload on line 11 should make the 'Thank you' message appear.
AL
Alison 2 years ago
I think the answer is C) On line 11, onupload needs to be changed to onload.
RO
Rosenda 2 years ago
On line 11, it says 'onupload', but it should be 'onload' to display the 'Thank you' message when the page loads. Option C is the correct answer.
VE
Venita 2 years ago
↳ replying to Rosenda
User 2
CA
Caprice 2 years ago
↳ replying to Rosenda
User 1
0/2000 characters

Save Cancel