Skip to content

A web page that displays a message and a button, and when the button is clicked, the message is replaced with a random quote.

License

Notifications You must be signed in to change notification settings

sidcrz/naruto-random-quote-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Naruto Quote Generator

The Naruto Quote Generator is a web page that displays random quotes from the popular anime series Naruto when a button is clicked. The page has a background image related to Naruto and a simple user interface.

Features

  • Generates random quotes from Naruto series.
  • Responsive design with a background image.
  • Easy to use interface.

Usage

To use the Naruto Quote Generator, follow these steps:

Clone the repository:

git clone https://github.com/sidcrz/naruto-random-quote-generator

Open the index.html file in a web browser.

Click the "Get Quote" button to display a random quote from Naruto.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript

Code Structure

The project code has the following structure:

  • index.html: The main HTML file that represents the web page structure.
  • style.css: The CSS file that defines the styles for the web page.
  • script.js: The JavaScript file that contains the code for generating random quotes.

HTML Structure

The HTML code is structured as follows:

``` JavaScript Function The JavaScript code includes a function called generateQuote():

javascript Copy code function generateQuote() { // Function code }

Customization

You can customize the Naruto Quote Generator by modifying the following parts of the code:

Replace the background image:

Replace the naruto.jpg file with your desired background image. Update the background-image property in the CSS code to reflect the new image file name.

Add or modify quotes:

Update the quotes array in the JavaScript code with your desired quotes. Make sure to follow the array syntax and enclose each quote in double quotes ("").

Contributions

Contributions to the Naruto Quote Generator are welcome. If you find any bugs or have suggestions for improvement, please feel free to open an issue or submit a pull request.

License

The Naruto Quote Generator is licensed under the MIT License.

Acknowledgments

The Naruto Quote Generator is inspired by the Naruto anime series and its memorable quotes.

Enjoy generating random quotes from Naruto and get inspired! Feel free to contribute and make the Naruto Quote Generator even better.

image

About

A web page that displays a message and a button, and when the button is clicked, the message is replaced with a random quote.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages