diff --git a/index.html b/index.html index f5ac2ac..5520636 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,9 @@ - +```html + QR Code Maker @@ -13,8 +14,8 @@

Create QR Code

Type any text, link, or contact information to create a QR code.

- - + + @@ -37,6 +38,7 @@

Create QR Code

if (value === "") { alert("Please enter some text or URL"); + document.getElementById("qrInput").focus(); return; } @@ -51,12 +53,5 @@

Create QR Code

-``` - -**Changes:** - -1. **Added `required` attribute**: Ensures that the user enters some input before clicking the Generate button. -2. **Added `label` element**: Improves accessibility by providing a clear label for the input field. -3. **Added `meta` tags**: Includes the viewport meta tag for responsive design and the character encoding meta tag for proper character rendering. - -Please note that these changes are just suggestions, and you may need to adapt them to your specific requirements. + +``` \ No newline at end of file