Week #3: Functions

The difference between declaring a function and calling a function is declaring a function is giving a name to a line of code. Then calling a function is reciting back the name and passing through a command. Has to be written with ().

ex.
Declare
function doSomething () {
         console.log ("Hello world");
}

Call
doSomething ()

Classwork

http://clomichelle.net/webdev1/03week-functions/cw-03week/

Problem Set

http://clomichelle.net/webdev1/03week-functions/ps-03week/

Leave a comment

Your email address will not be published. Required fields are marked *

css.php