From 7e41516801c374b6466bffbd6241e9b914fcc3b1 Mon Sep 17 00:00:00 2001 From: 8frank8 <77594456+8frank8@users.noreply.github.com> Date: Fri, 12 Feb 2021 16:50:58 -0600 Subject: [PATCH] Update script.js --- ex1/script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ex1/script.js b/ex1/script.js index db35d88..26650a1 100644 --- a/ex1/script.js +++ b/ex1/script.js @@ -1 +1,3 @@ -// Change the text of the h1 tag to "I have changed the text" \ No newline at end of file +// Change the text of the h1 tag to "I have changed the text" +var h1 = document.appendchild('h1'); +h1.innerHTML = "I have change the text";