Skip to content

Commit

Permalink
fixed some more grammar issues on slides 10 and 11
Browse files Browse the repository at this point in the history
  • Loading branch information
numso committed Oct 25, 2012
1 parent 780e1b5 commit 8dcafd1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions public/index.html
Expand Up @@ -106,9 +106,10 @@
<div class="variable-sub-page">
<div>Numbers</div>
<div class="my-sub-page">
<div>You can have whole or decimal numbers. ( Note: There are no constants in Javascript. A variable defined in all caps is an implied constant. ) Example: </div>
<div>Javascript can handle both whole and decimal numbers.</div>
<div><pre>var age = 22;</pre></div>
<div><pre>var PI = 3.14159;</pre></div>
<div>( Note: There are no constants in Javascript. A variable defined in all caps is an implied constant. )</div>
</div>
</div>
</div>
Expand All @@ -117,9 +118,9 @@
<div class="variable-sub-page">
<div>Strings</div>
<div class="my-sub-page">
<div>Strings are lines of text. They can be declared with either types of quotes Example: </div>
<div><pre>var name = "Sam";</pre></div>
<div><pre>var job = 'Developer';</pre></div>
<div>Strings are lines of text. They can be declared with either single or double quotes:</div>
<div><pre>var name = 'Sam';</pre></div>
<div><pre>var job = "Developer";</pre></div>
</div>
</div>
</div>
Expand Down

0 comments on commit 8dcafd1

Please sign in to comment.