jiebi/CodeConvo huggingface dataset:
Change:
function* verifyCertificationSaga({ payload }) { // check redux if can claim cert before calling backend <del> const completedChallenges = yield select(completedChallengesSelector); </del> const currentCert = certMap.find(cert => cert.certSlug === payload); <del> const currentCertIds = currentCert?.projects.map(project => project.id); </del> <ins> const completedChallenges = yield select(completedChallengesSelector); </ins> const certTitle = currentCert?.title || payload; <del> const flash = { type: 'info', message: 'flash.incomplete-steps', variables: { name: certTitle } }; const canClaimCert = currentCertIds.every(id => completedChallenges.find(challenge => challenge.id === id) ); </del> <ins> // (20/06/2022) Full Stack client-side validation is already done here: // https://github.com/freeCodeCamp/freeCodeCamp/blob/main/client/src/components/settings/certification.js#L309 if (currentCert?.id !== certTypeIdMap[certTypes.fullStack]) { const flash = { type: 'info', message: 'flash.incomplete-steps', variables: { name: certTitle } }; const currentCertIds = currentCert?.projects?.map(project => project.id); const canClaimCert = currentCertIds.every(id => completedChallenges.find(challenge => challenge.id === id) ); </ins> <del> if (!canClaimCert) { yield put(createFlashMessage(flash)); return; </del> <ins> if (!canClaimCert) { yield put(createFlashMessage(flash)); return; } </ins> } // redux says challenges are complete, call back end

Discussion:
Describe the bug I have completed the necessary requirements to get the Legacy Full Stack Certification, whenever I click on the claim certification button, it displays nothing, leaving the page as it is, I emailed the support team about this, they agreed i've fulfilled the requirements to get Legacy Full Stack certified and they said its a bug, and I should open a github case about it, so here I am. please help. Desktop (please complete the following information): OS: [Windows] Browser: [chrome] Version: [102.0.5005.115 (Official Build) (64-bit)] Additional context My username is muhammedctgr and my name is Popoola Muhammed
to investigate
hi pls whats the status on this?
it needs to be investigated
says page not found....
noted, thank you. i'll wait.
Many thanks to the dev team, I really appreciate the this mean its been fixed? Still unable to claim the cert tho.
Once the next production build is deployed, this fix should be in. We typically do 1 - 2 deployments each week.
This should be live now!
appreciate this, I've been able to claim the full stack cert. Promise to make FCC proud.
Change:
} api.get('/signout', (req, res) => { <del> const { origin } = getRedirectParams(req); </del> <ins> const { origin, returnTo } = getRedirectParams(req); </ins> req.logout(); req.session.destroy(err => { if (err) {

Discussion:
If I am signed in as a user while on and log out, I am redirected to the english home page. redirects to the chinese page.
wrong endpoint in server code? Thats what I would assume, but am not sure how to locate where the correct endpoint would be placed in the code.
Here is the endpoint: and most likely the issue is with the redirect "predictor" utility: However we would want to confirm the cause before we open this up for contributions.
yes, that's the issue. To fix it we can grab the from and combine that with to get the desired redirect.
Should that be done in the getRedirectParams function or should the path be put together from the data set returned by getRedirectParams in
You need to construct the URL from the values you get from the as a consumer of the function and not change its existing behavior. In simple terms the change is required within the endpoint handler.
That makes sense.
I got the codebase installed locally is there a way to run just
Not sure what you mean by running only one file? The API server is an express based application (Loopback 3). You need to start up at least the api-server app. If you want to do that, you should be able to do that by navigating to directory and using the run-script commands in its
I'm trying to figure out what gets passed in pathPrefix, from getRedirectParams, when one signs out from the Spanish page. But when running the site locally, switching to Espanol leads to a "This site can't be reached" error. Just for clarity's sake, I realize now that is not meant to be run alone and I am using the "npm run develop" command to try and recreate this bug locally. Is this a bad approach?
Ah - right. Sorry about sending you on a goose-chase. When you build locally, we do not have a way yet to develop both and at the same time alongside the API app. I am going to untag this from help-wanted and assign this instead. Oliver, you should be able to test / reproduce and recommend a fix on our staging instance - not sure because this may be needing access for "close to prod" type setup.
I was just in the process of going through the steps, when you commented Mrugesh!

I'll leave them here for the curious: Unfortunately testing locally is quite a pain, because we use since is entirely separate from . It's a bit of a slow, memory intensive process, but you can do this: in your .env file Then you can go to
Change:
} }, "react-is": { <del> "version": "16.9.0", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.9.0.tgz", "integrity": "sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw==" </del> <ins> "version": "16.10.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.10.2.tgz", "integrity": "sha512-INBT1QEgtcCCgvccr5/86CfD71fw9EPmDxgiJX4I2Ddr6ZsV6iFXsuby+qWJPtmNuMY0zByTsG4468P7nHuNWA==" </ins> } } },

Discussion:
Describe the bug When viewing any challenge in Firefox, I can scroll in the instructions/theory part of the window, but the scrolling does not work in the code editor. I have tried with an external mouse as well as with the Trackpad in my Mac. In the same computer and with the same devices it works perfectly using Chrome. To Reproduce to any challenge. to scroll inside the code editor. does not work. Expected behavior It should scroll. Desktop: macOS 10.14.6 Mozilla Firefox 69.0.3 Additional context So far, to scroll in Firefox I have to click and drag the side scrolling bar in order to navigate the code. I think I'm only having this issue since the last redesign, but I may be wrong on this.
I've noticed this for quite a while - but I don't recall if it was present before the latest redesign.
I am also experiencing this problem as of the update. Windows 10 desktop Firefox 69.0.3 External mouse with a scroll wheel In order to scroll I have to find the very small and hard to see scroll bar inside the code editor and click+drag
Having the same issue as you Might take a dig in the code/inspector and see what's up.
It looks like a possible bug with the monaco editor (we are using monaco-editor": "^0.17.1") I confirmed the bug locally first and I then updated to the latest version of monaco and the scroll works again in Firefox. So it has been fixed. I'm just not sure how involved it is for us to update the editor?
Thanks for digging into this and finding the updates. I think we should be able to update monaco-editor itself which we have as a dep: But the issue right now is to confirm if react-monaco-editor is going to play along as well: I think I could not bump it last time I was trying to update it. Opening up for investigation and fix. A PR is most welcome, or any pointers are welcome as well.
I am also experiencing this problem after the update. MacOS 10.14.6 Firefox 69.0.3 Both external mouse with a scroll wheel and Macbook Pro trackpad cannot scroll the code window however Chrome and Safari browser does not have this problem.
I was able to update to both and .

I updated react-monaco to 0.18.1 and react-monaco-editor to 0.31.0, did a few challenges locally and didn't see any immediate issues from the editor update. A PR would just be a chore update to and package- correct?
Thanks for reporting, please use the voting feature instead of confirming further. We know this is a confirmed bug, more so in an underlying library that we have little control over. We are working on a solution. Keeping the thread free for solutions will help.
Yes please. You are the rockstar.
Change:
const res = await fetch('https://pokeapi-proxy.freecodecamp.rocks/api/pokemon/94'); // Fetch from proxy to simulate network delay if (res.ok) { <del> await new Promise(resolve => setTimeout(resolve, 50)); // Brief additional delay to allow UI to update </del> <ins> await new Promise(resolve => setTimeout(resolve, 1000)); // Additional delay to allow UI to update </ins> const targetTypes = ['ghost', 'poison']; assert.lengthOf(typesEl.children, 2);

Discussion:
When testing one camper's code it fails some tests unless I increase all the delays to 1000ms, I tested with 500ms but that was not enough. I also saw the example project fail a test but it does pass more consistently (my guess is it is just faster with fewer async functions). To be on the safe side we should have a longer delay. I know 1000ms is a lot but better safe than sorry. Tests: Valid code should not fail because of "timing" issues. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] Forum:
As this is a bug with a certificate project I the showstopper label.
Change:
# --description-- <del> A tooltip shows more information about an item on a page when the user hovers over that item. There are several ways to add a tooltip to a visualization, this challenge uses the SVG `title` element. </del> <ins> A tooltip shows more information about an item on a page when the user hovers over that item. There are several ways to add a tooltip to a visualization. This challenge uses the SVG `title` element. </ins> `title` pairs with the `text()` method to dynamically add data to the bars.

Discussion:
In the sentence: "There are several ways to add a tooltip to a visualization, this challenge uses the SVG <codetitle</codeelement." The comma should be a period (from an English grammar perspective, the sentence after a comma should not be a complete sentence but here it is. ) This is a comma splice. Ref: https://www-s3-,of%20equal%20weight%20and%20importance.) File: 04-data-visualization/data-visualization-with-d3/add-a-tooltip-to-a-d3- Use a period where the comma splice is located currently. No response not applicable No response
instead of , there should be . at the highlighted position. Is that correct? <img width="499" alt="Screenshot 2023-02-08 at 1 08 22 AM" src="https://user-"
yes burh
have you fixed the issue??
yes I fixed it.
Change:
# --description-- <del> To make an checkbox input checked by default, you can add the `checked` attribute. </del> <ins> To make a checkbox input checked by default, you can add the `checked` attribute. </ins> Here is an example of using the `checked` attribute:

Discussion:
"an checkbox input" should be changed to "a checkbox input". Fix the typo in the following files:
This issue is open for contribution. The file that you should be updating is linked in the original post. We typically do not assign issues. Instead, we accept the most quality contribution followed by the one that is made first. Please make sure you read our as well as our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Happy contributing.
Change:
The <dfn>HSL</dfn> color model, or hue, saturation, and lightness, is another way to represent colors. <del> The CSS hsl function accepts 3 values: a number from 0 to 360 for hue, a percentage from 0 to 100 for saturation, and a percentage from 0 to 100 for lightness. </del> <ins> The CSS `hsl` function accepts 3 values: a number from 0 to 360 for hue, a percentage from 0 to 100 for saturation, and a percentage from 0 to 100 for lightness. </ins> If you imagine a color wheel, the hue red is at 0 degrees, green is at 120 degrees, and blue is at 240 degrees.

Discussion:
The keyword should be wrapped in a pair of backticks.
This issue is open to first-time code contributors to this repository. The file that you should be updating is: We typically do not assign issues. Instead, we accept the most quality contribution followed by the one that is made first. Please make sure you read our as well as our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Happy contributing.
Hi! I'm a first timer and would love to contribute to this project and fix this typo. :)
Hey We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labelled with or are open for contributions. Please make sure you read . We prioritize contributors following the instructions in our guide. Join us in or if you need help contributing - our community will be happy to assist you.
can i work on this issue if it still open
Change:
type SolutionStateType = { projectTitle: string; <del> challengeFiles: ChallengeFileType[] | null; </del> <ins> files?: ChallengeFileType[] | null; </ins> solution: CompletedChallenge['solution']; isOpen: boolean; }; const initSolutionState: SolutionStateType = { projectTitle: '', <del> challengeFiles: null, </del> <ins> files: null, </ins> solution: null, isOpen: false };

Discussion:
When trying to view a JS solution, the following error appears in dev, explaining the issue in production. It seems we followed the expected prop-types too early (ref: ). The object is still an object literal. Reported on forum:
I have the same problem as I said in the forum, the bottom error says it responded with 404 to the request for the certification on JS algorithms and data structures. Seems like there's an issue with the backend reaching that certification. !
Change:
} ]); <ins> profileValidation.controller('nonprofitFormController', ['$scope', function($scope) { } ]); </ins> profileValidation.directive('uniqueUsername', function($http) { return { restrict: 'A',

Discussion:
it should be --important <-- instead of import Learn Bash Scripting by Building Five Programs False. An important operator in that menu is =~. It allows for pattern matching. Using the same syntax but with this operator, check if hello contains the pattern el. ! Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I'll fix this! Just for reference, I will be fixing this issue in repository.
Hey guys! I'm getting this error when typing in the terminal. Anyone know how to fix? I created a seperate branch that is up to date.
For generating file, the coderoad cli requires for the version branch to exist locally. Detailed guidelines how to contribute to these tutorials can be found on Please refer to the parts about making changes on the branch. Thank you and happy coding!
Perfect. I have the typo fixed and ill make that branch work with coderoad. Thank you for your patience

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --In this sentence, the emphasized "then" should be "than". Link to file: Link to page:
Yes, it is a grammatical error. Thx for pointing it out. PR done in curriculum module.
Change:
"id": "bb000000000000000000004", "title":  "Render Images from Data Sources", "description": [ <del> "In the JSON that we receive data from Free Code Camp's Cat Photo API.", </del> "We've seen from the last two lessons that each object in our JSON array contains an <code>imageLink</code> key with a value that is the url of a cat's image.", "When we're looping through these objects, let's use this <code>imageLink</code> property to display this image in an <code>img</code> element.", "Here's the code that does this:",

Discussion:
Challenge has an issue. User Agent is: <codeMozilla/5.0 (Macintosh; Intel Mac OS X ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36</code. The first sentence of the instructions, , is incomplete. At a guess, it should read
I could be wrong, but could we just remove this sentence from the challenge? It just seems to be hanging there (maybe from an old version of the challenge?) not actually contributing to the description.
I initially read it as a recap for the benefit of anyone taking a break after the previous waypoints, but perhaps it isn't necessary. Without it, the next paragraph would still prompt the reader to refer to the previous lessons if they had forgotten what led to the current state.
I agree, just nuke the sentence. The next one is a nice lead-in.
Change:
<label className='fcc_sr_only' htmlFor='fcc_instantsearch'> Search </label> <del> <SearchBox focusShortcuts={[83, 191]} onChange={this.handleChange} onFocus={this.handleFocus} onSubmit={this.handleSearch} showLoadingIndicator={true} translations={{ placeholder }} /> </del> <ins> <ObserveKeys> <SearchBox focusShortcuts={[83, 191]} onChange={this.handleChange} onFocus={this.handleFocus} onSubmit={this.handleSearch} showLoadingIndicator={true} translations={{ placeholder }} /> </ObserveKeys> </ins> {isDropdownEnabled && isSearchFocused && ( <SearchHits handleHits={this.handleHits}

Discussion:
Describe the bug Entering 'n' or 'p' in the solution URL of projects takes me back to the previous('p') or next('n') challenge. To Reproduce to any project section where URL is required 'n' or 'p' in the URL field Expected behavior This should only happen when the text field is not in focus. Desktop (please complete the following information): OS: Windows 10 Pro 32 Bit Pro Browser: Chrome Version: 77.0.3865.90
Change:
[ { "id":0, <del> "imageLink":"https://s3.amazonaws.com/freecodecamp/funny-cat.jpg", </del> <ins> "imageLink":"https://cdn.freecodecamp.org/curriculum/legacy-json-apis-ajax/funny-cat.jpg", </ins> "altText":"A white cat wearing a green helmet shaped melon on its head. ", "codeNames":[ "Juggernaut", "Mrs. Wallace", "Buttercup" ]

Discussion:
We need to replace all images and audio samples for the legacy content with the ones that were just to our freeCodeCamp cdn. Here are all of the files that will need to be updated Here are all of the new asset links
Change:
yield put(updateSuccessMessage(randomCompliment())); } <ins> function* showDonateModalSaga() { let { isDonating } = yield select(userSelector); let shouldShowDonate = yield select(showDonationSelector); if (!isDonating && shouldShowDonate) { yield put(openDonationModal()); } } </ins> export function createCurrentChallengeSaga(types) { return [ takeEvery(types.challengeMounted, currentChallengeSaga), <del> takeEvery(types.challengeMounted, updateSuccessMessageSaga) </del> <ins> takeEvery(types.challengeMounted, updateSuccessMessageSaga), takeEvery(types.challengeMounted, showDonateModalSaga) </ins> ]; }

Discussion:
Donate modal is rendered/animated twice when invoked
Steps to reproduce. Complete at least 9 challenges. See modal once per session.
alternatively, change this line to true and get the modal after completion of each challenge.
Just in case someone tackle this before I get back to it. it seems like the app gets updated after the donate modal is up. so that might be causing the flashing. redux devtools actions order: <img width="338" alt="screen shot 2019-02-22 at 6 46 38 pm" src="https://user-"devtoolds error: <img width="642" alt="screen shot 2019-02-23 at 12 19 40 pm" src="https://user-"and here is where the modal is being called:
Change:
# --description-- <del> Within the first `span` element, add the text `"Question"`. </del> <ins> Within the first `span` element, add the text `Question`. </ins> <del> In the second `span` element, add the text `"Question"`. </del> <ins> In the second `span` element, add the text `Question`. </ins> # --hints--

Discussion:
In the instruction it says: It might be related to , but I think we shouldn't have the double quotes here since they don't appear in the code. If the user put double quotes around , they will get the hint below: ! (It's not deployed to production yet) Change to . No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
Issue is related to string literals. I think you are right, quote marks are not used in the RWD instructions for html text.
I agree, lets remove the quotes from the description. I the first timers label. The Be sure to check out our if you haven't already. Let us know if there's any questions.
Change:
Before moving on, this is a great opportunity to learn a common array use. Currently, your code accesses the last element in the array with `rows[2]`. But you may not know how many elements are in an array when you want the last one. <del> You can make use of the `.length` property of an array - this returns the number of elements in the array. For example, your `rows` array has 3 elements, so `rows.length` would be `3`. </del> <ins> You can make use of the `.length` property of an array - this returns the number of elements in the array. To get the last element of any array, you can use the following syntax: </ins> <del> Since you know the last element is at index `2`, you can compare that with the length of the array and see it is one less. The last element of an array will always be accessible at the index `length - 1`. You can use that in your bracket notation. </del> <ins> ```js array[array.length - 1] ``` `array.length` returns the number of elements in the array. By subtracting `1`, you get the index of the last element in the array. You can apply this same concept to your `rows` array. Update your `rows[2]` to dynamically access the last element in the `rows` array. Refer to the example above to help you. </ins> <del> Update your `rows[2]` to access the `rows.length - 1` index instead of the `2` index. You should not see anything change in your console. </del> <ins> You should not see anything change in your console. </ins> # --hints--

Discussion:
To make it clearer what the syntax should be for accessing the last element of an array, let's go with this updated description js array[ - 1] ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding