Added quotations around 'Question #' (#46302)

* Added quotations around 'Question #'

* fix: remove double quotes in assert

Co-authored-by: Casey <casay725@gmail.com>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
pull/46335/head
casem725 2022-06-03 16:35:45 -04:00 committed by GitHub
parent e581bd9081
commit e627b5e0ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ dashedName: step-33
# --description--
To prevent unnecessary repetition, target the `before` pseudo-element of the `p` element, and give it a `content` property of `Question #`.
To prevent unnecessary repetition, target the `before` pseudo-element of the `p` element, and give it a `content` property of `"Question #"`.
# --hints--
@ -17,7 +17,7 @@ You should use the `p::before` selector.
assert.exists(new __helpers.CSSHelp(document).getStyle('p::before'));
```
You should give the `p::before` pseudo-element a `content` property of `Question #`.
You should give the `p::before` pseudo-element a `content` property of `"Question #"`.
```js
assert.include(new __helpers.CSSHelp(document).getStyle('p::before')?.content, 'Question #');