From 1b700a85a89a704038bce68b00e87867cce20111 Mon Sep 17 00:00:00 2001
From: Resilient08 <58645288+Resilient08@users.noreply.github.com>
Date: Tue, 30 Jun 2020 16:21:01 -0400
Subject: [PATCH 1/2] updates to slide 22
---
js/slide22.js | 4 ++++
1 file changed, 4 insertions(+)
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
From 8c99f0686eb7a3f6225ecbe9c1148befb5f3510b Mon Sep 17 00:00:00 2001
From: Resilient08 <58645288+Resilient08@users.noreply.github.com>
Date: Tue, 30 Jun 2020 19:52:52 -0400
Subject: [PATCH 2/2] updates to slide 23
---
index.html | 2 +-
js/slide23.js | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
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/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