mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): change plaintext blocks from bash to markdown (#60754)
Some checks failed
i18n - Build Validation / Validate i18n Builds (22) (push) Has been cancelled
CI - Node.js / Lint (22) (push) Has been cancelled
CI - Node.js / Build (22) (push) Has been cancelled
CI - Node.js / Test (22) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (22) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 22) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 22) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
Some checks failed
i18n - Build Validation / Validate i18n Builds (22) (push) Has been cancelled
CI - Node.js / Lint (22) (push) Has been cancelled
CI - Node.js / Build (22) (push) Has been cancelled
CI - Node.js / Test (22) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (22) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 22) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 22) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
This commit is contained in:
parent
c2196fefac
commit
eefd43106d
@ -9,7 +9,7 @@ dashedName: step-31
|
||||
|
||||
Starting below the existing coffee/price pair, add the following coffee and prices using `article` elements with two nested `p` elements inside each:
|
||||
|
||||
```bash
|
||||
```md
|
||||
Caramel Macchiato 3.75
|
||||
Pumpkin Spice 3.50
|
||||
Hazelnut 4.00
|
||||
|
||||
@ -9,7 +9,7 @@ dashedName: step-52
|
||||
|
||||
Below the dessert you just added, add the rest of the desserts and prices using three more `article` elements, each with two nested `p` elements. Each element should have the correct dessert and price text, and all of them should have the correct classes.
|
||||
|
||||
```bash
|
||||
```md
|
||||
Cherry Pie 2.75
|
||||
Cheesecake 3.00
|
||||
Cinnamon Roll 2.50
|
||||
|
||||
@ -46,7 +46,7 @@ for (let i = 1; i < items.length; i++) {
|
||||
|
||||
## --answers--
|
||||
|
||||
```bash
|
||||
```md
|
||||
apple
|
||||
banana
|
||||
cherry
|
||||
@ -55,14 +55,14 @@ date
|
||||
|
||||
---
|
||||
|
||||
```bash
|
||||
```md
|
||||
banana
|
||||
cherry
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
```bash
|
||||
```md
|
||||
apple
|
||||
banana
|
||||
cherry
|
||||
@ -70,7 +70,7 @@ cherry
|
||||
|
||||
---
|
||||
|
||||
```bash
|
||||
```md
|
||||
banana
|
||||
cherry
|
||||
date
|
||||
|
||||
@ -13,7 +13,7 @@ Pseudocode is writing out the logic for your program in natural language instead
|
||||
|
||||
Here’s an example of what the pseudocode for a program that prints all numbers up to an inputted number might look like:
|
||||
|
||||
```bash
|
||||
```md
|
||||
When the user inputs a number
|
||||
Initialize a counter variable and set its value to zero
|
||||
While counter is smaller than user inputted number increment the counter by one
|
||||
|
||||
@ -25,7 +25,7 @@ Those companies using credit card numbers that can be validated by the Luhn test
|
||||
|
||||
For example, if the trial number is 49927398716:
|
||||
|
||||
```bash
|
||||
```md
|
||||
Reverse the digits:
|
||||
61789372994
|
||||
Sum the odd digits:
|
||||
|
||||
@ -18,14 +18,14 @@ The above recurrence relation when applied to most starting numbers `n` = 1, 2,
|
||||
|
||||
For example if `n₀` = 12 we get:
|
||||
|
||||
```bash
|
||||
```md
|
||||
12
|
||||
12 + 21 = 33, a palindrome!
|
||||
```
|
||||
|
||||
And if `n₀` = 55 we get:
|
||||
|
||||
```bash
|
||||
```md
|
||||
55
|
||||
55 + 55 = 110
|
||||
110 + 011 = 121, a palindrome!
|
||||
@ -43,7 +43,7 @@ Any integer produced in the sequence of a Lychrel number is also a Lychrel numbe
|
||||
|
||||
In general, any sequence from one Lychrel number *might* converge to join the sequence from a prior Lychrel number candidate; for example the sequences for the numbers 196 and then 689 begin:
|
||||
|
||||
```bash
|
||||
```md
|
||||
196
|
||||
196 + 691 = 887
|
||||
887 + 788 = 1675
|
||||
|
||||
@ -9,7 +9,7 @@ dashedName: step-31
|
||||
|
||||
Starting below the existing coffee/price pair, add the following coffee and prices using `article` elements with two nested `p` elements inside each.
|
||||
|
||||
```bash
|
||||
```md
|
||||
Caramel Macchiato 3.75
|
||||
Pumpkin Spice 3.50
|
||||
Hazelnut 4.00
|
||||
|
||||
@ -9,7 +9,7 @@ dashedName: step-52
|
||||
|
||||
Below the dessert you just added, add the rest of the desserts and prices using three more `article` elements, each with two nested `p` elements. Each element should have the correct dessert and price text, and all of them should have the correct classes.
|
||||
|
||||
```bash
|
||||
```md
|
||||
Cherry Pie 2.75
|
||||
Cheesecake 3.00
|
||||
Cinnamon Roll 2.50
|
||||
|
||||
Loading…
Reference in New Issue
Block a user