mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): correct example abbreviation (#62534)
This commit is contained in:
@@ -69,7 +69,7 @@ assert.hasAllKeys(results, ["Rock", "Paper", "Scissors"]);
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -103,7 +103,7 @@ assert.isFalse(hasPlayerWonTheRound("Rock", "Paper"));
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -70,7 +70,7 @@ if(result.startsWith("Player wins!")){
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -105,7 +105,7 @@ getRandomComputerResult = oldRandomResult;
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -79,7 +79,7 @@ assert.notEqual(computedStyle, "none");
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -124,7 +124,7 @@ assert.notEqual(window.getComputedStyle(optionsContainer).display, "none");
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
@@ -356,7 +356,7 @@ scissorsBtn.addEventListener("click", function () {
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -73,7 +73,7 @@ assert.include(options, "Scissors");
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -83,7 +83,7 @@ assert.strictEqual(computerScore, 0);
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -83,7 +83,7 @@ assert.equal(roundResultsMsg, document.getElementById("results-msg"));
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -83,7 +83,7 @@ assert.equal(scissorsBtn, document.getElementById("scissors-btn"));
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -96,7 +96,7 @@ assert.include(availableOptions, roundResultsMsg.innerText);
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -83,7 +83,7 @@ assert.equal(resetGameBtn, document.getElementById("reset-game-btn"));
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -60,7 +60,7 @@ assert.strictEqual(testMsg, "Game has been reset");
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
@@ -58,7 +58,7 @@ Submit to continue.
|
||||
<li>Paper beats Rock</li>
|
||||
</ul>
|
||||
<p>
|
||||
If the player and computer choose the same option (Ex. Paper and
|
||||
If the player and computer choose the same option (e.g., Paper and
|
||||
Paper), then no one gets the point.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user