New Year Sale 2026! 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 12 Question 92 Discussion

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

0/2000 characters
Teri
5 days ago
I remember a practice question where we had to use `document.lastModified`, but I can't recall if that's the right approach here.
upvoted 0 times
...
Cecily
10 days ago
I think we need to use JavaScript to get the last updated date, but I'm not entirely sure about the exact syntax.
upvoted 0 times
...
Franchesca
15 days ago
Okay, let me think this through. I'd probably start by researching how to get the last modified date in JavaScript, and then figure out how to display that on the page. Gotta love these tricky little exam questions!
upvoted 0 times
...
Glenn
20 days ago
I'm a bit confused on this one. Is there a specific function or method we're supposed to use, or can we kind of approach it however we want?
upvoted 0 times
...
Margart
25 days ago
Ooh, I think I remember learning about this in class. Isn't there an HTML attribute you can use to display the last updated date?
upvoted 0 times
...
Coral
1 month ago
Ugh, I'm not super familiar with JavaScript. Maybe I could try using a server-side language like PHP to get the file's last modified timestamp?
upvoted 0 times
...
Glenn
1 month ago
Hmm, this seems straightforward. I'd probably start by looking into the JavaScript Date object and see if there's a way to get the last modified date.
upvoted 0 times
...

Save Cancel