BlackFriday 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 3 Question 66 Discussion

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

Laurie has been instructed to add code to a Web page to display the date and time when the document was last updated Which code should she use?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Blossom
1 months ago
Haha, I bet Laurie's boss is going to be thrilled if she uses A or B. That would just display the history length or browser version, not the actual date!
upvoted 0 times
...
Marge
2 months ago
I'm going with C. It's simple and gets the job done. Why complicate things?
upvoted 0 times
...
Lindsey
2 months ago
Hmm, D looks good to me. 'document.lastModified' seems like the most accurate way to get the last updated date.
upvoted 0 times
Candra
3 days ago
I would go with D as well. 'document.lastModified' seems like the most reliable way to get the last updated date.
upvoted 0 times
...
Hobert
5 days ago
I'm not sure, but D also looks like a good choice. 'document.lastModified' should give the last updated date.
upvoted 0 times
...
Benton
27 days ago
I agree with you, C seems like the best option for displaying the last updated date and time.
upvoted 0 times
...
Roosevelt
1 months ago
I think C is the correct answer. Using 'new Date()' will give the current date and time.
upvoted 0 times
...
Hoa
1 months ago
I'm not sure, but I think D is the best choice. 'document.lastModified' should show the last updated date.
upvoted 0 times
...
Taryn
1 months ago
I think C might also work, using 'new Date()' to display the current date and time.
upvoted 0 times
...
Pamella
1 months ago
I agree, D is the correct option. 'document.lastModified' will display the last updated date.
upvoted 0 times
...
...
Rosio
2 months ago
I think D is incorrect because it displays the date the document was last modified, not updated.
upvoted 0 times
...
Youlanda
2 months ago
I'm not sure, but D could also be a possible answer.
upvoted 0 times
...
Kris
2 months ago
I agree with Nelida, C seems like the correct code to use.
upvoted 0 times
...
Dahlia
2 months ago
I think C is the way to go! Using 'new Date()' is the most straightforward way to get the last updated date.
upvoted 0 times
Onita
2 months ago
User 2
upvoted 0 times
...
Ernestine
2 months ago
User 1
upvoted 0 times
...
...
Nelida
3 months ago
I think the answer is C.
upvoted 0 times
...

Save Cancel