From 289ebc5187a5f45ee98306f22a74fa735cc5af59 Mon Sep 17 00:00:00 2001
From: SirMathhman <SirMathhman@gmail.com>
Date: Wed, 23 Oct 2019 17:36:45 -0400
Subject: [PATCH] Set implementation of JS button

---
 index.html | 2 +-
 index.js   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html
index 6806891..e5e693f 100644
--- a/index.html
+++ b/index.html
@@ -68,6 +68,6 @@
             </tr>
         </table>
         <!--Question 6-->
-        <button onclick="#">Click me</button>
+        <button onclick="goToCCI()">Click me</button>
     </body>
 </html>
diff --git a/index.js b/index.js
index 21818a6..8663ff1 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
 function goToCCI() {
-    //window.open('https://drexel.edu/cci/');
+    window.location.replace('https://drexel.edu/cci/')
 }
 
 
@@ -12,7 +12,7 @@ function getBooks() {
     xhr.onreadystatechange=function() {
         myCallBack(xhr);
       };
-    xhr.send(null);   
+    xhr.send(null);
 }
 
 function myCallBack(xhr) {
@@ -25,4 +25,4 @@ function myCallBack(xhr) {
         <th>Available?</th>
         </tr>` + xhr.responseText;
     }
-}
\ No newline at end of file
+}
-- 
GitLab