From 2c0ae826a7d7be97d09d76e3dec7f5ea23112362 Mon Sep 17 00:00:00 2001 From: github username Date: Tue, 23 Apr 2019 18:21:23 -0400 Subject: [PATCH] done. --- index.js | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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",