Skip to content

Commit 7f20286

Browse files
committed
part 2e
1 parent b775a0a commit 7f20286

File tree

2 files changed

+361
-37
lines changed

2 files changed

+361
-37
lines changed

src/content/2/en/part2e.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ const Footer = () => {
243243
return (
244244
<div style={footerStyle}>
245245
<br />
246-
<em>Note app, Department of Computer Science, University of Helsinki 2023</em>
246+
<em>Note app, Department of Computer Science, University of Helsinki 2024</em>
247247
</div>
248248
)
249249
}
@@ -282,15 +282,15 @@ The code of the final version of our application can be found in the <i>part2-8
282282

283283
<h3>Exercises 2.16.-2.17.</h3>
284284

285-
<h4>2.16: Phonebook step11</h4>
285+
<h4>2.16: Phonebook step 11</h4>
286286

287287
Use the [improved error message](/en/part2/adding_styles_to_react_app#improved-error-message) example from part 2 as a guide to show a notification that lasts for a few seconds after a successful operation is executed (a person is added or a number is changed):
288288

289289
![successful green added screenshot](../../images/2/27e.png)
290290

291-
<h4>2.17*: Phonebook step12</h4>
291+
<h4>2.17*: Phonebook step 12</h4>
292292

293-
Open your application in two browsers. **If you delete a person in browser 1** a short while before attempting to <i>change the person's phone number</i> in browser 2, you will get the following 2 error messages:
293+
Open your application in two browsers. **If you delete a person in browser 1** a short while before attempting to <i>change the person's phone number</i> in browser 2, you will get the following error messages:
294294

295295
![error message 404 not found when changing multiple browsers](../../images/2/29b.png)
296296

@@ -383,7 +383,7 @@ const App = () => {
383383
// ...
384384
```
385385
386-
on the first render the following code gets executed
386+
on the first render the following code gets executed:
387387
388388
```js
389389
notesToShow = notes
@@ -565,7 +565,7 @@ However, there are situations where that technique would not work. For example,
565565
566566
<h3>Exercises 2.18.-2.20.</h3>
567567
568-
<h4>2.18* Data for countries, step1</h4>
568+
<h4>2.18* Data for countries, step 1</h4>
569569
570570
At [https://studies.cs.helsinki.fi/restcountries/](https://studies.cs.helsinki.fi/restcountries/) you can find a service that offers a lot of information related to different countries in a so-called machine-readable format via the REST API. Make an application that allows you to view information from different countries.
571571
@@ -585,7 +585,7 @@ When there is only one country matching the query, then the basic data of the co
585585
586586
**NB**: It is enough that your application works for most countries. Some countries, like <i>Sudan</i>, can be hard to support since the name of the country is part of the name of another country, <i>South Sudan</i>. You don't need to worry about these edge cases.
587587
588-
<h4>2.19*: Data for countries, step2</h4>
588+
<h4>2.19*: Data for countries, step 2</h4>
589589
590590
**There is still a lot to do in this part, so don't get stuck on this exercise!**
591591

0 commit comments

Comments
 (0)