crop_rotate
Run
<!DOCTYPE html> <html> <head> <style> .btn { padding:10px; background-color:#007bff; border:none; color:white; } </style> </head> <body> <p id="paragraph">this text will be hidden after button click</p> <button class="btn" id="btn">hidde text</button> <script> let btn = document.getElementById("btn"); let paragraph = document.getElementById("paragraph"); btn.addEventListener('click',()=>{ paragraph.style.visibility= 'hidden'; }); </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxoZWFkPg0KPHN0eWxlPg0KIC5idG4NCiB7DQogICBwYWRkaW5nOjEwcHg7DQogICBiYWNrZ3JvdW5kLWNvbG9yOiMwMDdiZmY7DQogICBib3JkZXI6bm9uZTsNCiAgIGNvbG9yOndoaXRlOw0KIH0NCjwvc3R5bGU+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPiA6Oi13ZWJraXQtc2Nyb2xsYmFye3dpZHRoOjdweDtoZWlnaHQ6N3B4O306Oi13ZWJraXQtc2Nyb2xsYmFyLXRyYWNre2JhY2tncm91bmQ6I2ZmZjt9Ojotd2Via2l0LXNjcm9sbGJhci10aHVtYntib3JkZXItcmFkaXVzOjVweDtiYWNrZ3JvdW5kOiMyZjQ1ZmY7fTwvc3R5bGU+PC9oZWFkPg0KPGJvZHk+DQo8cCBpZD0icGFyYWdyYXBoIj50aGlzIHRleHQgd2lsbCBiZSBoaWRkZW4gYWZ0ZXIgYnV0dG9uIGNsaWNrPC9wPg0KPGJ1dHRvbiBjbGFzcz0iYnRuIiBpZD0iYnRuIj5oaWRkZSB0ZXh0PC9idXR0b24+DQo8c2NyaXB0Pg0KbGV0IGJ0biA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJidG4iKTsNCmxldCBwYXJhZ3JhcGggPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgicGFyYWdyYXBoIik7DQpidG4uYWRkRXZlbnRMaXN0ZW5lcignY2xpY2snLCgpPT57DQogIHBhcmFncmFwaC5zdHlsZS52aXNpYmlsaXR5PSAnaGlkZGVuJzsNCn0pOw0KPC9zY3JpcHQ+DQo8L2JvZHk+DQo8L2h0bWw+