diff --git a/click.html b/click.html index 425c86c..3fa28ea 100644 --- a/click.html +++ b/click.html @@ -7,6 +7,10 @@

見つけられるかな?

この辺から違和感を感じる...

+

11111

+

22222

+

33333

+ \ No newline at end of file diff --git a/dbl.js b/dbl.js new file mode 100644 index 0000000..6416709 --- /dev/null +++ b/dbl.js @@ -0,0 +1,10 @@ +function dblSize() { + var pElements = document.querySelectorAll('p'); + for (let i of pElements) { + i.style.fontSize = '200%'; + } + } + +window.addEventListener("load", function(e) { + document.body.addEventListener("click", dblSize); +});