Skip to content

Commit 515fa95

Browse files
committed
fix all the typos!
1 parent d280903 commit 515fa95

File tree

18 files changed

+100
-102
lines changed

18 files changed

+100
-102
lines changed

html/lesson1/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Some elements are standalone, as they cannot contain anything else <tagname/>
5454
### DOCTYPE and HTML tags
5555

5656
The doctype is the first thing that must be defined in an HTML page.
57-
It tells the browser which version of HTML the the page is using.
57+
It tells the browser which version of HTML the page is using.
5858

5959
```html
6060
<!DOCTYPE html>
@@ -168,7 +168,7 @@ Let's emphasise some of the content of our paragraph
168168

169169
### Element: Link `<a>`
170170

171-
The most important attribute of a link is **href**, which indicates the path or url that is accessed through it.
171+
The most important attribute of a link is **href**, which indicates the path or URL that is accessed through it.
172172

173173
Let's add a link to the bottom of our paragraph
174174

html/lesson2/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ This method of using CSS, by defining it within our HTML page is called **embedd
203203

204204
A better way to define CSS, is to include it within a separate stylesheet. This is easier to maintain and can be reused across several pages.
205205

206-
To achieve this, let's move our css outside of the head of the page and into a new file that we will link through the head.
206+
To achieve this, let's move our CSS outside of the head of the page and into a new file that we will link through the head.
207207

208208
```html
209209
<head>
@@ -225,7 +225,7 @@ img {
225225
}
226226
```
227227

228-
We can change the the styling of some of these images by defining a more specific selector, which will superseed the `img` selector we just defined
228+
We can change the styling of some of these images by defining a more specific selector, which will supersede the `img` selector we just defined
229229

230230
```css
231231
.bigimg img {

html/lesson3/tutorial.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Download the files required to begin working through the tutorial from [here](ht
2424

2525
### Development Tools - Inspectors
2626

27-
Inspectors are development tools that help you view, edit and debug CSS, HTML and Javascript.
27+
Inspectors are development tools that help you view, edit and debug CSS, HTML and JavaScript.
2828

2929
A very popular inspector is [firebug](http://getfirebug.com/), it works nicely on Firefox. Chrome has a build in inspector, but we do suggest you use firebug as it is much easier to use and change different properties with it.
3030

@@ -168,7 +168,7 @@ and make the picture a bit smaller
168168

169169
### What is the box model?
170170

171-
An element, can be visualised as a box. The box model tells browsers how the element and its attribtues relate to each other.
171+
An element, can be visualised as a box. The box model tells browsers how the element and its attributes relate to each other.
172172

173173
Characteristics that define the box model are `padding`, `margin`, `border`, `height` and `width`.
174174

@@ -323,7 +323,7 @@ a:hover
323323
a:active
324324
```
325325

326-
Order is **very** important. Always use the order descibed above if you want to apply differente styling for all of the states described above.
326+
Order is **very** important. Always use the order described above if you want to apply different styling for all of the states described above.
327327
The most commonly used pseudo class for links, that we will also be using today is `a:hover`
328328

329329
## Styling links
@@ -366,7 +366,7 @@ The sidebar is now almost perfect. Tweak a couple of other properties so that th
366366

367367
## Before we continue, some other nice to know box properties...
368368

369-
Add these to the `.sidebar` css
369+
Add these to the `.sidebar` CSS
370370

371371
```css
372372
border-radius: 6px;
@@ -402,7 +402,7 @@ Here, we will define the text we want to display about **Ada Lovelace**, using p
402402
<p>My mother, Anne Isabella Byron, was a great help to me as she helped me by promoting my interest in mathematics and logic, but I also never forgot about my dad, who moved to Greece when I was just an infant to help out in the civil war.</p>
403403
```
404404

405-
Now that the content is there, we can see that again, we need to tweak the element to display as an inline block and set its width to make sure it appears next to the siedbar.
405+
Now that the content is there, we can see that again, we need to tweak the element to display as an inline block and set its width to make sure it appears next to the sidebar.
406406

407407
```css
408408
.main {
@@ -453,7 +453,7 @@ Set the style for the highlight class
453453
<p>Throughout my life, mathematics have been my primary interest. I always question even basic assumptions by integrating poetry, another great love of mine, and science. I also have a keen interest in scientific developments and trends of my era like phrenology and mesmerism.</p>
454454
```
455455

456-
Being the first paragraph a quote, so we can use `<blockquote>`, as it's more appropiate than a p tag.
456+
Being the first paragraph a quote, so we can use `<blockquote>`, as it's more appropriate than a p tag.
457457

458458
```html
459459
<blockquote>&ldquo;I do not believe....</blockquote>
@@ -491,7 +491,7 @@ A poem about Ada
491491

492492
> Why do we need a line break (`<br/>`) before the span? What happens when we remove the line break?
493493
494-
Make the poem look different than the rest of the text. Add a css class `poem` to the span element and add styling
494+
Make the poem look different than the rest of the text. Add a CSS class `poem` to the span element and add styling
495495

496496
```css
497497
.poem {
@@ -542,7 +542,7 @@ a:hover {
542542
## Setting up the footer
543543
To complete our page, we will be adding some content and styling the footer
544544

545-
Within the footer, add an attribution to yourself and link to your twitter, facebook or any other place you want to.
545+
Within the footer, add an attribution to yourself and link to your twitter, Facebook or any other place you want to.
546546

547547
```html
548548
<p>Made by <a href="...">[your name]</a></p>

html/lesson4/tutorial.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ header {
9494
}
9595
```
9696

97-
Set a css class `portrait` to the `<div>` wrapping the image
97+
Set a CSS class `portrait` to the `<div>` wrapping the image
9898

9999
```html
100100
<div class="portrait">
101101
<img src="gracehopper.jpg"/>
102102
...
103103
```
104104

105-
and a css class `title` to the `<div>` wrapping the heading
105+
and a CSS class `title` to the `<div>` wrapping the heading
106106

107107
```html
108108
<div class="title">
@@ -118,7 +118,7 @@ Make the `portrait` and the `title` inline elements
118118
}
119119
```
120120

121-
> Did you know that you can define common styles for different css classes by comma separating them?
121+
> Did you know that you can define common styles for different CSS classes by comma separating them?
122122
123123

124124
Make the portrait image round, and restrict its height
@@ -292,7 +292,7 @@ To ensure an element `floats` you must always specify its width, or else its lik
292292

293293
Make the two images in the `#content` float
294294

295-
Add a css class to the first image's wrapper
295+
Add a CSS class to the first image's wrapper
296296

297297
```html
298298
<div class="start-of-line">
@@ -309,7 +309,7 @@ And float the element to the left
309309
}
310310
```
311311

312-
Add a css class to the second image's wrapper
312+
Add a CSS class to the second image's wrapper
313313

314314
```html
315315
<div class="end-of-line">
@@ -325,7 +325,7 @@ And float the element to the right
325325
}
326326
```
327327

328-
Add space around the images so there is some separatin between them and the text
328+
Add space around the images so there is some separation between them and the text
329329

330330
```css
331331
.start-of-line, .end-of-line {
@@ -353,7 +353,7 @@ Its position is determined by the offset values in the properties `top`, `bottom
353353

354354
### Using absolute and relative positioning
355355

356-
Add a css class `caption` to the description of each of the images
356+
Add a CSS class `caption` to the description of each of the images
357357

358358
```html
359359
<span class="caption">The Mark I</span>
@@ -437,7 +437,7 @@ footer a {
437437
}
438438
```
439439

440-
> Do you understand all the css properties we have just applied to the footer and containing elements? Is there something you don't quite remember? Ask your coach to explain.
440+
> Do you understand all the CSS properties we have just applied to the footer and containing elements? Is there something you don't quite remember? Ask your coach to explain.
441441
442442

443443
But we are not quite done yet. The page looks great, but we can do a bit more with it. First let's try and understand another positioning, 'fixed'
@@ -465,16 +465,16 @@ And reposition the '#content' so it doesn't hide underneath the header. Change t
465465
padding: 150px 30px 40px;
466466
```
467467

468-
> Do you remember the padding shortcuts we disussed in the previous lessson? What does the above describe? Can you explain that to your coach?
468+
> Do you remember the padding shortcuts we discussed in the previous lesson? What does the above describe? Can you explain that to your coach?
469469

470470
There is still one small problem with our page. You can view this better if you resize your browser window to fit one third of your screen and scroll down. The images now appear on top of the header. This is due to removing the element from of the normal flow of the page.
471471

472472
### z-index
473473

474-
This can be fixed by changin the `z-index`, who defines the order of overlapping.
474+
This can be fixed by changing the `z-index`, who defines the order of overlapping.
475475
The element with the highest `z-index` appears on top.
476476

477-
Extend the css for the `header`
477+
Extend the CSS for the `header`
478478

479479
```
480480
z-index: 99;
@@ -499,5 +499,3 @@ line-height: 23px;
499499

500500
-----
501501
This ends our fourth and last lesson in introducing HTML and CSS. Is there something you don't understand? Try and go through the provided resources with your coach. If you have any feedback, or can think of ways to improve this tutorial [send us an email](mailto:feedback@codebar.io) and let us know.
502-
503-

html/lesson5/tutorial.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Also, set a title for your page
3838
<h1>Anita Borg</h1>
3939
```
4040

41-
Before we continue any futher, format the existing content of the html file to use paragraphs `<p>`
41+
Before we continue any further, format the existing content of the html file to use paragraphs `<p>`
4242

4343
> Do you remember how to do that? Ask your coach to help you out if you are having any problems.
4444
@@ -220,7 +220,7 @@ To set a background you can use
220220
to set multiple backgrounds, you simple need to specify them separating them by commas
221221
`background: url(path/to/image), url(path/to/other/image), ...`
222222

223-
You can also set different properties for your backgrounds, by defining them in a similar comma seperated way.
223+
You can also set different properties for your backgrounds, by defining them in a similar comma separated way.
224224

225225
`background-size: first_image_size, second_image_size, ...;`
226226

@@ -326,15 +326,15 @@ p.about {
326326

327327
### What is an em
328328

329-
The name of an `em` doesn't really stand for anything. It was originaly used to describe that it was equal to the **M** character as it was commonly casted as the full-width of the square "block which are used in printing presses.
329+
The name of an `em` doesn't really stand for anything. It was originally used to describe that it was equal to the **M** character as it was commonly casted as the full-width of the square "block which are used in printing presses.
330330

331-
By using `em` insteaf of `px` to set the font-size, we are keeping it relative to the default font size. So 0.9em is 0.9 times the size that would have otherwise applied to that container.
331+
By using `em` instead of `px` to set the font-size, we are keeping it relative to the default font size. So 0.9em is 0.9 times the size that would have otherwise applied to that container.
332332

333333
> Change the height using the inspector to 2em. Can you notice the change?
334334
335335
### Not selector
336336

337-
Increase the `line-height` of all other pargraphs. We can do this with another very smart selector, The **not** selector.
337+
Increase the `line-height` of all other paragraphs. We can do this with another very smart selector, The **not** selector.
338338

339339
The **not** selector, finds all elements who don't match the specified description, in our case, all paragraphs that don't have a class `about`
340340

@@ -388,7 +388,7 @@ So here is how we will be reseting the list styling. We don't want to only speci
388388
}
389389
```
390390

391-
Making it preetier
391+
Making it prettier
392392

393393
```css
394394
.achievements li {

html/lesson6/tutorial.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ footer: true
88

99
### Recap
1010

11-
In the last lesson, we briefly introducted **HTML5** and **CSS3** with more focus on **CSS3**
11+
In the last lesson, we briefly introduced **HTML5** and **CSS3** with more focus on **CSS3**
1212

1313
### Today we will be focusing more on HTML5
1414

@@ -21,7 +21,7 @@ The page we will build will look similar to this [example page](http://codebar.g
2121
Download the files required to begin working through the tutorial from [here](https://gist.github.com/despo/7680133/download)
2222

2323

24-
## HTML5 stuctural semantics
24+
## HTML5 structural semantics
2525

2626
### Sectioning
2727

@@ -32,7 +32,7 @@ In the previous lessons, we used some HTML5 elements, like `<header>` and `<foot
3232
The purpose of structural semantics is that the elements describe parts of a website.
3333

3434
### `<section>`
35-
A section is usually a blob of content. When you are considering using it, try and ask yourself if what you are thinking of defining as section has a natural heading. If not, you should propably avoid it. It is also used for sectioning elements.
35+
A section is usually a blob of content. When you are considering using it, try and ask yourself if what you are thinking of defining as section has a natural heading. If not, you should probably avoid it. It is also used for sectioning elements.
3636

3737
If you just want to use it to style a part of the page, `<div>` would be more appropriate.
3838

@@ -42,7 +42,7 @@ The article element represents a component of a page that consists of a self-con
4242
Besides content, an `<article>` could have a heading `<header>` and sometimes a `<footer>`. It's commonly used for blog posts, comments and stories.
4343

4444
### `<aside>`
45-
aside can be used within different contexes. For example, if you are using it inside the page, the content needs to be related to the context of the page. Some example usage would be list of posts (if the page displays posts), advertising - if that is related to the page, or event additional navigation). If you use it within an article element, then the context should be specifically related to that article.
45+
aside can be used within different contexts. For example, if you are using it inside the page, the content needs to be related to the context of the page. Some example usage would be list of posts (if the page displays posts), advertising - if that is related to the page, or event additional navigation). If you use it within an article element, then the context should be specifically related to that article.
4646

4747
### Other elements
4848

@@ -76,9 +76,9 @@ This is **bad usage**, unless this information is directly relevant to the page.
7676
</address>
7777
```
7878

79-
#### `<figure>` and `<figcaption`
79+
#### `<figure>` and `<figcaption>`
8080
`<figure>` can be used in conjunction with the `<figcaption>` element to describe images, pictures, illustrations and diagrams (and even more).
81-
`<figcaption>` respresents a caption or legend for a picture.
81+
`<figcaption>` represents a caption or legend for a picture.
8282

8383
```html
8484
<figure>
@@ -94,7 +94,7 @@ This is **bad usage**, unless this information is directly relevant to the page.
9494
### `<video>` and `<audio>`
9595
The `<video>` and `<audio>` tags were introduced to support build-in media and offer the ability to easy embed media into HTML documents.
9696

97-
When you include a video, if the browser used does not support it, it will fallback to the message you contain within the container
97+
When you include a video, if the browser used does not support it, it will fall back to the message you contain within the container
9898

9999
```html
100100
<video src="path/to/video">
@@ -125,7 +125,7 @@ Grace Hopper on Letterman - http://codebar.github.io/tutorials/html/lesson6/asse
125125
126126
```
127127

128-
Also, dont forget to refer to the [previous tutorials](http://codebar.github.io/tutorials)
128+
Also, don't forget to refer to the [previous tutorials](http://codebar.github.io/tutorials)
129129

130130
> Don't afraid to ask help from your coach.
131131

js/lesson1/tutorial.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Download the files required to begin working through the tutorial from [here](ht
3939

4040
## Let's try out some JavaScript!
4141

42-
We'll start by just outputting some content on our browsr's inspector console.
42+
We'll start by just outputting some content on our browser's inspector console.
4343
To keep track of what we do, you should write the code in the `script.js`
4444

4545
First open up your HTML page and the **inspector**.
@@ -89,7 +89,7 @@ var pi = 3.14;
8989
console.log("The value of pi: " + pi);
9090
```
9191

92-
Now let's output the current year, and autocalculate the value of the next year using **addition**
92+
Now let's output the current year, and auto-calculate the value of the next year using **addition**
9393

9494
```js
9595
var year = 2013;
@@ -124,7 +124,7 @@ console.log("What kind of variable am I? " + iDontHaveAValue);
124124
### Operations
125125
The are are a number of operations you can apply, just like when using math.
126126

127-
Let's section the output by outputing a title
127+
Let's section the output by outputting a title
128128

129129
```js
130130
console.log("Operations");
@@ -166,7 +166,7 @@ console.log("Division: x/y=" + division);
166166
```
167167

168168
### The if statement
169-
In Javascript we can write conditions to control what we output
169+
In JavaScript we can write conditions to control what we output
170170

171171
Let's try this out.
172172

@@ -257,7 +257,7 @@ if (people > pizzas) {
257257
258258
## Functions
259259

260-
Functions are a major part of every programming language. They enable us to create meaningul snippets of code that we can rerun without having to define the same things again.
260+
Functions are a major part of every programming language. They enable us to create meaningful snippets of code that we can rerun without having to define the same things again.
261261

262262
Let's write a small function that prompts someone accessing our page with a message.
263263

@@ -312,7 +312,7 @@ Now that you fixed the problem, call the function from you browser's console!
312312
313313
### Multiple arguments
314314

315-
So far we've tried out functions with no and one argument. But noone limits how many we can use.
315+
So far we've tried out functions with no and one argument. But no one limits how many we can use.
316316
Let's try writing a function with multiple arguments.
317317

318318
```js
@@ -324,7 +324,7 @@ function whatIAmDoingToday(coach, place) {
324324

325325
### Returning values
326326

327-
Besides outputing, which is nice when learning as it makes it easier to see the result, we can also `return` values.
327+
Besides outputting, which is nice when learning as it makes it easier to see the result, we can also `return` values.
328328

329329
Create a function that adds two numbers together
330330

0 commit comments

Comments
 (0)