diff --git a/solutions/01_hello_html/02_name/index.html b/solutions/01_hello_html/02_name/index.html new file mode 100644 index 0000000..9cec973 --- /dev/null +++ b/solutions/01_hello_html/02_name/index.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/solutions/01_hello_html/02_name/name.js b/solutions/01_hello_html/02_name/name.js new file mode 100644 index 0000000..334d66b --- /dev/null +++ b/solutions/01_hello_html/02_name/name.js @@ -0,0 +1,2 @@ +var name = prompt("Hola what's your name?") +alert("Hola "+ name); \ No newline at end of file diff --git a/solutions/01_hello_html/03_age/age.js b/solutions/01_hello_html/03_age/age.js new file mode 100644 index 0000000..47db851 --- /dev/null +++ b/solutions/01_hello_html/03_age/age.js @@ -0,0 +1,3 @@ +var age = prompt("How old are you ?"); +var name = prompt("What's your name?"); +alert(age); \ No newline at end of file diff --git a/solutions/01_hello_html/03_age/index.html b/solutions/01_hello_html/03_age/index.html new file mode 100644 index 0000000..2dfef0d --- /dev/null +++ b/solutions/01_hello_html/03_age/index.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ 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..776d543 --- /dev/null +++ b/solutions/09a_length/index.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ 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..7439084 --- /dev/null +++ b/solutions/09a_length/length.js @@ -0,0 +1,5 @@ + + +var myString = "Barns are red"; + +console.log(myString.length); \ No newline at end of file