Standardize Times with the HTML5 datetime Attribute - time element has a closing tag


Mortal Kombat Tournament Survey Results

<!-- Add your code below this line -->

<p>Thank you to everyone for responding to Master Camper Cat's survey. The best day to host the vaunted Mortal Kombat tournament is Thursday, September 15<sup>th</sup>. May the best ninja win!</p>

<!-- Add your code above this line -->

    <p>Posted by: Sub-Zero on
    <time datetime="2016-09-15">Thursday, September 15<sup>th</sup></time></p>
    <p>Johnny Cage better be there, I'll finish him!</p>
    <p>Posted by: Doge on <time datetime="2016-09-15">Thursday, September 15<sup>th</sup></time></p>
    <p>Wow, much combat, so mortal.</p>
    <p>Posted by: The Grim Reaper on <time datetime="2016-09-15">Thursday, September 15<sup>th</sup></time></p>
    <p>Looks like I'll be busy that day.</p>
© 2018 Camper Cat

I can’t pass this question
error: Make sure your time element has a closing tag.

What browser are you using? There seems to be a bug with this question on certain browsers. Try it again in chrome if you haven’t already.

I used chrome browser. I tried many time but it doesn’t work

1 Like

Can you point out where you have made the change in the above code

Reset the code and reread the directions more carefully

primary code : “< time datetime=“2016-08-13T20:01Z”>August 13th< /time >.”
My changed : “< time datetime=“2016-09-15”>Thursday, September 15th< /time >.”

Hint: You are missing this

where is the time tag?

That is the part of the excercise… you need to add the time tag…see question again

As I said, read the directions more carefully.

1 Like

Use the time tag at the 1st para. Between comment section

1 Like