Submitted by: Nour Siwar
This web app: This is the improved version of Suits Game trivia in my other repo. In here, the user inputs/writes the name of the speaker.
Time spent: 3.25 hours spent in total
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
- A shuffle button is used to randomize the order of the cards
The following optional features are implemented:
- A user's answer may be counted as correct even when it is slightly different from the target answer
- A counter displays the user's current and longest streak of correct responses
- A user can mark a card that they have mastered and have it removed from the pool of answers as well as added to a list of mastered cards
Here's a walkthrough of implemented user stories:
GIF created with ... LiceCap
- Starting with an already existing repo was a bit challenging but I began cutting the challenges in small problems
- Nesting components, I haven't added components as the code wasn't long enough so it didn't deem necessary.
- Using json instead of a variable with the quotes and answers.
- Disabling the button to not allow user to manipulate streaks.
- Finding ways to use the lab to help me with implementing what's needed in my project.
Copyright [2023] [Nour Siwar]
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.