urlshortener/views/index.html

33 lines
897 B
HTML
Raw Normal View History

2017-02-18 19:57:45 +01:00
<!DOCTYPE html>
<html>
<head>
<title>URL Shortener Microservice | freeCodeCamp.org</title>
2020-09-14 11:24:04 +02:00
<link
2021-04-19 13:25:29 +02:00
rel="icon"
type="image/png"
href="https://cdn.freecodecamp.org/universal/favicons/favicon-16x16.png"
2020-09-14 11:24:04 +02:00
/>
<link href="/public/style.css" rel="stylesheet" type="text/css" />
</head>
2017-02-18 19:57:45 +01:00
<body>
<h1>URL Shortener Microservice</h1>
2020-09-18 10:45:36 +02:00
<main>
<section>
2021-04-19 13:25:29 +02:00
<form action="api/shorturl" method="POST">
2020-09-18 10:45:36 +02:00
<fieldset>
<legend>URL Shortener</legend>
<label for="url_input">URL:</label>
<input id="url_input" type="text" name="url" placeholder="https://www.freecodecamp.org/" />
2020-09-18 10:45:36 +02:00
<input type="submit" value="POST URL" />
</fieldset>
</form>
</section>
</main>
<footer>
<p>By <a href="https://www.freecodecamp.org/">freeCodeCamp</a></p>
2020-09-18 10:45:36 +02:00
</footer>
</body>
</html>