Skip to content

Commit 77c82b2

Browse files
authored
Update part0b.md
1 parent fb6a60e commit 77c82b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/0/en/part0b.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,14 +682,14 @@ sequenceDiagram
682682
server-->>browser: the JavaScript file
683683
deactivate server
684684

685-
Note right of browser: The browser starts executing the JavaScript code that fetches the JSON from the server
685+
Note right of the browser: The browser starts executing the JavaScript code that fetches the JSON from the server
686686

687687
browser->>server: GET https://studies.cs.helsinki.fi/exampleapp/data.json
688688
activate server
689689
server-->>browser: [{ "content": "HTML is easy", "date": "2023-1-1" }, ... ]
690690
deactivate server
691691

692-
Note right of browser: The browser executes the callback function that renders the notes
692+
Note right of the browser: The browser executes the callback function that renders the notes
693693
```
694694

695695
**Create a similar diagram** depicting the situation where the user creates a new note on the page <https://studies.cs.helsinki.fi/exampleapp/notes> by writing something into the text field and clicking the <i>submit</i> button.
@@ -699,7 +699,7 @@ If necessary, show operations on the browser or on the server as comments on the
699699
The diagram does not have to be a sequence diagram. Any sensible way of presenting the events is fine.
700700

701701
All necessary information for doing this, and the next two exercises, can be found in the text of [this part](/en/part0/fundamentals_of_web_apps#forms-and-http-post).
702-
The idea of these exercises is to read the text through once more and to think through what is going on there. Reading the application [code](https://github.com/mluukkai/example_app) is not necessary, but it is of course possible.
702+
The idea of these exercises is to read the text once more and to think through what is going on there. Reading the application [code](https://github.com/mluukkai/example_app) is not necessary, but it is of course possible.
703703

704704
You can do the diagrams with any program, but perhaps the easiest and the best way to do diagrams is the [Mermaid](https://github.com/mermaid-js/mermaid#sequence-diagram-docs---live-editor) syntax that is now implemented in [GitHub](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) Markdown pages!
705705

0 commit comments

Comments
 (0)