Skip to content

Commit

Permalink
Merge pull request #9 from mroswell/patch-1
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
Cara-Jo committed Jul 14, 2014
2 parents 573b6d3 + 04b0f11 commit 0b2dc1b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions class1.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h3>Data types</h3>
</code></pre>
</div>
<div class = "fragment">
In nerd speak, JavaScript variables are "loosely typed". You don't know the kind of value a variable will have until you assign it.
In nerd speak, JavaScript variables are "loosely typed." You don't know the kind of value a variable will have until you assign it.
</div>
</section>

Expand Down Expand Up @@ -313,7 +313,7 @@ <h3>Expressions</h3>
<pre><code contenteditable class ="javascript">
var name = "Mitch";
var dinosaur = "Stegosaurus";
var sentence = "My dinosaur is a " + dinosaur + ". It's name is " + name + ".";
var sentence = "My dinosaur is a " + dinosaur + ". Its name is " + name + ".";
</code></pre>
</div>
</section>
Expand Down Expand Up @@ -353,7 +353,7 @@ <h3>Let's Develop It</h3>

<section>
<h3>Let's Develop It</h3>
<p>Life time supply calculator</p>
<p>Lifetime supply calculator</p>
<p>Ever wonder how much a lifetime supply of your favorite snack or drink is?</p>
<ul>
<li>Store your age in a variable</li>
Expand Down Expand Up @@ -552,7 +552,7 @@ <h3>Return values</h3>
<!-- Functions cont.-->
<section>
<h3>Variable Scope</h3>
<p class = "fragment">JavaScript have "function scope". They are visible in the function where they are defined</p>
<p class = "fragment">JavaScript variables have "function scope." They are visible in the function where they are defined</p>
<div class = "fragment">
A variable with "local" scope:
<pre><code contenteditable class ="javascript">
Expand All @@ -569,7 +569,7 @@ <h3>Variable Scope</h3>
<!-- Functions cont.-->
<section>
<h3>Variable Scope</h3>
<p class = "fragment">JavaScript have "function scope". They are visible in the function where they are defined</p>
<p class = "fragment">JavaScript variables have "function scope." They are visible in the function where they are defined</p>
<div class = "fragment">
A variable with "global" scope:
<pre><code contenteditable class ="javascript">
Expand Down

0 comments on commit 0b2dc1b

Please sign in to comment.