From c8bb7a31f88ecf8d2db7c2d3e40179d6b70a5c36 Mon Sep 17 00:00:00 2001 From: Peleg Rosenthal Date: Wed, 7 Oct 2015 22:00:23 +0000 Subject: [PATCH] some work --- solutions/02_hello_name/helloName.js | 4 ++++ solutions/02_hello_name/index.html | 12 ++++++++++++ solutions/09a_length/Untitled1.html | 0 solutions/09a_length/index.html | 12 ++++++++++++ solutions/09a_length/length.js | 5 +++++ 5 files changed, 33 insertions(+) create mode 100644 solutions/02_hello_name/helloName.js create mode 100644 solutions/02_hello_name/index.html create mode 100644 solutions/09a_length/Untitled1.html create mode 100644 solutions/09a_length/index.html create mode 100644 solutions/09a_length/length.js diff --git a/solutions/02_hello_name/helloName.js b/solutions/02_hello_name/helloName.js new file mode 100644 index 0000000..be6880a --- /dev/null +++ b/solutions/02_hello_name/helloName.js @@ -0,0 +1,4 @@ +var name = prompt("What is your name?", ""); + +console.log(name); + diff --git a/solutions/02_hello_name/index.html b/solutions/02_hello_name/index.html new file mode 100644 index 0000000..cde180f --- /dev/null +++ b/solutions/02_hello_name/index.html @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/solutions/09a_length/Untitled1.html b/solutions/09a_length/Untitled1.html new file mode 100644 index 0000000..e69de29 diff --git a/solutions/09a_length/index.html b/solutions/09a_length/index.html new file mode 100644 index 0000000..bbc7661 --- /dev/null +++ b/solutions/09a_length/index.html @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/solutions/09a_length/length.js b/solutions/09a_length/length.js new file mode 100644 index 0000000..fcfc96a --- /dev/null +++ b/solutions/09a_length/length.js @@ -0,0 +1,5 @@ + + +var myString = "This is just a string"; + +console.log(myString.length); \ No newline at end of file