You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: week-1/4-links-scripts/readme.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Your colleagues have already written the .css and .js files. Complete the follow
8
8
2. Add a `<script>` element that includes the `convertUrls.js` file in this exercise's directory. This should be placed at the end of the `<body>` element.
9
9
3. When you are finished, use git to add, commit and push your changes.
10
10
11
-
_Hint: When you are done, the messages should have the colors and layout like other exercises, and you should be able to click on the URLs ("http://") to go to them._
11
+
_Hint: When you are done, the messages should have the colours and layout like other exercises, and you should be able to click on the URLs ("http://") to go to them._
12
12
13
13
If you are having trouble, review the following information about including resources into an HTML page.
14
14
@@ -17,7 +17,7 @@ If you are having trouble, review the following information about including reso
17
17
When building applications for the web, we separate content, presentation and behaviour.
18
18
19
19
-**Content** is the raw material of the website. It may be an article, a message, a video, or a list of links.
20
-
-**Presentation** is the way that material is displayed. It controls the colors, typography and layout of the content.
20
+
-**Presentation** is the way that material is displayed. It controls the colours, typography and layout of the content.
21
21
-**Behaviour** is anything that reacts to what the user does. When you type a message on Facebook and hit Send, the website is reacting to your behaviour.
22
22
23
23
To keep our projects organised, we separate these concerns and store them in different files. The content is written in HTML code and saved in .html files. The presentation is written in CSS code and saved in .css files. The behaviour is written in JavaScript code and saved in .js files.
Copy file name to clipboardExpand all lines: week-1/7-css-box/readme.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,6 @@ You can modify the "box model" with the CSS properties `width`, `height`, `margi
9
9
1. Find the `.number` rule in `styles.css`. Play around with the CSS properties in this rule to see how they work.
10
10
2. Right now, each message has a large space to its right. Use one of the box model properties you have learned to modify the unread message so that it is positioned on the right, as shown in this screenshot:
11
11
12
-
.
12
+
.
13
13
14
14
_Try this: Add `* { border: 1px solid red; }` to your CSS code. It will show you the box model of every element._
0 commit comments