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 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:

Herschel
3 days ago
Okay, let me think this through. I know we need to display the last updated date and time, so I'm thinking option D might be the best choice since it uses the document.lastModified property.
upvoted 0 times
...
Lezlie
14 days ago
Hmm, I'm not sure about this one. There are a few options here, but I'm not confident which two are the best recommendations.
upvoted 0 times
...
Blossom
1 years 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
1 years ago
I'm going with C. It's simple and gets the job done. Why complicate things?
upvoted 0 times
...
Lindsey
1 years 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
11 months 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
11 months 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
12 months ago
I agree with you, C seems like the best option for displaying the last updated date and time.
upvoted 0 times
...
Roosevelt
12 months ago
I think C is the correct answer. Using 'new Date()' will give the current date and time.
upvoted 0 times
...
Hoa
1 years 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 years ago
I think C might also work, using 'new Date()' to display the current date and time.
upvoted 0 times
...
Pamella
1 years ago
I agree, D is the correct option. 'document.lastModified' will display the last updated date.
upvoted 0 times
...
...
Rosio
1 years ago
I think D is incorrect because it displays the date the document was last modified, not updated.
upvoted 0 times
...
Youlanda
1 years ago
I'm not sure, but D could also be a possible answer.
upvoted 0 times
...
Kris
1 years ago
I agree with Nelida, C seems like the correct code to use.
upvoted 0 times
...
Dahlia
1 years 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
1 years ago
User 2
upvoted 0 times
...
Ernestine
1 years ago
User 1
upvoted 0 times
...
...
Nelida
1 years ago
I think the answer is C.
upvoted 0 times
...

Save Cancel