Skip to content

Commit 2f28bef

Browse files
committed
renamed .md files and fixed some lists
1 parent 1776e7d commit 2f28bef

File tree

7 files changed

+68
-45
lines changed

7 files changed

+68
-45
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source 'https://rubygems.org'
22

3-
gem 'jekyll', '~>1.1.1'
3+
gem 'jekyll', '~>2.0.3'

Gemfile.lock

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,64 @@
11
GEM
2+
remote: https://rubygems.org/
23
specs:
4+
blankslate (2.1.2.4)
5+
celluloid (0.15.2)
6+
timers (~> 1.1.0)
37
classifier (1.3.4)
48
fast-stemmer (>= 1.0.0)
9+
coffee-script (2.2.0)
10+
coffee-script-source
11+
execjs
12+
coffee-script-source (1.4.0)
513
colorator (0.1)
6-
commander (4.1.5)
7-
highline (~> 1.6.11)
8-
directory_watcher (1.4.1)
14+
execjs (1.4.0)
15+
multi_json (~> 1.0)
916
fast-stemmer (1.0.2)
10-
highline (1.6.20)
11-
jekyll (1.1.2)
17+
ffi (1.9.3)
18+
jekyll (2.0.3)
1219
classifier (~> 1.3)
1320
colorator (~> 0.1)
14-
commander (~> 4.1.3)
15-
directory_watcher (~> 1.4.1)
16-
kramdown (~> 1.0.2)
17-
liquid (~> 2.5.1)
18-
maruku (~> 0.5)
21+
jekyll-coffeescript (~> 1.0)
22+
jekyll-sass-converter (~> 1.0)
23+
kramdown (~> 1.3)
24+
liquid (~> 2.5.5)
25+
listen (~> 2.5)
26+
mercenary (~> 0.3.3)
1927
pygments.rb (~> 0.5.0)
20-
redcarpet (~> 2.2.2)
21-
safe_yaml (~> 0.7.0)
22-
kramdown (1.0.2)
23-
liquid (2.5.1)
24-
maruku (0.7.0)
28+
redcarpet (~> 3.1)
29+
safe_yaml (~> 1.0)
30+
toml (~> 0.1.0)
31+
jekyll-coffeescript (1.0.0)
32+
coffee-script (~> 2.2)
33+
jekyll-sass-converter (1.0.0)
34+
sass (~> 3.2)
35+
kramdown (1.3.3)
36+
liquid (2.5.5)
37+
listen (2.7.5)
38+
celluloid (>= 0.15.2)
39+
rb-fsevent (>= 0.9.3)
40+
rb-inotify (>= 0.9)
41+
mercenary (0.3.3)
42+
multi_json (1.6.1)
43+
parslet (1.5.0)
44+
blankslate (~> 2.0)
2545
posix-spawn (0.3.8)
2646
pygments.rb (0.5.4)
2747
posix-spawn (~> 0.3.6)
2848
yajl-ruby (~> 1.1.0)
29-
redcarpet (2.2.2)
30-
safe_yaml (0.7.1)
49+
rb-fsevent (0.9.4)
50+
rb-inotify (0.9.4)
51+
ffi (>= 0.5.0)
52+
redcarpet (3.1.2)
53+
safe_yaml (1.0.3)
54+
sass (3.2.5)
55+
timers (1.1.0)
56+
toml (0.1.1)
57+
parslet (~> 1.5.0)
3158
yajl-ruby (1.1.0)
3259

3360
PLATFORMS
3461
ruby
3562

3663
DEPENDENCIES
37-
jekyll
64+
jekyll (~> 2.0.3)

_sessions/c1s1/1_what_is_a_webpage.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ Several browsers also provide developer tools, which allow you to *interactively
5151
There are a few features of the Chrome developer tools that it is worth pointing out now.
5252

5353

54-
{% exercise %}
55-
54+
{% exercise %}
5655
1. Open this page in Google Chrome
5756
2. View the page source by doing one of the following:
5857
* View > Developer > View Source

_sessions/c1s1/3_urls_and_dns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Each computer on the internet has an address (an _IP address_) so that requests
2323

2424
IP addresses are a sequence of numbers and '.'s such as `212.58.244.67`. These aren't very easy to remember. Instead the internet works on a domain name system, that matches domain names such as `bbc.co.uk` to IP addresses.
2525

26-
{% exercise %}
26+
{% exercise %}
2727
Type `212.58.244.67` into your browser's address bar. What happens?
2828
{% endexercise %}
2929

_sessions/c1s1/6_first_page.md renamed to _sessions/c1s1/4_first_page.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,28 @@ title: Creating an HTML page
44

55
One of the nice things about HTML is you don't need a lot to test it out on your laptop: all you need is a text editor and a web browser.
66

7-
{% exercise %}
8-
1. Inside your `coding_course` folder create another folder called `first_site`.
9-
3. Open Sublime Text.
10-
4. Write "Hello"
11-
5. Save the file as `index.html` in the `first_site` folder
12-
6. Open `index.html` in Chrome. Depending on your version of Chrome
13-
* File > Open ...
14-
* Cmd-o (Mac) or Ctrl-o (Windows)
7+
{% exercise %}
8+
1. Inside your `coding_course` folder create another folder called `first_site`.
9+
2. Open Sublime Text.
10+
3. Write "Hello"
11+
4. Save the file as `index.html` in the `first_site` folder
12+
5. Open `index.html` in Chrome. Depending on your version of Chrome
13+
* File > Open ...
14+
* Cmd-o (Mac) or Ctrl-o (Windows)
1515

1616
{% endexercise %}
1717

1818
### Why index.html?
1919

2020
In the old days of the web, navigating a website was a lot more like moving around the folder system on your laptop. You'd go to a base site and there would just be a list of the files and folders available: an index. Because of this `index.html` is still the default file that a server will serve when you navigate to a folder in the web browser.
2121

22-
{% exercise %}
23-
<ol>
24-
<li>Go back to 'index.html' in Sublime Text.</li>
25-
<li> Change the text to
22+
{% exercise %}
23+
1. Go back to 'index.html' in Sublime Text.
24+
2. Change the text to
2625
{% highlight html %}
2726
<h1>Hello</h1>
28-
{% endhighlight %}
29-
</li>
30-
<li>Go back to 'index.html' in Chrome and refresh the page (Cmd-R)</li>
31-
</ol>
27+
{% endhighlight %}
28+
3. Go back to 'index.html' in Chrome and refresh the page (Cmd-R)
3229
{% endexercise %}
3330

3431
This is your first real html tag. It has an open and a close. It tells it to be a heading.

_sessions/c1s1/7_more_html.md renamed to _sessions/c1s1/5_more_html.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
title: More HTML
33
---
44

5-
{% exercise %}
6-
2. Go to the github repository for this session: [https://github.com/code61/learning_html](https://github.com/code61/learning_html)
7-
3. *Clone* the repository down into your `coding_course` folder (by clicking 'Clone in Desktop' in the bottom right).
8-
4. Open the whole folder in Sublime Text
9-
5. Open the file `example.html` in Chrome and look around with the developer tools
10-
6. Open the file `notes.html` in Sublime Text.
11-
7. Change `notes.html` into valid html so that it looks like `notes_solution.jpg`
5+
{% exercise %}
6+
1. Go to the github repository for this session: [https://github.com/code61/learning_html](https://github.com/code61/learning_html)
7+
2. *Clone* the repository down into your `coding_course` folder (by clicking 'Clone in Desktop' in the bottom right).
8+
3. Open the whole folder in Sublime Text
9+
4. Open the file `example.html` in Chrome and look around with the developer tools
10+
5. Open the file `notes.html` in Sublime Text.
11+
6. Change `notes.html` into valid html so that it looks like `notes_solution.jpg`
1212
{% endexercise %}
1313

1414
A few things to look out for
File renamed without changes.

0 commit comments

Comments
 (0)