Flashcards Challenge Project (Redux)

Congratulations on completing your project! :tada:

Compare your project to our solution code and share your project below! Your solution might not look exactly like ours, and that’s okay! The most important thing right now is to get your code working as it should (you can always refactor more later). There are multiple ways to complete these projects and you should exercise your creative abilities in doing so.

This is a safe space for you to ask questions about any sample solution code and share your work with others! Simply reply to this thread to get the conversation started. Feedback is a vital component in getting better with coding and all ability levels are welcome here, so don’t be shy!

About community guidelines: This is a supportive and kind community of people learning and developing their skills. All comments here are expected to keep to our community guidelines

How do I share my own solutions?

  • If you completed the project off-platform, you can upload your project to your own GitHub and share the public link on the relevant project topic.
  • If you completed the project in the Codecademy learning environment, use the share code link at the bottom of your code editor to create a gist , and then share that link here.

Do I really need to get set up on GitHub?

Yes! Both of these sharing methods require you to get set up on GitHub and trust us, it’s worth your time. Here’s why:

  1. Once you have your project on GitHub, you’ll be able to share proof of your work with potential employers, and link out to it on your CV.
  2. It’s a great opportunity to get your feet wet using a development tool that tech workers use on the job, every day.

Not sure how to get started? We’ve got you covered - read this article for the easiest way to get set up on GitHub .

Best practices for asking questions about the sample solution

  • Be specific! Reference exact line numbers and syntax so others are able to identify the area of the code you have questions about.

Hi guys and gals,

This is my solution for the flashcards project. Pretty fun project!


My solution to this project below.

Small feedback on this exercise. The points in the exercise are quite “open” and it does say it in he beginning.

While you are doing be aware you will only be able to visualise topics, quizzes and cards after you set up the reducers in store.js and the selectors in the related *.js files.

For all 3 (topics, quizzes and cards) you need slice files (to define initialStates, selectors, actions and reducers), connect the 3 reducers to the store, and give access in all files to the store via useSelector(selector).

Hardship and thinking about it on your own , I think, also makes part of the exercise. I only realised I was missing the cardsReducer overnight but only after checking every single file over and over.

Good luck!