Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

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

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?
C) On line 11, onupload needs to be changed to onload.
A) On fine 11 onupload need to be changed to onload.
B) On line 8 alter needs to be changed to prompt
D) No changes needed. The alert message will appear when the page is loaded.

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

Actual exam question for CIW's 1D0-735 exam
Question #: 78
Topic #: 3
[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:

0/2000 characters
Martina
6 months ago
Hmmm, I’m not convinced. What if there’s another way to trigger the message?
upvoted 0 times
...
Jean
6 months ago
No way, it has to be C. onupload doesn’t even exist in this context.
upvoted 0 times
...
Maile
7 months ago
Wait, are you sure D is wrong? I thought alerts show up automatically.
upvoted 0 times
...
Daniel
7 months ago
Definitely agree with C! That’s the fix needed.
upvoted 0 times
...
Ezekiel
7 months ago
I think option C is correct. It should be onload.
upvoted 0 times
...
Aleta
7 months ago
I practiced something like this before, and I think changing "onupload" to "onload" makes sense, so I'm leaning towards C.
upvoted 0 times
...
Nobuko
8 months ago
I feel like the alert should show up automatically, so maybe D is the answer? But I could be wrong.
upvoted 0 times
...
Avery
8 months 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?
upvoted 0 times
...
Marla
8 months ago
I think option C is correct because "onupload" doesn't seem right for loading a page.
upvoted 0 times
...
Jenelle
8 months 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.
upvoted 0 times
...
Daryl
8 months 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.
upvoted 0 times
...
Rebeca
8 months 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.
upvoted 0 times
...
Cristy
8 months 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.
upvoted 0 times
...
Annita
8 months ago
Hmm, this one looks tricky. I'll need to carefully analyze the code to figure out where the issue is.
upvoted 0 times
...
Pearlene
1 year ago
Haha, 'alter' on line 8? Looks like someone needs to get their coding vocabulary in order. Option B is a no-go.
upvoted 0 times
...
Roslyn
1 year 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.
upvoted 0 times
Afton
1 year ago
D) No changes needed. The alert message will appear when the page is loaded.
upvoted 0 times
...
Raymon
1 year ago
I agree, the alert message should appear when the page loads.
upvoted 0 times
...
Regenia
1 year ago
C) On line 11, onupload needs to be changed to onload.
upvoted 0 times
...
Shanice
1 year ago
A) On fine 11 onupload need to be changed to onload.
upvoted 0 times
...
...
Margret
1 year 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.
upvoted 0 times
...
Graham
1 year ago
I agree with Alison. Changing onupload to onload on line 11 should make the 'Thank you' message appear.
upvoted 0 times
...
Alison
1 year ago
I think the answer is C) On line 11, onupload needs to be changed to onload.
upvoted 0 times
...
Rosenda
1 year 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.
upvoted 0 times
Venita
1 year ago
User 2
upvoted 0 times
...
Caprice
1 year ago
User 1
upvoted 0 times
...
...

Save Cancel