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";