diff --git a/index.js b/index.js index 4b2f148..dbb9b40 100644 --- a/index.js +++ b/index.js @@ -1 +1,4 @@ -// Your code goes here \ No newline at end of file +// Your code goes here +document.addEventListener('DOMContentLoaded', function() { + document.querySelector('#text').textContent = "This is really cool!" +}); \ No newline at end of file diff --git a/package.json b/package.json index 69e1c65..49736d0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A JavaScript lab", "main": "index.js", "scripts": { - "test": "mocha -R mocha-multi --reporter-options spec=-,json=.results.json" + "test": "mocha -R mocha-multi --timeout 5000 --reporter-options spec=-,json=.results.json" }, "author": "flatironschool", "license": "Included in Repo",