Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Bootstrap Example</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="https://www.w3schools.com/w3css/3/w3.css">
- </head>
- <body>
- <style>
- #recordTag {
- padding-top: 10px;
- padding-left: 15px;
- }
- #records {
- padding-top: 10px;
- padding-left: 15px;
- }
- </style>
- <div>
- <p id="recordTag"><u>Records</u></p>
- </div>
- <div class="w3-container">
- <a class="w3-btn w3-black" role="button" onclick="toggleRecords()">Toggle Records</a>
- </div>
- <div id="records">
- <strong>Player</strong> - 100% - <a href="https://www.youtube.com" target="_blank">View Video</a><br>
- </div>
- <script>
- function toggleRecords() {
- var x = document.getElementById("records");
- if (x.style.display === "none") {
- x.style.display = "block";
- } else {
- x.style.display = "none";
- }
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement