Git Product home page Git Product logo

sundaynwoye / random-quote-generator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 496 KB

Simplest quotation generator software. Create new quotes, select the number of quotes generated (between 1 and 5), choose between two types of quote generator.

Home Page: https://sundaynwoye.github.io/random-quote-generator/

CSS 27.96% HTML 20.24% JavaScript 51.80%
quotation-generator random-quotes sentence-fragments quotes javascript quote-generators

random-quote-generator's Introduction

Create a quotation generator - Openclassrooms

Step 1: Random quotes There are plenty of text generators online. Google "quote generator," and you will find many sites that randomly generate quotes by assembling sentence fragments.

Your turn to create one! You must respect the following criteria:

The quotes are generated randomly one by one with each JavaScript call

Each quote is a combination of at least 3 sentence fragments (it's up to you to create these sentence fragments: beginning, middle, and end)

The quotes should be relatively coherent (no exclamation points in the middle of a sentence, for example)

The program can simply display each result in the JavaScript console.

Step 2: More customized quotes You now want to go further and offer the following options:

Select the number of quotes generated (between 1 and 5)

Choose between 2 types of quote generators (accordingly, you'll need two different sets of sentences)

Once the quotes are generated, have the program generate new quotes or quit the program

Adapt the program so that it has these features!

Deliverables Files to provide:

A JavaScript file of your code for step 1 ;

A JavaScript file of your code for step 2.

random-quote-generator's People

Contributors

sundaynwoye avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.