Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacTeng committed Apr 3, 2024
1 parent e34fbef commit f285eab
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="w3-clear"></div>
<header class="w3-center w3-margin-bottom">
<h1><b>PHOTOLIO</b></h1>
<p myfunction()>This is text</p>
<p>This is text</p>

</header>
</div>
Expand Down Expand Up @@ -70,13 +70,8 @@ <h1><b>PHOTOLIO</b></h1>

<script>
// Toggle grid padding
function myFunction() {
var x = document.getElementById("myGrid");
if (x.className === "w3-row") {
x.className = "w3-row-padding";
} else {
x.className = x.className.replace("w3-row-padding", "w3-row");
}
if (x.className === "w3-row") {
x.className = "w3-row-padding"
}

// Open and close sidebar
Expand Down

0 comments on commit f285eab

Please sign in to comment.