Code Monkey home page Code Monkey logo

elevateyou's Introduction

Web Development Project 2 + 3 - ElevateYou

Submitted by: Arnold Bhebhe

This web app: Helps you Empower Yourself, One Card At A Time! It provides two types of flashacrds, Self-Discovery Flashcards, and Numbers Flashcards

Time spent: 12 hours spent in total

Required Features

  1. Numbers Flashcards

    The following required functionality is completed:

    • The user can enter their guess in a box before seeing the flipside of the card
    • Clicking on a submit button shows visual feedback about whether the answer was correct or incorrect
    • A back button is displayed on the card and can be used to return to the previous card in a set sequence
    • A next button is displayed on the card and can be used to navigate to the next card in a set sequence

    The following optional features are implemented:

    • A shuffle button is used to randomize the order of the cards
    • A counter displays the user's current and longest streak of correct responses

    The following additional features are implemented:

    • API Calls: Make API calls to get Facts about Numbers from NumbersAPI
    • Allow users to specify the number of questions, and the type of range the need - random or custom
    • User can only flip card once they enter an answer
    • User can choose to restart the current set of cards, or start a new set

    Video Walkthrough

    Here's a walkthrough of implemented required features:

    Video Walkthrough

    GIF created with LiceCap.

  2. Self-Discovery Flashcards

    The following required functionality is completed:

    • The title of the card set and some information about it, such as a short description and the total number of cards are displayed
    • A single card at a time is displayed, only showing one of the components of the information pair
    • A list of card pairs is created
    • Clicking on the card shows the corresponding component of the information pair
    • Clicking the next button displays a random new card
      • App has different sections grouped by categories. Each category has a different background color on the card.

    The following optional features are implemented:

    • Cards contains images in addition to or in place of text
    • Cards have different visual styles such as color based on their category

    The following additional features are implemented:

    • Cards are stored in a Firebase database, and accessed in realtime!

    Video Walkthrough

    Here's a walkthrough of implemented required features:

    ElevateYou Walkthrough

    GIF created with LiceCap.

Notes

Challenges encountered:

  • Infinite Renders
    • Component was repeatedly rendering, causing an endless loop of updates and re-renders.

Lessons learned:

  • React Modularization
    • Breaking down a React application into smaller, reusable components.
  • Axios
    • Sending asynchronous HTTP requests and handling responses using promises or async/await syntax.

License

Copyright [2023] [Arnold Bhebhe]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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.