Standardize Times with the HTML5 datetime Attribute Help

Tell us what’s happening:
Can seem to pass the challenge " Your added time tags should wrap around the text Thursday, September 15<sup>th</sup> " I can’t tell if it’s an issue with my browser or my code.

  **Your code so far**

<body>
<header>
  <h1>Tournaments</h1>
</header>
<article>
  <h2>Mortal Kombat Tournament Survey Results</h2>

  <!-- Only change 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 <time datetime="2016-09-15">Thursday, September 15<sup>th</sup>.</time> May the best ninja win!</p>

  <!-- Only change code above this line -->

  <section>
    <h3>Comments:</h3>
    <article>
      <p>Posted by: Sub-Zero on <time datetime="2016-08-13T20:01Z">August 13<sup>th</sup></time></p>
      <p>Johnny Cage better be there, I'll finish him!</p>
    </article>
    <article>
      <p>Posted by: Doge on <time datetime="2016-08-15T08:12Z">August 15<sup>th</sup></time></p>
      <p>Wow, much combat, so mortal.</p>
    </article>
    <article>
      <p>Posted by: The Grim Reaper on <time datetime="2016-08-16T00:00Z">August 16<sup>th</sup></time></p>
      <p>Looks like I'll be busy that day.</p>
    </article>
  </section>
</article>
<footer>&copy; 2018 Camper Cat</footer>
</body>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36

Challenge: Standardize Times with the HTML5 datetime Attribute

Link to the challenge:

The message is:

Your added time tags should wrap around the text Thursday, September 15<sup>th</sup> .

Notice that the period (.) is not inside the highlighted text. This is what you have:

<time datetime="2016-09-15">Thursday, September 15<sup>th</sup>.</time>

Note where you’ve put </time> relative to that period.

When I fix that, your code passes for me.

1 Like

Thank you. I though the period was part of what needed to be wrapped because of the period in the challenge criteria. I moved the tag to not include it and it passed. You have no idea how frustrating that was lol

Trust me, we’ve all been there. Frustration is a big part of a developer’s life.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.