Skip to content

Commit

Permalink
Added Buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
TOGZ819 committed Jul 1, 2024
1 parent f9a684c commit 843651c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,26 @@ <h2 style="color: #28f005; background-color: grey;">This text has multiple attri
<br>

<!--iframe = embeds content from another webpage into an HTML Document.-->

<iframe style="border:0;" src="/Iframehtml/Iframe.html" width="450" height="520"></iframe>
<hr>
<br>

<!--Buttons-->
<a href="https://www.youtube.com/watch?v=xvFZjo5PgG0">
<button disabled style="height:50px;width: 100px; background-color: #333333; border-radius:20px;">Click Me!</button>
</a>
<br>
<a href="https://www.youtube.com/watch?v=xvFZjo5PgG0" target=_blank>
<button style="height:50px;width: 100px; background-color: #333333; border-radius:20px;">Click Me!</button>
</a>
<br>
<button onclick="doSomething()" style="height:50px;width: 100px; background-color: #333333; border-radius:20px;">Click Me!</button>
<p id="test">Hello</p>

<script>
function doSomething(){
document.getElementById("test").innerHTML = "Goodbye";
}
</script>
</body>
</html>

0 comments on commit 843651c

Please sign in to comment.