<HTML>
<body>
<input type = "button" id="hider" value="Click to hide the text"/>
<div id="text">text</div>
<script>
document.getElementById('hider').onClick = fuction(){
document.getElementById('text').hidden = true;
}
</script>
</body>
</HTML>
<body>
<input type = "button" id="hider" value="Click to hide the text"/>
<div id="text">text</div>
<script>
document.getElementById('hider').onClick = fuction(){
document.getElementById('text').hidden = true;
}
</script>
</body>
</HTML>
//you think I thought of it and wrote it all?
//nah fuck you I saw the solution and typed it
//lol no offence
댓글
댓글 쓰기