Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
AJYaBoi authored Aug 5, 2024
1 parent 2ecb536 commit 73f8acb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
}
.input-container {
position: absolute;
top: -100px; /* Move input off-screen */
opacity: 0; /* Hide input field */
top: -100px; /* Hide input off-screen */
left: -100px; /* Hide input off-screen */
}
.input-container input {
font-size: 18px;
Expand Down Expand Up @@ -106,6 +106,7 @@
}

document.getElementById('userInput').addEventListener('input', checkInput);
document.getElementById('userInput').focus(); // Ensure input field is focused
</script>
</body>
</html>

0 comments on commit 73f8acb

Please sign in to comment.