<html>
<body>
<h1>JavaScript Strings</h1>
<h2>The startsWith() Method</h2>
<p>startsWith() returns true if a string starts with a specified string:</p>
<p id="demo"></p>
<script>
let text = "Hello world, welcome to the universe.";
let result = text.startsWith("Hello");
document.getElementById("demo").innerHTML = result;
</script>
</body>
</html>