On my webpage, I have 2 toggle buttons - "Leaderboard" and "MedalTally". The layout looks like this: https://i.sstatic.net/IohqA.png
Here are the codes for the above page:
*, *:before, *:after {
box-sizing: border-box;
}
html {
overflow-y: scroll;
}
body {
background: #c1bdba;
font-family: 'Titillium Web', sans-serif;
}
a {
text-decoration: none;
color: #1ab188;
-webkit-transition: .5s ease;
transition: .5s ease;
}
a:hover {
color: #179b77;
}
<!-- More CSS code here -->
<!-- HTML code here -->
Additionally, here is the leaderboard code snippet:
https://i.sstatic.net/MiCXA.png
/* CSS code for leaderboard */
<!-- More CSS code for the leaderboard -->
<!-- HTML code for leaderboard -->
Now, the task is to insert the leaderboard (from the second picture) inside the first picture at the location "Display Leaderboard here".
When the user clicks on the "Leaderboard" tab in the first picture, the leaderboard should be displayed. The functionality for the "MedalTally" tab can be ignored for now.
If you have a solution to this issue, please kindly provide assistance.