Skip to content

Commit

Permalink
fix(curriculum): some typos (freeCodeCamp#56763)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeger00 authored Oct 21, 2024
1 parent 4f2d879 commit d565948
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ assert(usesFlex || usesFlexMedia)
<div class="desc">
<h2>Fast Shipping</h2>
<p>
We make sure you recieve your trombone as soon as we have
We make sure you receive your trombone as soon as we have
finished making it. We also provide free returns if you are not
satisfied.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ for (let anchor of anchors) {
<h1>Discover Italy</h1>
<p>Art, folklore, food, nature, and more. Choose among our wide selection of guided tours and excursions, and live an unforgettable experience exploring Italy.</p>
<h2>Packages</h2>
<p>We offer an extensive range of holiday solutions to accomodate the needs of all our clients. From daily excursions in the most beautiful cities, to thorough tours of hidden villages and medieval towns to discover Italy's lesser-known sides.</p>
<p>We offer an extensive range of holiday solutions to accommodate the needs of all our clients. From daily excursions in the most beautiful cities, to thorough tours of hidden villages and medieval towns to discover Italy's lesser-known sides.</p>
<ul>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Group Travels</a></li>
<li><a href="https://www.freecodecamp.org/learn" target="_blank">Private Tours</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ assert(leftMargin - rightMargin < 6 && rightMargin - leftMargin < 6)
</li>
<li>
<strong>1953</strong> - crosses a short, sturdy dwarf breed of wheat
with a high-yeidling American breed, creating a strain that responds
with a high-yielding American breed, creating a strain that responds
well to fertilizer. It goes on to provide 95% of Mexico's wheat.
</li>
<li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ Gives animations to the page.

---

Improves Search Emgine Optimiztion (SEO).
Improves Search Emgine Optimization (SEO).

#### --answer--

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Generate rows by using a function that outputs prime numbers and maps them to ea

---

Use a loop to generate each row by multipling adjacent elements from the previous row.
Use a loop to generate each row by multiplying adjacent elements from the previous row.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Type `nano [FILE]`, then press the **Enter** key

#### --text--

What type of files is nano capable of creating and modifiying?
What type of files is nano capable of creating and modifying?

#### --distractors--

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dashedName: step-3

# --description--

To check which loan a user is qualified for based on the `annualIncome` and `creditScore`, you have to use `if/else if` statement or a ternary right inside the `getLoanMessage` function. You'll then return the appropraite message in the block of each condition.
To check which loan a user is qualified for based on the `annualIncome` and `creditScore`, you have to use `if/else if` statement or a ternary right inside the `getLoanMessage` function. You'll then return the appropriate message in the block of each condition.

Starting with the duplex loan, check if `annualIncome` is greater than or equal to `minIncomeForDuplex` AND if `creditScore` is greater than `minCreditScoreForDuplex`.

Expand Down
4 changes: 2 additions & 2 deletions tools/scripts/seed-exams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- `wrongAnswers`: Array of answers. There should be at least 4, but 6-7 would be ideal.
- `correctAnswers`: Array of answers. There should be at least 1, but 2 or more would be ideal when possible.

4. `wrongAnswers` and `correctAnwers` arrays:
4. `wrongAnswers` and `correctAnswers` arrays:

- `answer`: This is one of the multiple choice options

Expand All @@ -28,6 +28,6 @@
- Change the `examPath` variable in the `add-nano-ids.js` file to the name of the new exam file
- Run it with `node add-nano-ids.js`. It will add an `id` to each `question`, and each `answer`.

Add a `deprecated: true` property to any of the `questions`, `wrongAnswers`, or `correctAnwers`. Any that include this will be omitted when generating an exam.
Add a `deprecated: true` property to any of the `questions`, `wrongAnswers`, or `correctAnswers`. Any that include this will be omitted when generating an exam.

The exam files in this folder are not used in production. Never push real exam questions to GitHub or anywhere public. These exams are for local development and testing. To seed the real exams to staging/production databases, replace the example exams here with the real exams, connect to the desired database, and run the `create-exams.js` script.

0 comments on commit d565948

Please sign in to comment.