mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-13 00:03:05 +08:00
chore: resolve more crowdin issues (#46890)
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ Your new radio button should have an `id` attribute. Check that there is a space
|
||||
assert($('input')[1].hasAttribute('id'));
|
||||
```
|
||||
|
||||
Your new radio element should have an `id` attribute with the value `outdoor`. You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks.
|
||||
Your new radio button should have an `id` attribute with the value `outdoor`. You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks.
|
||||
|
||||
```js
|
||||
assert($('input')[1].id.match(/^outdoor$/));
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ Your `#black-character` selector should have a `height` property set to `500px`.
|
||||
assert(new __helpers.CSSHelp(document).getStyle('#black-character')?.height === '500px');
|
||||
```
|
||||
|
||||
Your `#black-character` selector should have a `background-color` property to `rgb(45, 31, 19)`.
|
||||
Your `#black-character` selector should have a `background-color` property set to `rgb(45, 31, 19)`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('#black-character')?.backgroundColor === 'rgb(45, 31, 19)');
|
||||
|
||||
Reference in New Issue
Block a user