From e6b2ece2c342252a97d53bd155c760a919816af0 Mon Sep 17 00:00:00 2001 From: Samidh Patel Date: Wed, 24 Apr 2019 11:39:01 -0400 Subject: [PATCH] Done. --- index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 4b2f148..5cc61ed 100644 --- a/index.js +++ b/index.js @@ -1 +1,9 @@ -// Your code goes here \ No newline at end of file +// Your code goes here +document.addEventListener("DOMContentLoaded", function () { + updateDOM(); +}); + +function updateDOM() { + document.getElementById("text").innerHTML = "This is really cool!"; +}; +