fix: remove quotation marks from code tag text (#38316)
This commit is contained in:
@ -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<sup>th</sup>".
|
||||
- text: Your added <code>time</code> tags should wrap around the text <code>Thursday, September 15<sup>th</sup></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");
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user