How to Use

  • Set Range: Enter the minimum and maximum values in the input fields (defaults: 1 to 100).

  • Generate Number: Click "Generate Number" or press Enter in either input field to create a random number within the specified range.

  • View Result: The generated number appears in the result field.

  • Copy to Clipboard: Click "Copy" to copy the generated number to your clipboard.

  • Input Validation: Alerts if inputs are invalid (non-numeric or min > max).

Features

  • Responsive Design: Uses Tailwind CSS for a clean, mobile-friendly interface.

  • Real-Time Generation: Generates a random number instantly when the button is clicked or Enter is pressed.

  • Range Flexibility: Supports any integer range (positive or negative).

  • Copy Functionality: Easily copy the generated number to the clipboard.

  • Error Handling: Displays error messages for invalid inputs.