Skip to content

Commit 824671a

Browse files
author
Sam Vitare
committed
updated the short cut keys for opening inspect
1 parent 41f2387 commit 824671a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/content/0/en/part0b.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Open the [example application](https://studies.cs.helsinki.fi/exampleapp) in you
1717

1818
The course material is done with the Chrome browser.
1919

20-
**The 1st rule of web development**: Always keep the Developer Console open on your web browser. On macOS, open the console by pressing _F12_ or _option-cmd-i_ simultaneously. On Windows or Linux, open the console by pressing _F12_ or _ctrl-shift-i_ simultaneously. The console can also be opened via the [context menu](https://en.wikipedia.org/wiki/Menu_key).
20+
**The 1st rule of web development**: Always keep the Developer Console open on your web browser. On macOS, open the console by pressing _fn_-_F12_ or _option-cmd-i_ simultaneously. On Windows or Linux, open the console by pressing _Fn_-_F12_ or _ctrl-shift-i_ simultaneously. The console can also be opened via the [context menu](https://en.wikipedia.org/wiki/Menu_key).
2121

2222
Remember to <i>always</i> keep the Developer Console open when developing web applications.
2323

@@ -486,7 +486,7 @@ All of the data shown on the page was fetched with the HTML code generated by th
486486
487487
The Notes page uses AJAX to fetch the notes data. Submitting the form still uses the traditional mechanism of submitting web forms.
488488
489-
The application URLs reflect the old, carefree times. JSON data is fetched from the URL <https://studies.cs.helsinki.fi/exampleapp/data.json> and new notes are sent to the URL <https://studies.cs.helsinki.fi/exampleapp/new_note>.
489+
The application URLs reflect the old, carefree times. JSON data is fetched from the URL <https://studies.cs.helsinki.fi/exampleapp/data.json> and new notes are sent to the URL <https://studies.cs.helsinki.fi/exampleapp/new_note>.
490490
Nowadays URLs like these would not be considered acceptable, as they don't follow the generally acknowledged conventions of [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer#Applied_to_web_services) APIs, which we'll look into more in [part 3](/en/part3).
491491
492492
The thing termed AJAX is now so commonplace that it's taken for granted. The term has faded into oblivion, and the new generation has not even heard of it.
@@ -666,24 +666,24 @@ The diagram was made as a GitHub Markdown-file using the [Mermaid](https://docs.
666666
sequenceDiagram
667667
participant browser
668668
participant server
669-
669+
670670
browser->>server: GET https://studies.cs.helsinki.fi/exampleapp/notes
671671
activate server
672672
server-->>browser: HTML document
673673
deactivate server
674-
674+
675675
browser->>server: GET https://studies.cs.helsinki.fi/exampleapp/main.css
676676
activate server
677677
server-->>browser: the css file
678678
deactivate server
679-
679+
680680
browser->>server: GET https://studies.cs.helsinki.fi/exampleapp/main.js
681681
activate server
682682
server-->>browser: the JavaScript file
683683
deactivate server
684-
684+
685685
Note right of browser: The browser starts executing the JavaScript code that fetches the JSON from the server
686-
686+
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" }, ... ]

0 commit comments

Comments
 (0)