Skip to content

Commit

Permalink
test js
Browse files Browse the repository at this point in the history
  • Loading branch information
Iris-TheRainbow committed Jun 20, 2024
1 parent 67ca2e3 commit dcfa8ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _tabs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ function getOPR() {
document.getElementById("opr").innerHTML = opr;
document.getElementById("value").innerHTML = Math.round(value*100)/100;
document.getElementById("best").innerHTML = best;
});
})
axios.get("https://vlr.orlandomm.net/api/v1/teams/2")
.then(response => {
var team0 = response.data.data.upcoming["0"]["teams"]["0"]["tag"];
var team1 = response.data.data.upcoming["0"]["teams"]["1"]["tag"];
document.getElementById("team0").innerHTML = team0
document.getElementById("team1").innerHTML = team1
})};
})}
</script>

</head>
Expand Down

0 comments on commit dcfa8ea

Please sign in to comment.