Steam ID
HTML
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<title>Hello, world!</title>
</head>
<body>
<div class="container">
<div class="alert alert-primary" role="alert">
The website is currently in progress.
</div>
<center><a href="/"><img src="img/logo.gif"></a></center>
<div class="container">
<div class="row">
<div class="col-sm">
<h3>Where you can find me?</h3>
<ul class="list-group">
<li class="list-group-item"><a href=''>Discord: <b>lorem</b></a></li>
<li class="list-group-item"><a href="skype:lorem?add">Skype: <b>lorem</b></a></li>
<li class="list-group-item"><a href="mailto:lorem?subject=I want to get in touch with you">Mail: <b>lorem</b></a></li>
<li class="list-group-item"><a href="lorem">Steam Profile: <span id="steamID"></span></a></li>
</ul>
</div>
<div class="col-sm">
<h3>My projects</h3>
<ul class="list-group">
<li class="list-group-item">Coming soon..</li>
<li class="list-group-item">Coming soon..</li>
<li class="list-group-item">Coming soon..</li>
<li class="list-group-item">Coming soon..</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<script...
JavaScript
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
myFunction(this);
}
};
xhttp.open("GET", "https://steamcommunity.com/profiles/76561198051219432/?xml=1", true);
xhttp.send();
function myFunction(xml) {
var xmlDoc = xml.responseXML;
var x = xmlDoc.getElementsByTagName('steamID')[0];
var y = x.childNodes[0];
document.getElementById("steamID").innerHTML =
y.nodeValue;
}