GithubHelp home page GithubHelp logo

lennycc / flash-oop-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omiras/flash-oop-project

0.0 0.0 0.0 1.76 MB

Home Page: https://js-beginners.github.io/flash-oop-project/

CSS 95.51% HTML 4.24% JavaScript 0.25%

flash-oop-project's Introduction

Flash Cards with Vue3

These flash cards are used to learn. Implement this app according to this Demo.

Requeriments

  1. When the user clicks on Add Question; the flash card shows up
    1. BONUS: In the demo there is a slight fade in animation you can implement.
  2. When the user clicks on the 'X'; the flash card is hidden.
  3. Implement the add card funcionality. Both input controls must have some values. If any them are empty, show an error message like in the demo. Take into account that the data is submitted via a form.
    1. Remember the correct place to set the submit event!
    2. Start by simple showing the error message if any of the input values are empty. Please notice that the error message is already located in the HTML
    3. You will need some variables in order to control which messages/elements must be displayed or hidden.
  4. Show all the flash cards at the bottom of the page. BONUS: The last flash added should be the first one to be displayed. HINT: You don't really need to sort the array; but use the right array method to add the new element in sthep 3.
  5. Implement the 'DELETE' functionality. Remember that there are two ways to manage this requeriment:
// Pass the generated flashcard id as a parameter
@click="removeCard(flashcard.id)"

// Pass all the flashcard object
@click="removeCard(flashcard)"
  1. Implement the 'EDIT' funcionality. You can use the same 'ADD QUESTION' form, but you'll need to control wheter you are in edit mode or just addiding a new question
  2. BONUS: Save all your generated cards in the localStorage object, so you can retrieve them whenever you come back to the app. A good place to load (if there is any) local storage data; is in the mounted hook

flash-oop-project's People

Contributors

omiras avatar romeojeremiah 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.