2

Week12 11/28 JavaScript

Readings:

W3Schools Online Web Tutorials

______________________________________________________

Section 1. Introduction

[kml_flashembed movie=” http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=week12javascript-110503224255-phpapp01&stripped_title=week12-javascript-7826642″ width=”525″ height=”405″ allowfullscreen=”true” /]

______________________________________________________

Section 2. Where to write Javascript?

Creating A Simple Internal JavaScript In Your Webpage

http://www.youtube.com/watch?v=wUzwLK3s3EU

Creating External JavaScripts and Linking them to your HTML document

http://www.youtube.com/watch?v=aPuWMrmE3FM&feature=related

______________________________________________________

Section 3. JavaScript Variables and Operators

http://www.youtube.com/watch?v=J_Lm3zi7wnU&feature=related http://www.youtube.com/watch?v=00LZnu_lYe8&feature=related

______________________________________________________

Section 4. Global and Local Variables

______________________________________________________

Section 5. Understanding the Order of Operations

http://www.youtube.com/watch?v=ZlOXWZ9vgRo&feature=related

______________________________________________________

Section 6. Functions in Javascript

http://www.youtube.com/watch?v=WPopG1L01ck

______________________________________________________

Section 7. If Statement


If else Statment

______________________________________________________

Section 8. For Loop

______________________________________________________

Section 9. While Loop

______________________________________________________

Assignment (5 points):

Use a loop or a function to create a program that displays the following:

This is created with JavaScript:

This is my lucky number 20.
This is my lucky number 18.
This is my lucky number 16.
This is my lucky number 14.
This is my lucky number 12.
This is my lucky number 10.
This is my lucky number 8.
This is my lucky number 6.
This is my lucky number 4.
This is my lucky number 2.
This is my lucky number 0.

After it is done, please submit your .html file to the Blackboard under Assignments > Week12.

Thanks.

2 comments to Week12 JavaScript

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

STAY IN TOUCH

Simple Calendar

Nothing from August 25, 2017 to September 1, 2017.

LEAVE A MESSAGE

[contact-form-7 id="33" title="Contact form 1"]