Fetch with JS

This commit is contained in:
janic
2022-06-08 23:23:57 +02:00
parent 8a9e5881a0
commit 1adaf55f07
2 changed files with 19 additions and 8 deletions

View File

@@ -15,10 +15,8 @@
<script src="index.js"></script>
<h1>Video Downloader</h1>
<center>
<form id="DownloadForm">
<input type="text" name="url" id="url" placeholder="Enter your url here">
<button type="submit" id="downloadbutton" onclick="ytdl()">Download</button>
</form>
<input type="text" name="url" id="url" placeholder="Enter your url here">
<button type="submit" id="downloadbutton" onclick="ytdl()">Download</button>
</center>
</body>
</html>