diff --git a/public/index.html b/public/index.html index 49ed018..ec12906 100644 --- a/public/index.html +++ b/public/index.html @@ -3,10 +3,14 @@ - - -

Hi

+

Lesson Prompts

+
+
Current Prompt
+
+
+ + diff --git a/public/js/index.js b/public/js/index.js index 0b1d7e6..eda1d13 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1,4 +1,4 @@ const socket = io.connect('/'); socket.on('prompt sent', function (data) { - console.log(data); + document.querySelector('dd').innerHTML = data; });