diff --git a/index.html b/index.html
index ef9a207..aca21bb 100644
--- a/index.html
+++ b/index.html
@@ -12,7 +12,7 @@
-
+
diff --git a/js/slide22.js b/js/slide22.js
index e69de29..854553e 100644
--- a/js/slide22.js
+++ b/js/slide22.js
@@ -0,0 +1,4 @@
+var userInput;
+do {userInput=prompt ("Enter a number between 0 and 100");
+} while(userInput > 0 && userInput < 100);
+ alert ("The square of the number is" + userInput + userInput);
\ No newline at end of file
diff --git a/js/slide23.js b/js/slide23.js
index e69de29..76453db 100644
--- a/js/slide23.js
+++ b/js/slide23.js
@@ -0,0 +1,17 @@
+
+var userInput1;
+var userInput2;
+var text = "";
+for (userInput1=prompt ("Enter a number");
+userInput2=prompt ("Enter a number");
+
+function printRange(rangeStart, rangeStop) {
+
+ for ((userInput1 = rangeStart) && (userInput2 <= rangeStop); i++;
+ text += i + ',');
+
+
+ return text.slice(0, -1);
+}
+
+(printRange(0, -1)));
\ No newline at end of file