From 022954b3d24f53e60b1d4e5095307a5a698c5300 Mon Sep 17 00:00:00 2001 From: Jacob Nelson Date: Wed, 8 May 2013 13:43:03 -0700 Subject: [PATCH 1/2] Added jacob hello world js file --- jacob.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 jacob.js diff --git a/jacob.js b/jacob.js new file mode 100644 index 0000000..a80fea8 --- /dev/null +++ b/jacob.js @@ -0,0 +1,3 @@ +function jacob() { + return "jacob says hello." +} \ No newline at end of file From ae0d952c530086a370203856a8a3854ab9528351 Mon Sep 17 00:00:00 2001 From: Jacob Nelson Date: Wed, 8 May 2013 13:47:34 -0700 Subject: [PATCH 2/2] Added function with name to the hello js file --- hello.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hello.html b/hello.html index 1fd1524..bc8450e 100644 --- a/hello.html +++ b/hello.html @@ -3,6 +3,7 @@ + Hello Team @@ -31,6 +32,7 @@ updateText(elisabeth(), textContent); updateText(bob(), textContent); updateText(robert(), textContent); +updateText(jacob(), textContent); // Note: we need to add more function here for everyone to say hello. // append the text content to the document