diff --git a/solutions/01_helloWorld/helloWorld.js b/solutions/01_helloWorld/helloWorld.js new file mode 100644 index 0000000..7df7d57 --- /dev/null +++ b/solutions/01_helloWorld/helloWorld.js @@ -0,0 +1 @@ +console.log("Hello World"); \ No newline at end of file diff --git a/solutions/01_helloWorld/index.html b/solutions/01_helloWorld/index.html new file mode 100644 index 0000000..e69de29 diff --git a/solutions/01_hello_html/hello.html b/solutions/01_hello_html/hello.html deleted file mode 100644 index d975ef8..0000000 --- a/solutions/01_hello_html/hello.html +++ /dev/null @@ -1 +0,0 @@ -This is just an example! Hehe. \ No newline at end of file diff --git a/solutions/02_helloName/helloName.js b/solutions/02_helloName/helloName.js new file mode 100644 index 0000000..9275414 --- /dev/null +++ b/solutions/02_helloName/helloName.js @@ -0,0 +1,2 @@ +var name = prompt ("What's your name?"); +alert("Hello There " + name); \ No newline at end of file diff --git a/solutions/02_helloName/index.html b/solutions/02_helloName/index.html new file mode 100644 index 0000000..5605e49 --- /dev/null +++ b/solutions/02_helloName/index.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/solutions/03_age/age.js b/solutions/03_age/age.js new file mode 100644 index 0000000..23230b9 --- /dev/null +++ b/solutions/03_age/age.js @@ -0,0 +1,3 @@ +var name = prompt ("What's your name?"); +var age = prompt("What is your age?"); +alert("Your name is" + name + "Your age is" + age); \ No newline at end of file diff --git a/solutions/03_age/index.html b/solutions/03_age/index.html new file mode 100644 index 0000000..e69de29 diff --git a/solutions/04_hello3ages/hello3ages.js b/solutions/04_hello3ages/hello3ages.js new file mode 100644 index 0000000..e69de29 diff --git a/solutions/04_hello3ages/imdex.html b/solutions/04_hello3ages/imdex.html new file mode 100644 index 0000000..7efb89b --- /dev/null +++ b/solutions/04_hello3ages/imdex.html @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/solutions/09a_Length/09a.js b/solutions/09a_Length/09a.js new file mode 100644 index 0000000..4a78f39 --- /dev/null +++ b/solutions/09a_Length/09a.js @@ -0,0 +1,2 @@ +var myString = "Thid is just a string" +console.log(myString.length); \ No newline at end of file diff --git a/solutions/09a_Length/index.html b/solutions/09a_Length/index.html new file mode 100644 index 0000000..6de01be --- /dev/null +++ b/solutions/09a_Length/index.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file