website/tesses.net/index.php

23 lines
549 B
PHP
Executable File

<?php include("heading.php") ?>
<h1>Home</h1>
<br>
<p>
Hello my name is Mike Nolan, and this is my <a href="//namecheap.com">Namecheap</a> self hosted website.
<br>
<br>
And yes if you were wondering, I do this for fun.
<h1>Wanna go somewhere else</h1>
<input type="text" id="textField">
<button onclick="goto()">Go Elsewhere</button>
<script>
const text = document.getElementById('textField');
function goto()
{
window.location.href=text.value;
}
</script>
</p>
<?php include("footer.php") ?>