fix(curriculum): proposed fix for some issues found in source files (#50539)

This commit is contained in:
DanielRosa74 2023-05-28 04:21:35 -03:00 committed by GitHub
parent f1a11672cc
commit 45db398f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ We defined the variable `food` in the loop head and this variable was set to eac
# --instructions--
We've defined a function `countOnline` which accepts one argument, `allUsers`. Use a <dfn>for...in</dfn> statement inside this function to loop through the `allUsers` object and return the number of users whose online property is set to `true`. An example of an object which could be passed to `countOnline` is shown below. Each user will have an `online` property set to either `true` or `false`.
We've defined a function `countOnline` which accepts one argument, `allUsers`. Use a <dfn>for...in</dfn> statement inside this function to loop through the `allUsers` object and return the number of users whose `online` property is set to `true`. An example of an object which could be passed to `countOnline` is shown below. Each user will have an `online` property set to either `true` or `false`.
```js
{

View File

@ -9,7 +9,7 @@ dashedName: step-28
You may notice there is still a small border at the bottom of your `.large` element. To reset this, give your `.large, .medium` selector a `border` property set to `0`.
Note: the `medium`(medium) class will be utilized in step 37 for the thinner bars of the nutrition label.
Note: the `medium`(medium) class will be utilized later for the thinner bars of the nutrition label.
# --hints--

View File

@ -7,7 +7,7 @@ dashedName: step-11
# --description--
Now it's time to start building the the HTML for the page with your destructured data. You can do this with a combination of the `innerHTML` property, the compound assignment operator (`+=`), and the `innerHTML` property.
Now it's time to start building the HTML for the page with your destructured data. You can do this with a combination of the compound assignment operator (`+=`) and the `innerHTML` property.
Inside your callback function, use the compound assignment operator to append an empty template literal to the `innerHTML` of `authorContainer`.

View File

@ -11,7 +11,7 @@ Create an `isSpam` function using the `const` keyword and arrow syntax. The func
# --hints--
You should use `const` to delcare an `isSpam` variable.
You should use `const` to declare an `isSpam` variable.
```js
assert.match(code, /const\s+isSpam\s*=/);