<html>
<body>
<h1 id="studio">SwimFit</h1>
<p id="trial">Try the free trial</p>
<script>
var studio = document.getElementById("studio").innerHTML;
</script>
</body>
</html>
]]>Make sure to pick var studio
followed by =
and then document.getElementById("studio")
, .innerHTML
.