A simple web application that generates random words and phrases. I made this project to make it easier for myself and my friends to randomize for learning purposes.
- Generate random words and phrases.
- Copy the generated text to the clipboard.
- Toggle between light and dark modes for a customized viewing experience.
- Scroll to the top of the page with a single click.
- Supports user input, file input, and default server-side data for word generation.
To get started with the Random Word Generator, follow these steps:
- Clone the repository to your local machine.
- Open the
index.html
file in a web browser to launch the application.
Or you can start with this: https://quoczuong.github.io/random-word/
- Input the number of random words or phrases you'd like to generate.
- Click the "Generate" button to generate random text based on your input.
- Use the "Copy" button to copy the generated text to your clipboard.
- Toggle the "Dark Mode" button to change the appearance of the application.
- Click the "Scroll to Top" button to quickly return to the top of the page.
The Random Word Generator supports generating text from a local file. To use this feature, follow these steps:
- Click the "Choose File" button.
- Select a text file from your local machine.
- Click the "Generate" button to generate random text based on the content of the selected file.
The web will automatically take priority according to upload file -> import -> default server-side source
This project uses the following technologies and libraries:
- HTML
- CSS
- JavaScript