Skip to content

Commit 6ed6293

Browse files
author
Sam Vitare
committed
made more clear by specifying the variable name as reflected in the code
1 parent 2ae8f7e commit 6ed6293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/0/en/part0b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ app.get('/', (req, res) => {
112112

113113
You don't have to understand the code just yet.
114114

115-
The content of the HTML page has been saved as a template string or a string that allows for evaluating, for example, variables in the midst of it. The dynamically changing part of the homepage, the number of saved notes (in the code <em>noteCount</em>), is replaced by the current number of notes (in the code <em>notes.length</em>) in the template string.
115+
The content of the HTML page has been saved as a template string or a string that allows for evaluating, for example, variables, like <em>noteCount</em>, in the midst of it. The dynamically changing part of the homepage, the number of saved notes (in the code <em>noteCount</em>), is replaced by the current number of notes (in the code <em>notes.length</em>) in the template string.
116116

117117
Writing HTML amid the code is of course not smart, but for old-school PHP programmers, it was a normal practice.
118118

0 commit comments

Comments
 (0)