fix: remove quotation marks from code tag text (#38316)

This commit is contained in:
Shaun Hamilton
2020-08-31 04:53:09 +01:00
committed by GitHub
parent e0a062a3e7
commit fe3f0b2ac4
8 changed files with 12 additions and 12 deletions

View File

@ -24,13 +24,13 @@ Camper Cat's Mortal Kombat survey results are in! Wrap a <code>time</code> tag a
```yml
tests:
- text: Your code should have a <code>p</code> element which includes the text "Thank you to everyone for responding to Master Camper Cat's survey." and include a <code>time</code> element.
- text: Your code should have a <code>p</code> element which includes the text <code>Thank you to everyone for responding to Master Camper Cat's survey.</code> and include a <code>time</code> element.
testString: assert(timeElement.length);
- text: Your added <code>time</code> tags should wrap around the text "Thursday, September 15&lt;sup&gt;th&lt;/sup&gt;".
- text: Your added <code>time</code> tags should wrap around the text <code>Thursday, September 15&lt;sup&gt;th&lt;/sup&gt;</code>.
testString: assert(timeElement.length && $(timeElement).html().trim() === "Thursday, September 15<sup>th</sup>");
- text: Your added <code>time</code> tag should have a <code>datetime</code> attribute that is not empty.
testString: assert(datetimeAttr && datetimeAttr.length);
- text: Your added <code>datetime</code> attribute should be set to a value of 2016-09-15.
- text: Your added <code>datetime</code> attribute should be set to a value of <code>2016-09-15</code>.
testString: assert(datetimeAttr === "2016-09-15");
```