Skip to content

Commit d76286b

Browse files
authored
Merge pull request #3655 from Sanchit33/patch-1
Update part2a.md
2 parents 4056b12 + 349557d commit d76286b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/2/en/part2a.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ The exercises are submitted **One part at a time**. When you have submitted the
581581

582582
Note that this part has more exercises than the ones before, so <i>do not submit</i> until you have done all the exercises from this part you want to submit.
583583

584-
<h4>2.1: Course information step6</h4>
584+
<h4>2.1: Course information step 6</h4>
585585

586586
Let's finish the code for rendering course contents from exercises 1.1 - 1.5. You can start with the code from the model answers. The model answers for part 1 can be found by going to the [submission system](https://studies.cs.helsinki.fi/stats/courses/fullstackopen), clicking on <i>my submissions</i> at the top, and in the row corresponding to part 1 under the <i>solutions</i> column clicking on <i>show</i>. To see the solution to the <i>course info</i> exercise, click on _index.js_ under <i>kurssitiedot</i> ("kurssitiedot" means "course info").
587587

@@ -647,13 +647,13 @@ The application must work <i>regardless of the number of parts a course has</i>,
647647

648648
Ensure that the console shows no errors!
649649

650-
<h4>2.2: Course information step7</h4>
650+
<h4>2.2: Course information step 7</h4>
651651

652652
Show also the sum of the exercises of the course.
653653

654654
![sum of exercises added feature](../../images/teht/9e.png)
655655

656-
<h4>2.3*: Course information step8</h4>
656+
<h4>2.3*: Course information step 8</h4>
657657

658658
If you haven't done so already, calculate the sum of exercises with the array method [reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce).
659659

@@ -675,7 +675,7 @@ const total = parts.reduce((s, p) => {
675675

676676
**Not working? :** Use your search engine to look up how _reduce_ is used in an **Object Array**.
677677

678-
<h4>2.4: Course information step9</h4>
678+
<h4>2.4: Course information step 9</h4>
679679

680680
Let's extend our application to allow for an <i>arbitrary number</i> of courses:
681681

0 commit comments

Comments
 (0)