Git Product home page Git Product logo

random-card-generator's Introduction

Personal Logo Random Card Generator

Open in Gitpod

The objective of this project is to display a random card from a deck of poker on the screen using a sequence of JavaScript functions that modifies the DOM. To add a little more difficulty, we have decided that each of the buttons will offer to the user a certain type of card, one a simply random car, the other option showing a card without repeating the suit, and the last one showing a unique card without repeating until the deck is over.

Exercises

Given an index.html document, the app.js file must modify the DOM in order to:

  1. Create a function that show a random card (the suit and the number can be repeated)
  2. Create a function that show a random card without repeating the previous suit
  3. Create a function that show a unique random card without repeating
REMEMBER:

Once the progress and flow of the project is finished, you must commit and push the repository remotely, using the following command:

$ git add . 
$ git commit -m "Message"
$ git push origin repo-remote

random-card-generator's People

Contributors

jesus-cano-ortega avatar

Watchers

 avatar

random-card-generator's Issues

Fallo en el ultimo boton

Cuando se acaba de repetir las 52 combinaciones debería aparecer una alerta indicándomelos y el programa debería ejercutarse desde cero para poder volver a repetir las 52 combinaciones.

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.