Skip to content

Commit c7b97a8

Browse files
committed
Add extra helper text
1 parent 6f650ba commit c7b97a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sites/en/frontend/make_a_web_page.step

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ source_code :html, "<!-- This is a comment. The browser ignores it. -->"
3535
message <<-MARKDOWN
3636
We can also use this technique to temporarily stop a piece of code from running. We call that "commenting the code out."
3737

38-
You'll remember when we were working on our **hello.html** file, we put JavaScript and CSS directly into the HTML document. You can also include JS and CSS in external files, with a link. This **index.html** file includes a link to a JavaScript file and a CSS file, but they're commented out (i.e. wrapped in an HTML tag that tells the browser, 'ignore this!').
38+
You'll remember when we were working on our **hello.html** file, we put JavaScript and CSS directly into the HTML document. You can also include JS and CSS from external files, with a link. This **index.html** file includes a link to a JavaScript file and a CSS file, but they're commented out (i.e. wrapped in an HTML tag that tells the browser, 'ignore this!').
3939

40-
Look through **index.html** and find the links to the CSS and JavaScript files. Delete the comment tags from around them so that the browser will read them.
40+
Look through **index.html** and find the links to the CSS and JavaScript files. Delete the comment tags from around them so that the browser will read them. The lines should change color in your text editor: comments are usually displayed in a dull color in text editors to show that it's code that will be ignored.
4141
MARKDOWN
4242

4343
end
@@ -88,7 +88,7 @@ In JavaScript you write comments by starting a line with `//`.
8888
HTML
8989
message <<-MARKDOWN
9090

91-
In CSS you write comments by wrapping the comment in inside a `/*` (start a comment) and `*/` (finish a comment).
91+
In CSS you write comments by wrapping the comment in inside a `/*` (start a comment) and `*/` (finish a comment). A comment can go over several lines.
9292

9393
* A CSS tag looks like this when it's a link:
9494

0 commit comments

Comments
 (0)