You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
936 B
HTML

<html>
<head>
<title>GLink</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div id="root">
<h1>Link Shortener</h1>
<form id="form" method="GET" action="result.php" onsubmit="return validate()">
<!-- <form id="form"> -->
<label for="url">URL:</label><span class="mandatory">*</span>
<input type="text" name="url" id="URL" value="https://example.com" required><br><br>
<label for="labels">GLink:</label><span class="mandatory">*</span>
<label for="GLink" id="labels" class="glink">glink.zip/</label><input type="text" name="glink" id="GLink" class="glink" value="exampleWebsite" required>
<span role="alert" id="error" aria-hidden="true">Invalid URL</span>
<br><br>
<input type="submit" id="button" value="Zip It!">
</form>
<hr>
<div>
<img src="cat.gif">
</div>
<script src="index.js"></script>
</div>
</body>
</html>