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