diff --git a/students/nmoxey/index.html b/students/nmoxey/index.html index a9c158c..249911d 100644 --- a/students/nmoxey/index.html +++ b/students/nmoxey/index.html @@ -8,6 +8,7 @@ Nate's Landing Page +
@@ -31,5 +32,13 @@

mrbrbrn.com

+
+

What's your favorite game?

+
    +
  1. Castle Crashers
  2. +
+ + +
\ No newline at end of file diff --git a/students/nmoxey/main.js b/students/nmoxey/main.js index e69de29..0d9c75a 100644 --- a/students/nmoxey/main.js +++ b/students/nmoxey/main.js @@ -0,0 +1,7 @@ +putInList = function() { + let inp = document.getElementById("inp").value;//get input text + let ul = document.getElementById("lis");//get list + let entry = document.createElement('li'); + entry.appendChild(document.createTextNode(inp)); + ul.appendChild(entry); +} \ No newline at end of file