Table generated from form data
This commit is contained in:
Sunny Dhoke
2020-10-08 11:04:07 +05:30
parent a0a339aa3f
commit 2dc434103c

View File

@@ -1 +1,35 @@
Hello Universe
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>YouRL-Hello Universe</title>
</head>
<body>
<h1>URL Shortner</h1>
<form action="" method="POST">
<label for="fullurl">URL</label>
<input type="url" name="fullurl" id="fullurl" />
<button type="submit">Shorten my link!</button>
</form>
<table>
<thead>
<tr>
<th>Full URL</th>
<th>Shortened URL</th>
<th>Total Clicks</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="https://sunn-e.github.io">https://sunn-e.github.io</a>
</td>
<td><a href="/420">420</a></td>
<td>1</td>
</tr>
</tbody>
</table>
</body>
</html>