chore(curriculum): removed unnecessary code tags in football team cards project to help localization (#50245)

removed unnecessary code tags to help localization
This commit is contained in:
Dario-DC
2023-05-02 19:26:03 +02:00
committed by GitHub
parent 5e17868c74
commit 5667f0eebf
10 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ dashedName: step-6
# --description--
Inside the `myFavoriteFootballTeam` object, add a new property with a `key` named `team` and a string value of `Argentina`.
Inside the `myFavoriteFootballTeam` object, add a new property with a key named `team` and a string value of `Argentina`.
# --hints--

View File

@@ -7,7 +7,7 @@ dashedName: step-7
# --description--
Below the `team` property, add a new property with a `key` named `sport` and a string value of `Football`.
Below the `team` property, add a new property with a key named `sport` and a string value of `Football`.
# --hints--
@@ -17,7 +17,7 @@ Your `myFavoriteFootballTeam` object should have a `sport` property.
assert.property(myFavoriteFootballTeam, 'sport');
```
Your `team` property should be set to `Football`.
Your `sport` property should be set to `Football`.
```js
assert.equal(myFavoriteFootballTeam.sport, 'Football');

View File

@@ -7,7 +7,7 @@ dashedName: step-8
# --description--
Below the `sport` property, add a new property with a `key` named `year` and a number value of `1986`.
Below the `sport` property, add a new property with a key named `year` and a number value of `1986`.
# --hints--

View File

@@ -7,7 +7,7 @@ dashedName: step-9
# --description--
Below the `year` property, add a new property with a `key` named `isWorldCupWinner` and a boolean value set to `true`.
Below the `year` property, add a new property with a key named `isWorldCupWinner` and a boolean value set to `true`.
# --hints--

View File

@@ -7,7 +7,7 @@ dashedName: step-10
# --description--
Below the `isWorldCupWinner` property, add a new `key` called `headCoach` with a value of an empty object. Inside that object, add a property with a `key` of `coachName` and a string value of `Carlos Bilardo`. Below that property, add another `key` called `matches` with a number value of 7.
Below the `isWorldCupWinner` property, add a new key called `headCoach` with a value of an empty object. Inside that object, add a property with a key of `coachName` and a string value of `Carlos Bilardo`. Below that property, add another key called `matches` with a number value of 7.
# --hints--

View File

@@ -7,7 +7,7 @@ dashedName: step-11
# --description--
Below the `headCoach` property, create a new property with a `key` named `players` with the value of an empty array.
Below the `headCoach` property, create a new property with a key named `players` with the value of an empty array.
# --hints--

View File

@@ -9,7 +9,7 @@ dashedName: step-16
Now that you have tested the `Object.freeze()` method, you can delete those two lines of code from the last lesson.
The next step is to access the `key` called `sport` from the `myFavoriteFootballTeam` object and assign it to a new `const` variable called `sport`.
The next step is to access the key called `sport` from the `myFavoriteFootballTeam` object and assign it to a new `const` variable called `sport`.
Remember you can use dot notation for this.
@@ -33,7 +33,7 @@ You should use `const` to declare a `sport` variable.
assert.match(code, /const\s+sport\s*=/);
```
You should assign the value of the `sport` `key` from the `myFavoriteFootballTeam` object to the `sport` variable.
You should assign the value of the `sport` key from the `myFavoriteFootballTeam` object to the `sport` variable.
```js
assert.equal(sport, myFavoriteFootballTeam.sport);

View File

@@ -7,7 +7,7 @@ dashedName: step-17
# --description--
Below the `sport` variable, access the `key` called `team` from the `myFavoriteFootballTeam` object and assign it to a new `const` variable called `team`.
Below the `sport` variable, access the key called `team` from the `myFavoriteFootballTeam` object and assign it to a new `const` variable called `team`.
# --hints--
@@ -17,7 +17,7 @@ You should use `const` to declare a `team` variable.
assert.match(code, /const\s+team\s*=/);
```
You should assign the value of the `team` `key` from the `myFavoriteFootballTeam` object to the `team` variable.
You should assign the value of the `team` key from the `myFavoriteFootballTeam` object to the `team` variable.
```js
assert.equal(team, myFavoriteFootballTeam.team);

View File

@@ -13,7 +13,7 @@ Start by adding a `case` clause for `nickname` inside your `switch` statement.
# --hints--
You should add a new `case` clause for ``"nickname"`` inside your `switch` statement.
You should add a new `case` clause for `nickname` inside your `switch` statement.
```js
assert.match(code, /\s*case\s*('|"|`)\s*nickname\s*\1\s*:\s*/)

View File

@@ -7,7 +7,7 @@ dashedName: step-43
# --description--
Before you can move onto the next case, you will need to add a `break` statement:
Before you can move onto the next `case`, you will need to add a `break` statement:
```js
case "example":