fixed bugs

This commit is contained in:
ocueye 2024-11-21 15:57:29 +00:00
parent 77d942d9bb
commit e98ab79e97
2 changed files with 9 additions and 5 deletions

View File

@ -79,6 +79,8 @@
</div>
<script>
document.getElementById('uploadForm').addEventListener('submit', function (event) {
const fileInput = document.getElementById('fileInput');
const errorText = document.getElementById('error');

View File

@ -62,6 +62,7 @@
padding: 20px;
}
button:hover {
transition: all .3s;
@ -75,6 +76,9 @@
<body>
<script>
function copycode() {
var copyText = document.getElementById("copy").textContent.trim();
copy(copyText);
@ -104,7 +108,8 @@
<button onclick="copycode()">Copy Code</button>
<h2>The qr code:</h2>
<div class="code">
<img src="https://vscode.carsonmayn.com/proxy/8170/qrcode?link=<linkhere>" alt="QR Code" style="border-radius: 20px;">
<img src="https://vscode.carsonmayn.com/proxy/8170/qrcode?link=<linkhere>" alt="QR Code"
style="border-radius: 20px;">
</div>
<h2>Or use the link:</h2>
<div class="code" id="link">
@ -119,7 +124,4 @@
<br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br><br> <br> <br> <br> <br> <br><br> <br> <br> <br>
</body>
</html>
</body>
</html>