Added 'action' to form tag
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<body>
|
||||
<div id="root">
|
||||
<h1>Link Shortener</h1>
|
||||
<form id="form">
|
||||
<form id="form" action="result.js">
|
||||
<label for="url">URL:</label><span class="mandatory">*</span>
|
||||
<input type="text" name="url" id="URL" value="example.com" required><br><br>
|
||||
|
||||
@@ -26,4 +26,4 @@
|
||||
<script src="index.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user