New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(curriculum): forum leaderboard project #50241
base: main
Are you sure you want to change the base?
feat(curriculum): forum leaderboard project #50241
Conversation
👀 Review this PR in a CodeSee Review Map |
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64367cb9facaa32bacfbff2b.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of small comments 👍
Overall, I think this is a good start.
I think the thing to remember is that this project will be the last project campers do before the final certification project.
Some of your explanations can be shortened because campers will have already worked with those concepts in earlier projects and won't need as much explanation on how to do it. 👍
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c8d9a73965c0a26d7f634.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c8ee68f280c0a58a3d439.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c95001ff61f0b3c39ce71.md
Outdated
Show resolved
Hide resolved
Just a few accessibility-related issues.
|
We should check the response and try/catch the fetch. We should build the string before adding it to the DOM, not concatenate it directly to the DOM. Another option would be to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed steps 1 to 30 and left some feedback.
The challenges are simple and easy to understand. The tests also passed for each challenge. 🚀
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6436810f38ca75013a371cb4.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64368a8e73bb0001b1e856e8.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64368ab6404fe201e3abe8fe.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64368ab6404fe201e3abe8fe.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64368f7d44ecc0023cd0026a.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c14c8027369027334e802.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c14c8027369027334e802.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c56790fac5409eb5ec6f9.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c8d9a73965c0a26d7f634.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c8ee68f280c0a58a3d439.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Joy,
This is off to a good start. I've left some comments on the first 10 JavaScript steps, to help demonstrate some of the style and functional approaches we try to use.
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64388945b59341057e955fbb.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c8d9a73965c0a26d7f634.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c8ee68f280c0a58a3d439.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c8ee68f280c0a58a3d439.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c90830bbeb40ab15148a6.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c90830bbeb40ab15148a6.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to review too many steps in detail, but hopefully these comments, along with the reviews Naomi, Jessica, and Zaira left, provide some guidance.
client/utils/help-category-map.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was removed in a recent change. You can drop this change in favor of the suggestion in curriculum/challenges/_meta/learn-intermediate-fetch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/meta.json
.
You should see that this file has been removed when you rebase with upstream/main and solve the merge conflicts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@scissorsneedfoodtoo need some here here buddy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad. We still need this file, but the format has changed and there are some other properties.
Here's an example of the current format of the file: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/_meta/learn-basic-javascript-by-building-a-role-playing-game/meta.json
...n-intermediate-fetch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/meta.json
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c92bd109ab00ae3adae8d.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c95001ff61f0b3c39ce71.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c95001ff61f0b3c39ce71.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c99404743b30b77bd736d.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed the next 20 steps(31 to 50) and left some comments to simplify the instructions!👍
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c92bd109ab00ae3adae8d.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c95001ff61f0b3c39ce71.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643e8029d2f3450155dae330.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643e99a35a2cde013489176c.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643e9ee64efc77016fa3397c.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443c4d659395d0175cd121a.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443c7e97bcc4401bc99d87b.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443c98ac169e501eba36d04.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443ce08c89b250267c4225a.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443cf1cca1fbb02a8a6e46e.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643ee973c162ae017b3d30db.md
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443cc3ed4a11e02329c4c0e.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed steps 51-60.
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443d0428d7c2402e9d78709.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443d0428d7c2402e9d78709.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443d6ab21742c031bea7778.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443d6ab21742c031bea7778.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6443fbba1e9df4038f5af689.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6444062a33ab4c03d0c2e9f5.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64440a50d076c204051f2cc0.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6444ea120b9793013db17fa9.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6444ed90ff671201bf007af6.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6444f324c287170220eee013.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed steps 61-70.
There is a typo categorieList
from steps 65 onwards. I have fixed this to categoryList
and updated the tests/ seed code between 65-70. Is there a quick way to do it @JoyShaheb as this variable name is being used throughout the project?
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6446cf0586456f012e3385b9.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6446d8f9fce0fa0172473964.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6446e0b06e59e301b6182a2b.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6446e0b06e59e301b6182a2b.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6446d8f9fce0fa0172473964.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644baae059c58402a31e815a.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644baae059c58402a31e815a.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644f360e888420013dbe705f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644f360e888420013dbe705f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644f360e888420013dbe705f.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments for steps 71-80.
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644f4074154b3101a4595c3c.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644f434fd3193301dfdbc05b.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644f5855e8e462024c1c4501.md
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644fa585a5f9970173ca3cff.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this comment, I have reviewed the entire project. 🚀 I have left some suggestions as well.
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/644fba64caf60303c9540d14.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645759fb201aca0140f58e18.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64576cd1f0ba340206e4192f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645779c7b1574d012834229f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645779c7b1574d012834229f.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f1cffc7f95e01db009f32.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f1cffc7f95e01db009f32.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f7231271ab1012bc659b8.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f8c16c9cf2401ffe87b1c.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f8da0687443023d31e4e1.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JoyShaheb the following steps are the HTML and CSS steps related to setting up the layout and styling and can be removed:
- Steps
#1
to#18
(included) - Step
#61
- Steps
#87
to#99
(included) - Step
#112
- Step
#114
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64388945b59341057e955fbb.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64388945b59341057e955fbb.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64388945b59341057e955fbb.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c13b3c7e00e01c0e73d52.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c95001ff61f0b3c39ce71.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/643c99404743b30b77bd736d.md
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/64440a50d076c204051f2cc0.md
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/6444f08fae25f201f10083a9.md
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f34e7925b68021ce0bcaa.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f7231271ab1012bc659b8.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f764c37de33015ded1273.md
Outdated
Show resolved
Hide resolved
...ch-promises-and-async-await-by-building-an-fcc-forum-leaderboard/645f7879ebbdb201892e55e1.md
Show resolved
Hide resolved
238214d
to
bf7a692
Compare
Checklist:
main
branch of freeCodeCamp.