Skip to content

Commit 0d9faf1

Browse files
committed
exercise numbering
1 parent 3442373 commit 0d9faf1

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

src/content/5/en/part5e.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ The current code for the app is available in its entirety on [GitHub](https://gi
586586

587587
<div class="tasks">
588588

589-
### Exercises 5.24–5.29.
589+
### Exercises 5.24–5.28.
590590

591591
#### 5.24: routed blogs, step1
592592

@@ -620,15 +620,15 @@ Users navigate to the single blog post view from the blog list:
620620

621621
Make sure that the "Like" feature for blogs still works! Also modify the functionality so that only logged-in users can "Like" a blog.
622622

623-
#### 5.27: routed blogs, step3
623+
#### 5.26: routed blogs, step3
624624

625625
Create a new view for creating a new blog, which logged-in users can access via the navigation:
626626

627627
![](../../images/5/l6.png)
628628

629629
Adding a new blog and deleting an existing blog should redirect the user to the all blogs view
630630

631-
#### 5.28: routed blogs, step4
631+
#### 5.27: routed blogs, step4
632632

633633
The app’s usability and appearance are now better than before. Unfortunately, some of the tests have broken.
634634

@@ -637,7 +637,7 @@ Now modify the tests for the single blog view created in Vitest as follows
637637
- Authenticated users who are not the blog’s creator are shown only the like button
638638
- The blog’s creator is also shown the delete button
639639

640-
#### 5.29: routed blogs, step5
640+
#### 5.28: routed blogs, step5
641641

642642
Next up is fixing the end-to-end tests created with Playwright. The tests we wrote earlier are completely broken, and we’ll have to make major changes to them.
643643

@@ -1077,11 +1077,11 @@ Styled-Components has been steadily gaining popularity lately, and it currently
10771077

10781078
<div class="tasks">
10791079

1080-
### Exercises 5.30–5.32
1080+
### Exercises 5.29–5.31
10811081

10821082
Next, improve the styles of the blog app using either MaterialUI or Styled Components.
10831083

1084-
#### 5.30: styled blogs, step 1
1084+
#### 5.29: styled blogs, step 1
10851085

10861086
Add styles to the application’s forms.
10871087

@@ -1093,13 +1093,13 @@ Creating a new blog:
10931093

10941094
![](../../images/5/l11.png)
10951095

1096-
#### 5.31: styled blogs, step2
1096+
#### 5.30: styled blogs, step2
10971097

10981098
Now style the app's navigation bar and the component that displays notifications. The result might look something like this:
10991099

11001100
![](../../images/5/l12.png)
11011101

1102-
#### 5.32: styled blogs, step 3
1102+
#### 5.31: styled blogs, step 3
11031103

11041104
Customize the appearance of the single blog display component as you see fit. Here is an example:
11051105

src/content/5/fi/osa5e.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ Sovelluksen tämänhetkinen koodi on kokonaisuudessaan [GitHubissa](https://gith
587587

588588
<div class="tasks">
589589

590-
### Tehtävät 5.24-5.29.
590+
### Tehtävät 5.24-5.28.
591591

592592
#### 5.24: routed blogs, step1
593593

@@ -621,15 +621,15 @@ Yksittäisen blogin näkymään navigoidaan blogien listalta:
621621

622622
Varmista, että blogien tykkääminen toimii edelleen! Muuta myös toiminnallisuutta siten, että ainoastaan kirjautunut käyttäjä voi tykätä blogista.
623623

624-
#### 5.27: routed blogs, step3
624+
#### 5.26: routed blogs, step3
625625

626626
Tee uuden blogin luomista varten uusi näkymä, jonne kirjautunut käyttäjä pääsee navigaation kautta:
627627

628628
![](../../images/5/l6.png)
629629

630630
Uuden blogin lisäyksen sekä olemassa olevan blogin poiston tulee viedä sovellus kaikkien blogien näkymään
631631

632-
#### 5.28: routed blogs, step4
632+
#### 5.27: routed blogs, step4
633633

634634
Sovelluksen käytettävyys ja ulkoasu on nyt aiempaa parempi. Ikävä kyllä osa testeistä on päässyt hajoamaan.
635635

@@ -638,7 +638,7 @@ Muuta nyt yksittäisen blogin näkymän Vitestillä tehtyjä yksikkötestejä se
638638
- kirjautuneelle käyttäjälle, joka ei ole blogin luoja näytetään ainoastaan tykkäysnappi
639639
- blogin luojalle näytetään myös blogin poistonappi
640640

641-
#### 5.29: routed blogs, step4
641+
#### 5.28: routed blogs, step5
642642

643643
Seuraavana on vuorossa Playwrightillä tehtyjen end to end -testien korjaaminen. Aiemmin tekemämme testit ovat totaalisesti rikki, ja joudumme tekemään testeihin suuria muutoksia.
644644

@@ -1080,11 +1080,11 @@ styled-components on nostanut tasaisesti suosiotaan viime aikoina ja tällä het
10801080

10811081
<div class="tasks">
10821082

1083-
### Tehtävät 5.30.-5.32.
1083+
### Tehtävät 5.29.-5.31.
10841084

10851085
Parannellaan seuraavaksi blogisovelluksen tyylejä joko MaterialUI:n tai Styled Componentsin avulla.
10861086

1087-
#### 5.30: styled blogs, step1
1087+
#### 5.29: styled blogs, step1
10881088

10891089
Lisää tyylit sovelluksen lomakkeille.
10901090

@@ -1097,13 +1097,13 @@ Uuden blogin luominen:
10971097
![](../../images/5/l11.png)
10981098

10991099

1100-
#### 5.31: styled blogs, step2
1100+
#### 5.30: styled blogs, step2
11011101

11021102
Tyylittele nyt sovelluksen navigaatiopalkki sekä notifikaatiot näyttävä komponentti. Ratkaisu voi näyttää esim. seuraavalta
11031103

11041104
![](../../images/5/l12.png)
11051105

1106-
#### 5.32: styled blogs, step3
1106+
#### 5.31: styled blogs, step3
11071107

11081108
Paranna haluamallasi tavalla yksittäisen blogin näyttävän komponentin ulkonäköä. Seuraavassa eräs esimerkki:
11091109

src/content/7/en/part7d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ Many of the exercises in this part of the course material will require the [refa
1515

1616
One good piece of advice for both refactoring and writing new code is to take <i>baby steps</i>. Losing your sanity is almost guaranteed if you leave the application in a completely broken state for long periods while refactoring.
1717

18-
**These exercises assume that you have already completed the exercises [5.24-5.29](/en/part5/react_router_ui_frameworks#exercises-5-24-5-29). If you have not, do those first.**
18+
**These exercises assume that you have already completed the exercises [5.24-5.28](/en/part5/react_router_ui_frameworks#exercises-5-24-5-28). If you have not, do those first.**
1919

2020
</div>
2121

2222
<div class="tasks">
2323

2424
### Exercises 7.7.-7.20.
2525

26-
These exercises assume that you have already completed the exercises [5.24-5.29](/en/part5/react_router_ui_frameworks#exercises-5-24-5-29). If you have not, do those first.
26+
These exercises assume that you have already completed the exercises [5.24-5.28](/en/part5/react_router_ui_frameworks#exercises-5-24-5-28). If you have not, do those first.
2727

2828
#### 7.7: Frontend and backend in the same repository
2929

0 commit comments

Comments
 (0)