Skip to content

Commit 3b75667

Browse files
JatinMehta007majestic-owl448huyenltnguyen
authored
fix(curriculum): format code blocks in quiz answers (freeCodeCamp#62282)
Co-authored-by: Ilenia <[email protected]> Co-authored-by: Huyen Nguyen <[email protected]>
1 parent 4af015a commit 3b75667

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

curriculum/challenges/english/blocks/quiz-javascript-fundamentals/66edcd875b0d91de1fbbb492.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,7 @@ Which of the following examples exports the `calculateSum` function from a `util
500500
export default function calculateSum(a, b) {
501501
return a + b;
502502
}
503-
```
504503

505-
```js
506504
// app.js
507505
import { calculateSum } from './utils.js';
508506
console.log(calculateSum(2, 3));
@@ -515,9 +513,7 @@ console.log(calculateSum(2, 3));
515513
export function calculateSum(a, b) {
516514
return a + b;
517515
}
518-
```
519516

520-
```js
521517
// app.js
522518
import calculateSum from './utils.js';
523519
console.log(calculateSum(2, 3));
@@ -530,9 +526,7 @@ console.log(calculateSum(2, 3));
530526
function calculateSum(a, b) {
531527
return a + b;
532528
}
533-
```
534529

535-
```js
536530
export default calculateSum;
537531

538532
// app.js
@@ -547,9 +541,7 @@ console.log(utils.calculateSum(2, 3));
547541
export function calculateSum(a, b) {
548542
return a + b;
549543
}
550-
```
551544

552-
```js
553545
// app.js
554546
import { calculateSum } from './utils.js';
555547
console.log(calculateSum(2, 3));

0 commit comments

Comments
 (0)