diff --git a/index.html b/index.html index e69de29..7889018 100755 --- a/index.html +++ b/index.html @@ -0,0 +1,12 @@ + + + + + + Prog Web Legend + + +

Ecris une ligne

+ + + \ No newline at end of file diff --git a/js/intro.js b/js/intro.js index e69de29..2663134 100644 --- a/js/intro.js +++ b/js/intro.js @@ -0,0 +1,13 @@ + +let firstclick = 0 + +if (firstclick==0){ + document.addEventListener("click",button) + firstclick = 1 +} + +function button(){ + const click = document.createElement("button") + click.innerText="click" + document.body.appendChild(click) +} \ No newline at end of file