updated folder structure
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
function changeVisibility(){
|
||||
document.getElementById("shape").classList.toggle("hide");
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.square {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
background-color: yellow;
|
||||
}
|
||||
</style>
|
||||
<div id="shape" class="square"></div>
|
||||
|
||||
<button onclick="changeVisibility()">Magic!</button>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user