Question: return "No"; ``` <del> will only return `Yes` if `num` is greater than `5` and less than `10`. The same logic can be written as: </del> <ins> This code will return `Yes` if `num` is greater than `5` and less than `10`. The same logic can be written with the <dfn>logical and</dfn> operator. </ins> ```js if (num > 5 && num < 10) {

Similar to issue Please also update another step that has the same issue and should get a similar fix: The sentence: "will only return Yes if num is greater than 5 and less than 10. The same logic can be written as:" should be changed to: "This will only..." (adding This is enough to fix it as a reference to the previous code block) And similarly for this step as well: Multiple As described above No response N/A No response
Proposed change: Question - do we use or for string literals?
"yes" i think
Please assign this issue to me i think can fix this and make my first contribution to open source
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.
I have created a pull request, what should i do next ?(It's my first contribution, don't mind my stupid questions please)


Question: Use the `class` keyword to create a `Thermostat` class. The `constructor` accepts a Fahrenheit temperature. <del> In the class, create a `getter` to obtain the temperature in Celsius and a `setter` to set the temperature in Celsius. </del> <ins> In the class, create a `getter` to obtain the temperature in Celsius and a `setter` that accepts a temperature in Celsius. </ins> Remember that `C = 5/9 * (F - 32)` and `F = C * 9.0 / 5 + 32`, where `F` is the value of temperature in Fahrenheit, and `C` is the value of the same temperature in Celsius.

Hello FreeCodeCamp team, I found a minor typo in the JavaScript learning module. In the lesson titled "Use getters and setters to Control Access to an Object," there is a small error in the instruction related to creating a getter and setter for temperature conversion. Here's the specific portion of the instruction that needs correction: Incorrect Line: "In the class, create a getter to obtain the temperature in Celsius and a setter to set the temperature in Celsius." Suggested Correction: "In the class, create a getter to obtain the temperature in Celsius and a setter to set the temperature in Fahrenheit." This correction is necessary to maintain clarity and accuracy in the learning material. The correct units (Celsius and Fahrenheit) should align with the given problem statement and the intended outcome of the exercise. Thank you for your attention to detail and dedication to improving the learning experience on FreeCodeCamp. Navigate to the javascript algorithms and data structures learning module. Go to ES6 course. Locate the lesson titled "Use getters and setters to Control Access to an Object." Read the relevant portion of the instruction mentioned. To correct the mentioned typo and ensure clarity in the instruction, the line should be modified as follows: Original: "In the class, create a getter to obtain the temperature in Celsius and a setter to set the temperature in Celsius." Suggested Correction: "In the class, create a getter to obtain the temperature in Celsius and a setter to set the temperature in Fahrenheit." This change aligns with the problem statement and maintains consistency with the intended temperature units. !
I'm not sure I see the problem here. How do we know that the intent is for the setter to set the temp in Fahrenheit? Maybe I'm missing something. The seed code seems to indicate that it should be set in Celsius:
no, in the last line It also runs the getter function, which means that it takes Celsius as Fahrenheit and tries to convert it into Celsius that's why we have to set the temperature in Fahrenheit. Here is the working code. `
Ya, I'm not seeing a problem here either. The getter spits out a Celsius temp and the setter takes a Celsius temp. How you actually store the temp internally in the class is not a consideration here. You don't have to store the internal temp in Fahrenheit.

You can solve this by storing the temp internally in Celsius:
Yes, I agree with you, we can solve this by storing temp internally. "The constructor accepts a Fahrenheit temperature. In the class, create a getter to obtain the temperature in Celsius and a setter to set the temperature in Celsius." I could be wrong but the above lines clearly mention that we have to use the getter function to get the temperature in Celsius and the constructor has to accept temperature in Fahrenheit. I feel that these lines are a bit confusing.
I guess I can see how it could be confusing - but I don't think your suggestion here is the way to go. It's setting the temp in Celsius: So saying that the setter function should set the temp in Fahrenheit doesn't seem to make sense to me. What about or something.
Yes, we have to make this line more clear so students won't get confused.
This line makes a requirement to use temperature as a parameter for the constructor and also the name of the getter and setter function to be temperature. So, for better user understanding we can user this line: like this: . So that final code becomes like this:
Also the assert functions also requires temperature to be set
and standard says the getter and setter function should have the same name as the property with _ removed for which property the getter and setter are working
I think In the class, create a to obtain the temperature in Celsius and a that accepts a temperature in Celsius. is the way to go. We do not need to specify the parameter name of the constructor.
Yes I agree with you. Knowing what to put in the parameter in the constructor looking will be a task that requires good understanding for the students.
I the first timer label. The We want to change it to the suggestion: If you would like to contribute, and have not read the contributors docs, please do so here:
I have raised a PR for this change . This is my first ever PR on an open-source project.


Question: isResetting: boolean, isSignedIn: boolean, { theme = Themes.Default }: { theme: Themes }, <del> tests: [{ text: string; testString: string }] </del> <ins> tests: [{ text: string; testString: string }], isChallengeCompleted: boolean </ins> ) => ({ canFocus: open ? false : canFocus, challengeType,

I am learning from the RWD course, and I wanted to revise what I had done previously. I went to previous steps, but I found that the steps are shown incomplete when I open them. It tells you to do the step again. This doesn't make sense because you have a button at the top if you do want to do the step again. Completed code should be shown in completed challenge's code editor along with an indicator like ! !
It would be relatively easy to show the solution to a step, and the "Step completed" text, (rather than storing the user's code) if a user has already submitted that step. If other maintainers are in favour of this change, I'd be happy to open this up for PRs.
My concern with that approach would be it completely destroys the UX if someone wants to go through a practise project again.
I propose to add a button under the summary of each project for this issue.
I'm not keen on adding a button to do that, given the potential for frustration if someone triggers that accidentally.
I think I'd be in favour of the existing flow, presonally.
At a minimum, we could probably add the checkmark next to "Step 22" like we do for all the other challenges after it has been completed. That seems to be missing here. !
That's a good idea, IMO.
I think just adding that check mark is probably the way to go then. It keeps it consistent with everything else. I'm going to open it up for contributions. If anyone still has reservations, be sure to bring them up.
May I suggest in addition to indicating completed challenges in the challenge itself, to do that in the list of steps. Here is a crude representation of what I have in mind: <p align="center"<img src="https://user-" width=500 align="centre"/</p
I believe it already does that. Here's a screenshot of what the challenge looks like for me, after I've completed it (the steps are highlighted in blue instead of white). !
Also, I would like to work on this issue, and I agree that adding a checkmark next to the step would be a good fix, but I noticed that the RWD courses don't have a step number or title at the top like the other courses do.

For other courses, the checkmark for completion is displayed next to the name of the challenge, like you can see in the first screenshot (of the JS Algorithms & Data Structures courses). However, for the RWD course, there is nothing in this location, as you can see in the second screenshot. ! ! How should we go about adding a checkmark to the RWD course? Should we just put it next to where it says on the screenshot (inside the instructions block)? Or should we move the step number to the same place as where the challenge names are for the other courses and put the checkmark there, in order to be consistent with the other courses?
Thanks I could not log in since yesterday and this is probably the reason I don't see indication for completed challenges in the list of steps.


Question:
## Description
 Objective: Build a full stack JavaScript app that is functionally similar to this: https://fcc-voting-arthow4n.herokuapp.com/ and deploy it to Heroku.  Note that for each project, you should create a new GitHub repository and a new Heroku project. If you can't remember how to do this, revisit https://freecodecamp.com/challenges/get-set-for-our-dynamic-web-application-projects.  Here are the specific user stories you should implement for this project: User Story: As an authenticated user, I can keep my polls and come back later to access them. User Story: As an authenticated user, I can share my polls with my friends.

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Describe your problem and how to reproduce it: In some of the take home projects there is a broken link in the description - - which leads to a 404. Add a Link to the page with the problem:
Here is a breakup of the action items (can be done in parallel, by multiple contributors): . we were hoping you could point us in the right direction by helping us with the source code repo link? [ ] This Glitch project can then be published and the challenge updated with the link and the verbiage. [ ] Finally we would also need to point the link for getting started use our standard intro for other projects.
if I have the original challenge link I could start on this.
I would like to work on this .
please let me know if you are still interested in making a pull request for this issue.
Please inform on the status of the work on this issue, otherwise I would like to have a go at it.
I would like to know the status. Do we have the correct link available or not?
What is the original challenge link which attempts to link to?
please let me know once the actual link is confirmed. I would like to work on this issue.
I'm not sure where the original link is. I thought it was in Apis And Microservices in the legacy site, but I can't find it. We may have to re-create this page? It is supposed to let users know how to create a repository and deploy to heroku. For some of these apps, users can also just use glitch.
It has to be somewhere in the history on Github. When using Git, it is not possible to lose content.
I'm not sure the very latest instance of the file, but it's the best I could find. If there's a way to find the latest version, I'd love to know how! Regardless, you might be able to get some inspiration from there, but unfortunately the specifics are all out of date.
That link is in four of the take home project descriptions - I didn't see it anywhere else. Maybe we should just remove that line from them... Note that for each project, you should create a new GitHub repository and a new Heroku project. If you can't remember how to do this, revisit
Yes please.


Question: void fastify.register(donateRoutes); void fastify.register(userRoutes); void fastify.register(deprecatedEndpoints); <ins> void fastify.register(statusRoute); </ins> return fastify; };

This is a a health check endpoint
Check the issue of internet ping, connect with network [ ]way run of tickettttttttt....... thank


Question: ], "tests": [ "assert.deepEqual(friendly(['2015-07-01', '2015-07-04']), ['July 1st','4th'], 'ending month should be omitted since it is already mentioned');", <del> "assert.deepEqual(friendly(['2015-12-01', '2016-02-03']), ['December 1st','February 3rd'], 'one month apart can be inferred it is the next year');", </del> <ins> "assert.deepEqual(friendly(['2015-12-01', '2016-02-03']), ['December 1st','February 3rd'], 'two months apart can be inferred if it is the next year');", </ins> "assert.deepEqual(friendly(['2015-12-01', '2017-02-03']), ['December 1st, 2015','February 3rd, 2017']);", "assert.deepEqual(friendly(['2016-03-01', '2016-05-05']), ['March 1st','May 5th, 2016']);", "assert.deepEqual(friendly(['2017-01-01', '2017-01-01']), ['January 1st, 2017'], 'since we do not duplicate only return once');",

Challenge has an issue. December 1st to February 3rd is two months not one month. The test is pretty wordy regardless. !
I believe it needs to be used in numbers not the name of the month. Sent from my iPhone
The numbers and everything in the test are right, it's just the message. The output for is .
Oh because nothing is one month apart look the number format for the year one is 2015 and one is 2016. Sent from my iPhone
This is not a problem with the logic of the test or based on my input – it's just a typo. Yes the years are different but the two dates are only two months apart, therefore the year of the second argument doesn't need to be outputted because it can be inferred. The test should say something along the lines of, "two months apart can be inferred, even if it is the next year".
Closing as fixed in


Question: script.innerHTML = tryTransform(babelTransformCode(babelOptionsJS))( script.innerHTML ); <del> console.log('transformed:', script.innerHTML); </del> }); }

The logs for are quite verbose for some reason, making checking CI failures etc very difficult. Currently is logging all the solution, code etc for challenges? We need to avoid this.


Question: ] ], "type": "hike",  "challengeType": 6   "challengeType": 6, "nameEs": "Herramientas de desarrollo de Chrome: Consola", "descriptionEs": [ "El panel de la consola ofrece dos funciones principales: registro de datos de diagnóstico en el proceso de desarrollo y proporcionar un intérprete de órdenes que puedes utilizar para interactuar con el documento y las Herramientas de desarrollo", "Al utilizar la consola, puedes ver los datos en bruto o estructurados mediante instrucciones estándar JS y órdenes específicas para la consola.", "Un ejemplo de datos estructurados sería la información JSON que devuelva una API. Muy útil cuando se construyen las primeras aplicaciones de desarrollo de interfaces para FreeCodeCamp.", "Debes saber que los mensajes se apilan y que puedes limpiarlos escribiendo clear(). También puedes guardar la bitácora seleccionando 'Preserve Log'. ", "Hay diferentes órdenes que registrarán en bitácoras de manera diferente, como console.log() para registrar información básica, console.error() y console.warn() para registrar en bitácoras 'información llamativa'.", "La consola puede realizar un seguimiento de excepciones, que básicamente registra cuando algo sale mal. Puede incluso hacer una pausa en el código durante esas excepciones, función que posiblemente recuerdes de la pestaña 'Fuente'. ", "Revisa documentación más detallada aquí: developers.google.com/web/tools/javascript/console/" ]  }, { "id": "56b15f15632298c12f31517c",

[x] Chrome Dev Tools: Elements [x] Chrome Dev Tools: Network [x] Chrome Dev Tools: Sources [x] Chrome Dev Tools: Timeline [x] Chrome Dev Tools: Profiles [x] Chrome Dev Tools: Resources [x] Chrome Dev Tools: Audits [x] Chrome Dev Tools: Console [x] Chrome Dev Tools: Summary
Working on it


Question: ] ], "type": "hike", <del> "challengeType": 6 </del> <ins> "challengeType": 6, "nameEs": "JavaScript Lingo: Manipulación de los datos", "descriptionEs": [ "Métodos y funciones son formas con las que puedes modificar variables u otros conjuntos de información.", "Los métodos están integrados en JavaScript, y te familiarizarás con estos cuando realices los desafíos sobre algoritmos.", "Me gustaría sugerirte dar un vistazo a MDN (Mozilla Developer Network que discutimos en el primer video) para que te familiarices con la cantidad y el potencial general de los métodos que existen. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Methods_Index", "Los ejemplos incluyen <code>.split (' ')</code>, que convertirá una cadena en un vector y puede hacerlo de muchas maneras diferentes. Los métodos son de gran alcance - muchas veces cuando quieres que tu programa haga algo, ya habrá un método para eso.", "Las funciones, al igual que las variables, son algo que tu defines y creas.", "Durante tu práctica con algoritmos en FreeCodeCamp, vas a crear funciones que reciben una determinada pieza de información y la manipulan de la forma que elijas.", "Vas a estar más familiarizado con la sintaxis, pero por ahora, sólo recuerda que con los métodos y funciones puedes hacer casi cualquier cosa con tu código." ] </ins> }, { "id": "56b15f15632298c12f315187",

[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions
Working on this one


Question: const mapStateToProps = createSelector( canFocusEditorSelector, <ins> inAccessibilityModeSelector, </ins> isDonationModalOpenSelector, userSelector, <del> (canFocus, open, { theme = 'default' }) => ({ </del> <ins> (canFocus, accessibilityMode, open, { theme = 'default' }) => ({ </ins> canFocus: open ? false : canFocus, <ins> inAccessibilityMode: accessibilityMode, </ins> theme }) ); const mapDispatchToProps = { setEditorFocusability, <ins> setAccessibilityMode, </ins> executeChallenge, updateFile };

Looking forward for reporting a security issue: Please report security issues by sending an email to instead of raising a Github issue. Describe the bug A clear and concise description of what the bug is. The Monaco editor contains features for accessibility, specifically a mode for screen reader users which helps in navigating and using the editor effectively. This feature, as of now, must be enabled at the start of each lesson, even after enabling it once at the beginning of the session. To Reproduce Steps to reproduce the behavior: to any lesson in the curriculum. the code editor, set focus to it. alt+f1 to show accessibility help for the editor, and choose to enable the screen reader mode the lesson, advance to the next, and repeat steps two and three Expected behavior A clear and concise description of what you expected to happen. The screen reader mode should have stayed enabled across lessons. Screenshots If applicable, add screenshots to help explain your problem. Desktop (please complete the following information): OS: [e.g. iOS] Windows Browser [e.g. chrome, safari] Chrome Version [e.g. 22] 69.0.3497.100 (Official Build) (64-bit) Smartphone (please complete the following information): Device: [e.g. iPhone6] OS: [e.g. iOS8.1] Browser [e.g. stock browser, safari] Version [e.g. 22] Additional context Add any other context about the problem here. Tested screen reader: NVDA version 2018.3.2 from
Hey, As a part of hacktoberfest, I would like to work on this issue. Can I expect mentorship on this?
I'm new on this too. But if you need help, I would like to work on this issue too.
Can you reproduce this issue?
A group of us are working on this issue for a class project in university. We aim to address this in the next couple of days. We will try and at least present the community with a first iteration of our proposed solution. Just a heads up. If the current developers have any advice or tips, feel free to contact me. Thank you. is the primary developer in the team, working alongside me.
Any updates on this ?
This looks to be fixed, the editor is focused on load.

Can you confirm that this is fixed If so, this can probably be closed.
I don't think it is fixed. It focuses on load by default, but I think that turning on the screen reader mode is separate from just focusing. I don't have a screen reader installed, but if I follow the steps above I keep having to re-enable that mode each time I go to a new challenge.
Sorry, I don’t think the editor should be focused on load, as that means the screen reader user most unfocus it, move back to the heading to read the challenge, then focus it again to write code. Also, I still have to enable accessibility mode on each challenge.
I see now. And I can say that the built in screen reader on osx doesn't do anything with the editor. Is this something we can control? Or is it just part of the monaco editor and we are at their mercy?
VoiceOver on MacOS is… not the best, sadly, when it comes to web apps. If possible, you can send technical info about this to <mailto: is Microsoft’s editor, which seems to be VSCode stripped down to the editor. Perhaps you could contact Microsoft and see if they could add a way to make accessibility states persistent across loads, if this isn’t possible already.
That is annoying. For now you should be able to focus the description by pressing escape (at the moment, it's still in a state of flux), but I'll see about making screen-reader mode something that persists between challenges.
Seeing as how this issue is beyond our control, should we close this and make a new issue about the editor being focused on load? You can feel free to email apple or microsoft if you want Thanks for the advice though.
no need to close this. I think I can fix it.
Yes, we can close this issue.
Quick update. Both the auto-focusing and the persistence of accessibility mode should be fixable. I think I'm about 90% of the way there, but for some reason it stops letting you toggle the accessibility support after a couple of toggles. This, obviously, isn't ideal, but most of the functionality is there.


Question: input(type='checkbox' class='challenge-list-checkbox') .col-xs-9.col-sm-11.col-md-10 li.step-text.wrappable!= step <del> .col-xs-12.col-sm-12.col-md-8 </del> <ins> .col-md-8 </ins> .embed-responsive.embed-responsive-16by9 iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}') br

A camper relayed this to me: There is some problem with the first challenge ending button on android with firefox browser. And in this moment I tried in chrome too, the issue is the same, the button is not active after the challenge is done. Xperia Z1 compact, android: 5.0.2, firefox: 39.0 Chrome: 43.0.2357.93
This is an issue whenever the screen size is small. It will also happen on a desktop if you resize the window to half screen or less.


Question: # --instructions-- <del> 1.  Add your MongoDB connection string to `.env` without quotes as `DB` </del> <ins> 1.  Add your MongoDB connection string to `.env` without quotes as `DB` </ins> Example: `DB=mongodb://admin:pass@1234.mlab.com:1234/fccpersonallib` 2.  In your `.env` file set `NODE_ENV` to `test`, without quotes 3.  You need to create all routes within `routes/api.js`

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Affected page Add a link to the coding challenge with the problem. Your code Copy and paste the code from the editor that you used in between the back-ticks below: Expected behavior Given that this is the Replit starter project and the GET route has no code, I expected test no. 3 to fail. Screenshots If applicable, add screenshots to help explain your problem. you can drag and drop, png, jpg, gif, etc. in this box. System (please complete the following information): Device: [PC] OS: [Windows 10] Browser: [chrome] Version: Version 91.0.4472.77 (Official Build) (64-bit) Additional context Add any other context about the problem here. I am working through this project and found test 3 passes even before I had written any code. I made a new copy of the Replit starter project and ran the tests to see if I could replicate the issue. Test 3 still passes. The github personal- file shows that it supposedly makes several post requests and a get request, but somehow it passes without GET or POST routes.
It seems asserts are not even run, because promises are not fulfilled. Not sure if this is to be expected, but I'm surprised there isn't timeout like in other tests. I guess internally that doesn't make test not finished, so there's nothing to timeout...? Adding before or each post request in , , , would make it timeout as expected.


Question: # --description-- <del> Increase the psuedo-element's transparency by `30%`. </del> <ins> Increase the pseudo-element's transparency by `30%`. </ins> # --hints--

In : Step 43 Increase the psuedo-element's transparency by 30%. psuedo instead of pseudo just loading the page change for : Increase the pseudo-element's transparency by 30%. !
Thanks for opening this issue. This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.
Hey We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. 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.
currently following the guideline to make my PR


Question: }, { "id": "bd7993c9ca9feddfaeb7bdef", <del> "title": "Divide one Decimal by Another with JavaScript", </del> <ins> "title": "Divide One Decimal by Another with JavaScript", </ins> "description": [ "Now let's divide one decimal by another.", "<hr>",

<!-- freeCodeCamp Issue Template --<!-- Please provide as much detail as possible for us to fix your issue --<!-- Remove any heading sections you did not fill out --<!-- NOTE: If your issue is CodePen Project / Test Suite related, please open it using the below URL instead --<!-- --Basic JavaScript: Divide one Decimal by Another with JavaScript Previous Issues: The issue is still happening even with suggested refresh and/or reset. Cannot pass this challenge states "The quotient variable should only be assigned once" I had other campers verify in case of a local issue, but they are reporting the same error on this challenge. <!-- Describe your workspace in which you are having issues--Browser Name, Version: Operating System: FireFox 57.0 (64-bit) and Chrome Version 63.0.3239.84 (Official Build) (64-bit) Mobile, Desktop, or Tablet: Laptop Windows 10 Professional 64-bit <!-- If relevant, paste all of your challenge code in here --<!-- Add a screenshot of your issue --!
Thanks for reporting this Previously, the code from the seed was included in the variable used in the tests. This was a new change in the beta that previously broke this test. This has been reverted, the is no longer included in the . Because of that, the test can also be reverted to what it was before. I opened a PR to fix this () and I'm opening an issue for the other instance that was found. There might be more of these, hopefully we can uncover them before the beta release.


Question:
## Instructions
 Make an object that represents a dog called myDog which contains the properties "name" (a string), "legs", "tails" and "friends".  You can set these object properties to whatever values you want, as long "name" is a string, "legs" and "tails" are numbers, and "friends" is an array.   You can set these object properties to whatever values you want, as long as "name" is a string, "legs" and "tails" are numbers, and "friends" is an array.
 ## Tests

Did you guys mean 'as long as "name" is a string' in last paragraph? !
Yes, I think that's the intended motive. Please go ahead and create a PR or let us know so I'll put it up for other contributors!
I'll create a PR :)
"as long as" conveys the message to the learner that name must be of the string datatype Create a PR to close this issue


Question: ], "tests": [ "assert.deepEqual(destroyer([1, 2, 3, 1, 2, 3], 2, 3), [1, 1], 'should remove correct values from an array');", <del> "assert.deepEqual(destroyer([1, 2, 3, 5, 1, 2, 3], 2, 3), [1, 5, 1], 'should remove correct values from an array');" </del> <ins> "assert.deepEqual(destroyer([1, 2, 3, 5, 1, 2, 3], 2, 3), [1, 5, 1], 'should remove correct values from an array');", "assert.deepEqual(destroyer([3, 5, 1, 2, 2], 2, 3, 5), [1], 'should accept more than two additional arguments');", "assert.deepEqual(destroyer([2, 3, 2, 3], 2, 3), [], 'should remove correct values from an array');", "assert.deepEqual(destroyer(['tree', 'hamburger', 53], 'tree', 53), ['hamburger'], 'should handle NaN-elements');" </ins> ], "MDNlinks": [ "Arguments object",

Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. This passes when there are more than 2 arguments after the array, even if it doesn't actually delete those arguments from the array.
What code makes the test cases pass incorrectly?
Here's an example of one that passed, but the returned array is [1, 1] instead of an empty array: function destroyer(arr) { // Remove all the values // for each element in arr, remove each element in args that // is args[0] var args = (arguments); var holder = []; var filtered = (destroy); // function for above function destroy(value) { for (i = 1; i < ; i++) { return value !== args[i] && value !== args [i + 1]; } } return filtered; } destroyer([1, 2, 3, 1, 2, 3], 2, 3, 1); // returned arr is [1, 1] instead of [ ].


Question: ); story.markModified('rank'); story.save(); <del> User.find({ '_id': story.author.userId }, function(err, user) { </del> <ins> User.findOne({'_id': story.author.userId}, function(err, user) { </ins> if (err) { return next(err); } <del> user = user.pop(); </del> user.progressTimestamps.push(Date.now() || 0); <del> user.save(function (err) { req.user.save(function (err) { </del> <ins> user.save(function (err, user) { req.user.save(function (err, user) { </ins> if (err) { return next(err); }

Seeing this in production here: solution: Use and/or check for user existence and end early. cc:


Question:
"Hint: Here's an example call to Twitch.tv's JSON API: https://api.twitch.tv/kraken/streams/freecodecamp.", "Hint: The relevant documentation about this API call is here: https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md#get-streamschannel.", "Hint: Here's an array of the Twitch.tv usernames of people who regularly stream coding: ["freecodecamp", "storbeck", "terakilobyte", "habathcx","RobotCaleb","comster404","brunofin","thomasballinger","noobs2ninjas","beohoff"]",  "Remember to use RSAP if you get stuck. Try using jQuery's $.getJSON() to consume APIs.",   "Remember to use RSAP if you get stuck. Try using jQuery's $.getJSON() to consume APIs.",  "When you are finished, click the "I've completed this challenge" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.", "If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.

Click here then add your link to your tweet's text" ],

Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. Step : "Remember to use RSAP if you get stuck. Try using jQuery's $.getJSON() to consume APIs." incorrectly to this url: It should link to: Unless that misdirection is meant to be tricky for the student ;)
This is a duplicate of
Kind of. This one is referring to a different page (challenge/zipline), but I did notice that all of the Ziplines have the same bug.
This was fixed ages ago, right? Please close.
This isn't actually fixed. The erroneous link still exists in these ziplines: Maybe it's not an issue because we'll be switching over to the content at soon? But I thought you should know that the issue hasn't actually been fixed yet. Actually, the only reason that it isn't an issue on the beta site is that none of the ziplines seem to link directly to the jquery json page.
This was fixed in prior to the branch being available through Now they seem to have changed how the ziplines look, so it wouldn't be an issue regardless. Since all changes seem to happen on the branch before ending up in production, issues that are fixed in should probably be considered fixed, even though it might be better to merge small fixes like this into production at a quicker rate than what is the current reality.
Thanks for the explanation! That makes sense. I'm not privy to staging, so I didn't realize it had been fixed there.


Question: ```js const player = new Player(); <del> assert.match(player.update.toString(), /ifs*(s*this.position.ys*+s*this.heights*+s*this.velocity.ys*<=s*canvas.heights*)s*{s*}/); </del> <ins> assert.match(player.update.toString(), /ifs*(s*(?:this.position.ys*+s*this.heights*+s*this.velocity.y|this.position.ys*+s*this.velocity.ys*+s*this.height|this.heights*+s*this.position.ys*+s*this.velocity.y|this.heights*+s*this.velocity.ys*+s*this.position.y|this.velocity.ys*+s*this.position.ys*+s*this.height|this.velocity.ys*+s*this.heights*+s*this.position.y)s*<=s*canvas.heights*)s*{s*}/); </ins> ``` # --seed--

The instructions state: And will only check as the right answer if you place these 3 values in that specific order. This answer should be correct regardless of the order of the values. 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


Question: Sometimes you will need to test more than one thing at a time. The <dfn>logical and</dfn> operator (`&&`) returns `true` if and only if the <dfn>operands</dfn> to the left and right of it are true. <del> The same effect could be achieved by nesting an if statement inside another if: </del> <ins> The same effect could be achieved by nesting an `if` statement inside another `if`. </ins> ```js if (num > 5) {

Similar to issue Please also update another step that has the same issue and should get a similar fix: The sentence: "will only return Yes if num is greater than 5 and less than 10. The same logic can be written as:" should be changed to: "This will only..." (adding This is enough to fix it as a reference to the previous code block) And similarly for this step as well: Multiple As described above No response N/A No response
Proposed change: Question - do we use or for string literals?
"yes" i think
Please assign this issue to me i think can fix this and make my first contribution to open source
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.
I have created a pull request, what should i do next ?(It's my first contribution, don't mind my stupid questions please)


Question: "}" ], "tests": [  "assert($("body").css("background-color") === "rgb(0, 0, 0)", 'Give your body element the background-color of black.')"   "assert($("body").css("background-color") === "rgb(0, 0, 0)", 'Give your body element the background-color of black.')", "assert(editor.match(//i), 'Make sure your CSS rule is properly formatted with both and opening and closing curly bracket.')"  ], "challengeSeed": [ "

Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. This waypoint was completed before correct code completely entered. The closing bracket is missing. Thank You
Thanks for pointing this out!


Question: The <dfn>logical or</dfn> operator is composed of two pipe symbols: (`||`). This can typically be found between your Backspace and Enter keys. <del> The pattern below should look familiar from prior waypoints: </del> <ins> The pattern below should look familiar from prior waypoints. </ins> ```js if (num > 10) {

Similar to issue Please also update another step that has the same issue and should get a similar fix: The sentence: "will only return Yes if num is greater than 5 and less than 10. The same logic can be written as:" should be changed to: "This will only..." (adding This is enough to fix it as a reference to the previous code block) And similarly for this step as well: Multiple As described above No response N/A No response
Proposed change: Question - do we use or for string literals?
"yes" i think
Please assign this issue to me i think can fix this and make my first contribution to open source
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.
I have created a pull request, what should i do next ?(It's my first contribution, don't mind my stupid questions please)


Question: let a = $.post(url, { title: 'Faux Book A' }); let b = $.post(url, { title: 'Faux Book B' }); let c = $.post(url, { title: 'Faux Book C' }); <del> Promise.all([a, b, c]).then(async () => { </del> <ins> await Promise.all([a, b, c]).then(async () => { </ins> let data = await $.get(url); assert.isArray(data); assert.isAtLeast(data.length, 3);

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Affected page Add a link to the coding challenge with the problem. Your code Copy and paste the code from the editor that you used in between the back-ticks below: Expected behavior Given that this is the Replit starter project and the GET route has no code, I expected test no. 3 to fail. Screenshots If applicable, add screenshots to help explain your problem. you can drag and drop, png, jpg, gif, etc. in this box. System (please complete the following information): Device: [PC] OS: [Windows 10] Browser: [chrome] Version: Version 91.0.4472.77 (Official Build) (64-bit) Additional context Add any other context about the problem here. I am working through this project and found test 3 passes even before I had written any code. I made a new copy of the Replit starter project and ran the tests to see if I could replicate the issue. Test 3 still passes. The github personal- file shows that it supposedly makes several post requests and a get request, but somehow it passes without GET or POST routes.
It seems asserts are not even run, because promises are not fulfilled. Not sure if this is to be expected, but I'm surprised there isn't timeout like in other tests. I guess internally that doesn't make test not finished, so there's nothing to timeout...? Adding before or each post request in , , , would make it timeout as expected.


Question: completedWith: null, title: bonfire[bonfireNumber].name, name: bonfire[bonfireNumber].name, <del> difficulty: +bonfire[bonfireNumber].difficulty, </del> <ins> difficulty: Math.floor(+bonfire[bonfireNumber].difficulty), </ins> brief: bonfire[bonfireNumber].description[0], details: bonfire[bonfireNumber].description.slice(1), tests: bonfire[bonfireNumber].tests,

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --The test requires a multi-line comment of the form . However, the test fails if additional ` characters are present at the beginning or the end of the text contained within the comment. Some examples : The regular expression for the corresponding test needs to be updated. Browser Name: Google Chrome Browser Version: 60+ Operating System: Ubuntu 18.04 !
Hi, I would like to have a go to fix this problem
That's good, please read .
Test fails if multiline style comment includes either / File: Line: 33 this regex is the problem

When I attempt to Run the tests for the code I submitted for Roman Numerals Converter, the page freezes and I cannot solve the issue until I clear the cashe of my browser. Help!
I have the same issue. My browser complains about a long running script and then bails out.
Ok, I figured this one out... if you use the solution in the Gritter chat, that solution will cause a never ending loop, because of the while expression (while numCopy 0 - which is always true btw). This never ending loop will freeze your browser. Moreover, as I lately discovered, the solution there only covers very few of the cases that we need to test to pass the Bonfire. So back to the drawing board, people!
Leaving this open as a bug for someone to fix the solution in the wiki to one that works with the new test cases.


Question: "tests": [], "type": "waypoint", "challengeType": 3, <del> "nameEs": "Crea una aplicación de votaciones" </del> <ins> "nameEs": "Desafios para aprender Sass", "descriptionEs": [] </ins> } ] }

[x] Learn D3 Challenges
what should we do with these ones? I guess they are not finished, so there's no point in translating that one line, or am I wrong?


Question: }; ``` <del> When the `#search-input` element contains the value `94` and the `#search-button` element is clicked, the values in the `#pokemon-name`, `#pokemon-id`, `#weight`, `#height`, `#hp`, `#attack`, `#defense`, `#special-attack`, and `#special-defense` elements should be `GENGAR`, `#94` or `94`, `Weight: 405` or `405`, `Height: 15` or `15`, `60`, `65`, `60`, `130`, `75`, and `110`, respectively. </del> <ins> When the `#search-input` element contains the value `94` and the `#search-button` element is clicked, the values in the `#pokemon-name`, `#pokemon-id`, `#weight`, `#height`, `#hp`, `#attack`, `#defense`, `#special-attack`, `#special-defense`, and `#speed` elements should be `GENGAR`, `#94` or `94`, `Weight: 405` or `405`, `Height: 15` or `15`, `60`, `65`, `60`, `130`, `75`, and `110`, respectively. </ins> ```js async () => {

Example: When the #search-input element contains the value Pikachu and the #search-button element is clicked, the values in the #pokemon-name, #pokemon-id, #weight, #height, #hp, #attack, #defense, #special-attack, and #special-defense elements should be PIKACHU, or 25, Weight: 60 or 60, Height: 4 or 4, 35, 55, 40, 50, 50, and 90, respectively. here #speed is missing leading to unclear errors same holds true for the Gangar test case this could easily be fixed by changing the wording in: I excpected the test-case to include all elements that should've been return/changed 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


Question: `all()` is a built-in Python function that returns `True` if all the elements inside a given iterable evaluate to `True`. Otherwise, it returns `False`. <del> You can combine the `all()` function with the list comphehension syntax to make your code more concise. </del> <ins> You can combine the `all()` function with the list comprehension syntax to make your code more concise. </ins> Modify your `if` condition by passing the list comprehension you created in the previous step to the `all()` function.

A in the forum spotted a typo in the instructions for step 62 of Building a Password Generator, Python in the second paragraph should be spelt ! NA No response
I'm adding the badge to this so new contributors can grab it.
Hello, I would like to work on this issue if it's not assigned to anyone.
Hi , We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labeled 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.
What is the first timers only tag?
Please do not ping a maintainer unless it's an urgent matter. You can see the description of a label if you hover on it. The label is to tag issues that are open to first-time contributors. Please also see


Question: "assert(telephoneCheck("(555)555-5555") === true, 'message: telephoneCheck("(555)555-5555") should return true.');", "assert(telephoneCheck("1(555)555-5555") === true, 'message: telephoneCheck("1(555)555-5555") should return true.');", "assert(telephoneCheck("1 555 555 5555") === true, 'message: telephoneCheck("1 555 555 5555") should return true.');",  "assert(telephoneCheck("555-555-5555") === true, 'message: telephoneCheck("555-555-5555") should return true.');",  "assert(telephoneCheck("1 456 789 4444") === true, 'message: telephoneCheck("1 456 789 4444") should return true.');", "assert(telephoneCheck("123**&!!asdf#") === false, 'message: telephoneCheck("123**&!!asdf#") should return false.');", "assert(telephoneCheck("55555555") === false, 'message: telephoneCheck("55555555") should return false.');",

Challenge [Bonfire: Validate US Telephone Numbers] This actually returns false as the test says it should, but the test does not pass. The rest of the tests pass in my actual telephoneCheck() function.
Thanks for the report! It looks like that test was actually testing against the string rather than like the message said. I have submitted a PR to correct this.
ok good so i'm not insane. just mental. +1:

Challenge [Bonfire: Validate US Telephone Numbers] Apparently the test case "telephoneCheck("555-555-5555") should return true." runs twice.


Question: You should add an `else` block to the existing `if` block. ```js <del> assert.match(code, /ifs*(userData?.currentSongs*===s*nulls*||s*userData?.currentSong.ids*!==s*song.id)s*{s*audio.currentTimes*=s*0;?s*}s*elses{/) </del> <ins> assert.match(code, /ifs*(userData?.currentSongs*===s*nulls*||s*userData?.currentSong.ids*!==s*song.id)s*{s*audio.currentTimes*=s*0;?s*}s*elses*{/) </ins> ``` You should set `audio.currentTime` to `userData.songCurrentTime` inside the `else` block of your `if` statement. ```js <del> assert.match(code, /ifs*(userData?.currentSongs*===s*nulls*||s*userData?.currentSong.ids*!==s*song.id)s*{s*audio.currentTimes*=s*0;?s*}s*elses{s*audio.currentTimes*=s*userData.songCurrentTime;?s*}/) </del> <ins> assert.match(code, /ifs*(userData?.currentSongs*===s*nulls*||s*userData?.currentSong.ids*!==s*song.id)s*{s*audio.currentTimes*=s*0;?s*}s*elses*{s*audio.currentTimes*=s*userData.songCurrentTime;?s*}/) </ins> ``` # --seed--

The test is failing if there isn't a space between and . This fails: Test should pass without a space between and . No response N/A No response


Question: # --hints-- <del> You should declare an `isInvalidInput` variable. ```js assert.isDefined(isInvalidInput) ``` </del> `isInvalidInput` should be a function. ```js

The instructions in step 18 of the js beta to build a calorie counter says: Start by declaring a cleanInputString function that takes a str parameter. However if you misspell the function's name you receive this hint: You should declare a cleanInputString variable. I believe this message should be changed to say "function" instead of "variable" the hint should refer to a not a No response N/A No response
Similar issue was seen in step 28 where the hint said: You should declare an isInvalidInput variable. while the instructions were again to create a function: Start by creating a function called isInvalidInput – it should take a single str parameter. And again, similar issue in step38 hint says: You should declare an addEntry variable. while the step is asking for a function
From Pyramid Generator A function is a block of code that can be reused throughout your application. Functions are declared with the following syntax:
Step 42 mentioned in the previous comment should be fixed. It should say: “The function declaration tells JavaScript that the name identifier is going to be a function.” (Replacing ‘variable’ with ‘identifier’ and ‘keyword’ with ‘declaration’) My understanding is that a function is actually an object in js but I would be surprised if a js course starts telling learners to “declare an object called myFunction” instead of saying “declare a function called myFunction”. Edited…
Step 42 should be a separate issue IMO. It shouldn't be lumped in with the corrections being made to the calorie counter steps
Here the updates for this issue remove this hint and test js assert.isDefined(cleanInputString); the current second hint and test should say this instead js assert.isFunction(cleanInputString); remove this hint and test js assert.isDefined(isInvalidInput) remove this hint and test js assert.isDefined(addEntry); udpate the second hint to the following js assert.isFunction(addEntry); `


Question: (The license for continued use costs $70. However, Sublime Text is free to download and evaluate, with a nag-screen pop-up.)  ## Brackets ![Brackets Icon](//discourse-user-assets.s3.amazonaws.com/original/2X/d/df30640741461569071875cf4ff6cad9924f8b32.png)   ## Brackets   ![Brackets Screenshot](//discourse-user-assets.s3.amazonaws.com/original/2X/2/2f395a58d24ed551ed8440a10ae640777f1143b6.png)   ![Brackets Screenshot](https://i.imgur.com/H9mO8qS.jpg)  Brackets is a relatively new open-source editor by Adobe. It is very user friendly, especially for people who aren't used to command-line interfaces or JSON-style settings/prefereces. Extensions and themes are quick and easy to find and install through the Extension Manager.  ## Atom ![Atom Icon](//discourse-user-assets.s3.amazonaws.com/original/2X/7/7f6ba67d0ea310e1c1024f83c9acc1e0ecf255a8.png)   ## Atom   ![Atom Screenshot](//discourse-user-assets.s3.amazonaws.com/original/2X/8/8016e7c0937e8ce6fcb6104c9aee0026443912f5.png)   ![Atom Screenshot](https://i.imgur.com/halOgkj.png)  Atom is an open source editor, developed by GitHub. Like Sublime Text, Atom is quite popular.

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Describe your problem and how to reproduce it: There are many broken image links and the Visual Studio Code icon is way too large. Add a Link to the page with the problem: Tell us about your browser and operating system: Browser Name: n/a Browser Version: n/a Operating System: n/a If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box): !
I can work on this.
I can work on this.
has already submitted a PR which will most likely be accepted to resolve this issue. We have a backlog of PRs, so it will be a while before it gets merged. There is no need to create any additional PRs for this issue at this time. PRs are merged in the order they are received. Thank you.


Question: # --description-- <del> You will be provided with an initial array (the first argument in the `destroyer` function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments. </del> <ins> You will be provided with an initial array as the first argument to the `destroyer` function, followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments. </ins> <del> **Note:** You have to use the `arguments` object. </del> <ins> The function must accept an indeterminate number of arguments, also known as a variadic function. You can access the additional arguments by adding a rest parameter to the function definition or using the `arguments` object. </ins> # --hints--

The instructions for the JS challenge Seek and Destroy clearly say "Note: You have to use the object." But yet you can pass this challenge without using the object by modifying the function to use a rest parameter to capture the additional arguments. In addition, there is also a solution in the hints that uses this exact technique. This code passes: Unless we have a specific reason for wanting the user to use the object, I think the rest parameter version is the more acceptable approach and we should be pushing that one, or at the least we should not be telling the user that they have to use the object if they really don't have to. The question is, how helpful do we want to be setting up the function? Do we want to add a rest parameter to the function definition? Or do we want to keep it as is (with just the argument) and then the note can say that you can use either the object or you can add a rest parameter to the arguments list? No response N/A No response
P.S. I just realized that maybe we aren't making updates to these JS challenges any more because we will be switching to the new format soon. If so, let me know and I'll close this.
I'd be good with either dropping the hint or saying that either arguments parameter or rest parameter is needed. I think I have a mild preference for the first. We are still making updates to these challenges, but only small updates.
Yeah, I think dropping the instruction is fine. Given that this is the intermediate algorithm section, we should be less concerned with the implementation and more concerned that it works. Since we test with variadic arguments, any implementation should be fine.
I think it's just meant as a hint and its age is why it only talks about the object. I'm not sure we can't have a hint and just call it that. I updated the hint page on the forum a bit.
I like the idea of changing the current note in the instructions to let them know that they can modify the function by adding a rest parameter. I would word it something like the following: My concern is that since we seed the function with only the argument, some people might not think they are allowed to add a rest parameter.
That works for me. I might suggest switching the order so the bit about the arguments object comes last (to give the rest parameter higher priority).

It does feel to me like the information can be integrated as part of the main challenge description and requirements without it needing a note section. But I guess I'm fine with either way.
I like that, yes.


Question: postMessage({ type: 'stopped' }); } <ins> function resetPyodide() { if (pyodide) pyodide = null; void setupPyodide(); } </ins> void setupPyodide(); function initRunPython() { <ins> if (!pyodide) throw new Error('pyodide not loaded'); </ins> // eslint-disable-next-line @typescript-eslint/no-unsafe-call const str = pyodide.globals.get('str') as (x: unknown) => string;

Pyodide can crash when adding or method to the class, while NOT trying to write invalid code. I'm mentioning intent, because it can be encountered when attempting to write correct code. ing instance of the class. or method to the class. On each key pressed, code will execute, including the newly written method. So when we are writing the method: Then starting writing inside of the brackets: . Code will be execute also when it's . That's when it will crash hard: Further changes to code will bring up in browser's console: With example challenge to the at the bottom of code. to class definition, add boilerplate: writing between brackets: on the right crashes at the point when it's . Ideally omitting the crashing part. After the crash window needs to be reloaded to make pyodide on the right work again. Tests still appear to work correctly. Recursive function going into maximum call stack size exceeded does not crash pyodide. I've tested example class from above on , it does not crash pyodide.


Question: // extra field to distract password tools like lastpass from injecting css into our username field label.negative-10.btn.btn-primary.btn-block#submitButton i.fa.fa-play <del> |   Run code (ctrl + enter) </del> <ins> |   Run tests (ctrl + enter) </ins> .button-spacer .btn-group.input-group.btn-group-justified label.btn.btn-success#trigger-reset-modal

I noticed on this challenge that the button to run the tests still runs code ! I think this should say run tests


Question: isServerOnline, fetchState, theme: user.theme, <ins> showCodeAlly, </ins> user }) );

The page gets stuck and goes blank with you leave the relational database challenges. to 'Start the course' the fCC logo/button in the nav goes blank and nav disappears Page not to go blank. Clicking fCC logo should go to /learn No response Same on Chrome and Firefox Console errors: <img width="671" alt="Screen Shot 2023-02-16 at 11 44 19 AM" src="https://user-"


Question: return ( <form id={`dynamic-${id}`} <del> onSubmit={handleSubmit(submit)} </del> <ins> onSubmit={handleSubmit((values, ...args) => submit(formatUrlValues(values, options), ...args) )} </ins> style={{ width: '100%' }} > <FormFields

Describe the bug Submitting the solution link as "" produces an error. Submitting "" does not. Whenever we submit a solution link "" it is appended with "/api/" so resultant solution gives "Not Found/Timeout error" and the same link submitted without "/" like "" gives solution as accepted. To Reproduce Steps to reproduce the behavior: to on 'solution input box' "https://freecodecamp-" solution gets accepted. "https://freecodecamp-" error Expected behavior This should be tackled as Chrome appends "/" by default to any domain URL you copy, so people who would copy URL from search bars will get URLs appended with "/" hence producing wrong results. This file shows the testString is directly appended with "/api" without checking if the input URL contains "/" at the end or not. Screenshots ! Desktop (please complete the following information): OS: Ubuntu 18 Browser: Google Chrome Version 73.0.3683.75
I am not having this problem - my project will pass the tests with or without the trailing https://fcc-manage-npm- and https://fcc-manage-npm- both pass for me in chrome Can you share a share a screen shot of the error?
Updated
hmm, it's strange that my project will give a good response when that string is appended but not yours https://fcc-manage-npm- - package as response https://freecodecamp- - not found as response not sure what is causing this - the only difference seems to be that I'm using glitch and you're using heroku in fact mine will work like this... https://fcc-manage-npm- so maybe how the two websites process a route or something? can they do that? glitch strips out the extra or something? weird Either way - I think a solution like you suggested would probably work - check if the submitted URL ends in a and remove it if it's there. This same problem probably occurs throughout the whole backend area all over the place.
Weird, would u check with an alternative hosting if the problem persists? If the problem persists the last solution would be stripping the las from input url
Did you try this Above is the actual link processed in the test with an appended , It gives a response with the same as it is shown in the screenshot I posted. So I guess the problem is with the routing of Heroku.


Question: 1p, 2p, 5p, 10p, 20p, 50p, £1 (100p) and £2 (200p). It is possible to make £2 in the following way: 1×£1 + 1×50p + 2×20p + 1×5p + 1×2p + 3×1p <del> How many different ways can £(n) be made using any number of coins? </del> <ins> How many different ways can n pence be made using any number of coins? </ins> </section> ## Instructions

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Describe your problem and how to reproduce it: For Project Euler Problem 31 The questions asks "How many different ways can £(n) be made using any number of coins?" but the automated tests actually expect input n in pennies Add a Link to the page with the problem: Tell us about your browser and operating system: Browser Name: Chrome Browser Version: 79.0.3945.130 (Official Build) (64-bit) Operating System: MacOS If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
Thanks for reporting this, it definitely should be pennies. PRs are welcome.


Question: be a rolling update or a manual update. The later is essential when changing dependencies or adding environment variables. <del> > [!DANGER] The automated pipelines are not handling dependencies updates at the </del> <ins> > [!ATTENTION] The automated pipelines are not handling dependencies updates at the </ins> > minute. We need to do a manual update before any deployment pipeline runs. #### 1. Manual Updates - Used for updating dependencies, env variables.

We are currently using the for our Docsify-powered contributing documentation. One of the alert types, , also accepts the keyword to render. We currently render one of these boxes with and four of them with . For consistency sake, we should use the same keyword to render these. IMHO, with the displayed text being "Attention" we should use the keyword, but I wanted to get some feedback before opening this up to first timers. As an alternative, if we prefer the text, we can modify the plugin config to render on the end-user view instead of .
At this time, there are 4 instances of usage of and 1 instance for , I think it would make sense to make it consistent. And seeing that with the displayed being "Attention" I agree on that being the one used.
+1 on making it
I am happy either way. The only reason I came into this is because I am used to the Bootstrap way of naming, and naturally put DANGER.
Alright, I am going to open this up to first timers. A pull request that closes this issue will: Replace all instances of with in the directory Will not modify any of the files in the directory (these will be updated through our translation worfklow) If you are interested in resolving this issue, we recommend starting with our . If you have further questions feel free to join us in our .
Hi, can I try this out?
Sure thing! Let us know if you have any questions :)
Hey Nick, I would like to work on this!
I also thought of that, but as this issue has been already received by someone, let's give them some time! If it is more than a week without no response, you can grab this!
Yup I got that. That's why I commented so if they are unable then I can pick that up


Question: import React from 'react'; <del> const fCClogo = 'https://s3.amazonaws.com/freecodecamp/freecodecamp_logo.svg'; </del> <ins> import freeCodeCampLogo from '../../../assets/icons/freeCodeCampLogo'; </ins> function NavLogo() { <del> return ( <picture> <img alt='learn to code at freeCodeCamp logo' className='nav-logo' src={fCClogo} /> </picture> ); </del> <ins> return <freeCodeCampLogo />; </ins> } NavLogo.displayName = 'NavLogo';

Nav logo should be served a react svg component in the codebase for reference. The alt text should read: ''
Removing the first timers, because it may not be very trivial.
I would love to get this done. Please assign it to me.
Issue assignment is not necessary, we accept the first valid PR, which follows our contribution guidelines.
Thanks for the heads up, I thought we still followed the assignment rule like in the past. I will submit a PR soon.
There you go, making an exception because of your interest :) Happy contributing!
Hi how is this coming along. Are you still working on this?
Hi I will be making a PR today hopefully. Was stuck in some other work.
Hi I ran into an Eslint issue, when I converted SVG to JSX the svg path code is so lengthy that I get Any hint on how I can manage this? tried running the but it doesn't work.
You should be able to wrap using the lines at 80 in your code editor if you happen to use VS Code? Let's make a PR or share a link to your repo/branch for more context. Thanks.
Created a PR with ESLint max-len disabled. I tried wrapping the code to multiple lines but some string blocks are very long and would break the svg if put on a new line.


Question: isFirstStep={isFirstStep} layoutState={layout} notes={<Notes notes={notes} />} <del> preview={<StepPreview disableIframe={resizing} />} </del> <ins> preview={ <StepPreview disableIframe={resizing} previewMounted={previewMounted} /> } </ins> resizeProps={resizeProps} testOutput={ <Output defaultOutput={defaultOutput} output={output} />

On the initial loading of a Step the preview is showing in the preview pane, but if you either open the preview in the pop-out window or toggle the preview pane off/on then the preview does not load again. All Steps in New RWD preview in pop-out window (preview does not load) page Preview button to toggle preview pane off/on (preview does not load) Preview should load in both pop-out window and after the preview pane has been toggled off/on. No response Verified with Chrome/Firefox on both Linux and Win11. Possibly related to issue , but I think this is newer and slightly different.
Just discovered that if you make any change in the editor (such as adding a single space) then the preview will refresh and display again. But you have to do that every time you either open the pop-out window or toggle the preview pane.
When the preview is blank the iframe attributes are not updated either (which makes sense I guess, it looks to be the default values). Blank before updating: After updating: It feels like a state issue.
The preview also disappears if you toggle the Instructions on any of the certification projects.
Yes, that's a separate issue. I dig around at this a bit, seems to have caused the problem. Before it, these issues aren't present.


Question: | --------------------------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------- | | [Node.js](http://nodejs.org)                                                                  | `18.x`  | We use the "Active LTS" version, See [LTS Schedule](https://nodejs.org/en/about/releases/). | | [pnpm](https://pnpm.io/installation)                                                          | `8.x`   | -                                                                                | <del> | [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `4.2.x` | -                                                                                | </del> <ins> | [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `5.0.x` | -                                                                                | </ins> > [!ATTENTION] > If you have a different version, please install the recommended version. We can only support installation issues for recommended versions. See [troubleshooting](#troubleshooting) for details.

The setup instructions here suggest that I need MongoDB Community Server | 4.2.x. I've tried through docker and through macos homebrew instructions and can't get any 4.2 version. 4.4.x is available. Is that acceptable? If so, should I update this doc? Try to follow one of options for setting up MongoDB Community Server | 4.2.x Maybe 4.4.x is ok? No response
i searched the tags on docker and no 4.2 is available. this article suggests other ways but the result is always
i found this pr which suggests that 4.4 should work fine. so i guess i should update the docs? you agree?
or there are other docker images available of 4.2.x. But people trying to follow directions won't get to them if we point them to starting from here: because mongo only points to their docker images.
i also see that in there are docker instructions there. should i use that or is that for something different?
Hi thanks for the issue. We recommend asking around in our chat and forum when you are troubleshooting. The docs need to be updated to the version we are using right now. I have created a PR. It will be available soon at I hope this helps.
I see that the docs have been updated to mongo 5.0. But maybe should the docs point to as the best way to set up mongo? That's what I used and it seems like the easiest option.
Thanks for pointing that out. The directory is a newer API in the works. It will have a full docker-based setup that is more convenient than the current workflow. We will release cleaner and easy-to-follow docs when that happens. Meanwhile we will stick to the docs you see at:


Question: "test-tools": "jest tools", "test-utils": "jest utils", "postinstall": "cypress cache prune", <del> "prepare": "husky" </del> <ins> "prepare": "husky", "playwright:run": "playwright test", "playwright:watch": "playwright test --ui" </ins> }, "dependencies": { "dotenv": "16.4.5"

We should add scripts for running Playwright tests. In the root level , add these two scripts:
playwright and to the root level and passed all the tests need review to be merged @ you can check the pr


Question: You should now see the same bunch of characters in your console. Your `padRow` function is doing the exact same thing you were doing earlier, but now it's in a reusable section of its own. <del> Use the addition operator to concatenate a blank space `" "` to the beginning and end of your repeated `character` string. </del> <ins> Use the addition operator to concatenate a single space `" "` to the beginning and end of your repeated `character` string. </ins> Remember that you can use the `+` operator to concatenate strings like this:

Error message: The string is either empty or holds a space. "empty space" and "blank space" in this context is confusing. Clear wording: No response All No response
Opening this up. A PR which resolves this issue will update the messaging to the "single space" text Jeremy proposed above.
<img width="655" alt="Screenshot 2024-06-07 at 3 20 38 PM" src=""Would you like me to change both beginning and end hints to "single space" make it more simplistic? since the answer is: function padRow(rowNumber, rowCount) { return " " + (rowNumber) + " "; }
Yes, we should use the phrase "single space" in all three spots
aye aye captain!


Question: ] ], "type": "hike", <del> "challengeType": 6 </del> <ins> "challengeType": 6, "nameEs": "JavaScript Lingo: Ciclos", "descriptionEs": [ "Si hay un conjunto de valores (vamos a utilizar un vector en este ejemplo, pero no tiene que ser así) y deseas realizar la misma operación a cada valor del conjunto, puedes usar algo llamado ciclo. ", "Los ciclos tienen una sintaxis compleja a la que inicialmente es difícil acostumbrarse, pero una vez que la entiendas, son de gran utilidad. Yo usé ciclos en muchas de mis soluciones. ", "No es necesario que entiendas todo aquí - sólo que sepas que existen ciclos cuando necesitas recorrer un conjunto de datos y que pueden reducir la cantidad de código que debes escribir." ] </ins> }, { "id": "56b15f15632298c12f315185",

[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions
Working on this one


Question: </Helmet> <Spacer size={2} /> <Grid> <ins> {isSessionUser ? renderSettingsButton() : null} </ins> <FullWidthRow> <h2 className='text-center'> {username} has not made their profile public.

The Portfolio button in the nav only takes me to my locked down profile. The settings button should be available on the user profile even when my profile is private and I am signed in. ! Edit raisedadead: We probably missed this while adding tests. Anyone interested can would be awesome if you could add tests while fixing this.
The settings button should be displayed here regardless of privacy settings.
You beat me to this, I opened without looking at the tracker.
Hi guys. I want to get and fix that issue.


Question: # --description-- <del> When you are curious about someone's physical appearance, such as their hair color, height, or general appearance, you could use the sentence `What does (he/she) look like?` </del> <ins> `To look like` is used to describe someone's or something's appearance, often implying a comparison. </ins> <del> For example: If you hear that a new programmer joined your team but you haven't met them, you can ask your colleague, `What does (he/she) look like?` </del> <ins> When you're curious about someone's physical characteristics, such as their hair color, height, or overall look, you might use expressions like: </ins> <del> You want to know if they are tall, have short hair, or wear glasses, so you can recognize them in the office. </del> <ins> `What does (he/she) look like?` or `What do they look like?` The choice between these depends on the number and gender of the person you're asking about. Use `does` with singular pronouns `(he, she)` when referring to one person and `do` with `they` when referring to someone whose gender might not be known or if referring to people in a non-binary or plural sense. </ins> **Note:** Remember that questions about a person's appearance can be sensitive. Some people may not feel comfortable discussing physical traits, and it's important to respect their feelings. Always use this question politely and in the right context, where it is appropriate to do so.

The course currently only supports binary gender, he and she, they is excluded. -Advance to 3rd chapter, task 41 -oberserve the text all platforms, all fw Please make this course more inclusive, with something like: What do/does (he/she/they) look like? !
The string "What is (he/she) like?" also appears in Task 42.
"they" is taught in task 43. Even if it is discussed in task43, it can still be used in respective string from Task 41 onwards.
I have updated the issue as asked . Please review it .
Hi there, Thanks for your interest in contributing. This issue has not been triaged yet, and a solution has not been agreed upon. Once the issue is open for contribution, you are welcome to create a pull request to reflect the issue consensus. Please also note that we typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.
Hmmmmmm, While I am always advocating for inclusivity, in this case it may not make sense. Specifically because in English, even when using the singular "they", plural verb conjugations are used. "What does (he/she) look like?" -"What do they look like?" "What is (he/she) like?" -"What are they like?"
I have made the changes as said .
The following tasks need to be updated with these texts.


Question: **Projects**:  [Stock Price Checker](https://www.freecodecamp.org/learn/information-security/information-security-projects/stock-price-checker), [Anonymous Message Board](https://www.freecodecamp.org/learn/information-security/information-security-projects/anonymous-message-board), [Port Scanner](https://www.freecodecamp.org/learn/information-security/information-security-projects/port-scanner), [SHA-1 Password Cracker](https://www.freecodecamp.org/learn/information-security/information-security-projects/sha-1-password-cracker), [Secure Real Time Multiplayer Game ](https://www.freecodecamp.org/learn/information-security/information-security-projects/secure-real-time-multiplayer-game) #### 10. Machine Learning with Python Certification - [TensorFlow](https://learn.freecodecamp.org/machine-learning-with-python/tensorflow)

This is a broken link. <img width="1440" alt="Screen Shot 2020-09-21 at 12 43 27 PM" src="https://user-"<img width="1148" alt="Screen Shot 2020-09-21 at 12 43 55 PM" src="https://user-"Recommended fix, suggestions (how would you update it?): Two ideas for fixing this come to mind: In the , we want to change both links to match the current application. Here is the code that should be to fix the issue: Set up routes for the old paths to redirect to the current paths. I'm unsure of exactly how to do this.


Question: } it('Test suite must fail on the initial contents', async function() { <ins> // suppress errors in the console. const oldConsoleError = console.error; console.error = () => {}; </ins> let fails = ( await Promise.all(tests.map(async function(test) { try {

Describe the bug Several warnings in the Travis CI builds: To Reproduce Steps to reproduce the behavior: a PR the output in Travis CI build Expected behavior Cleaner builds; maybe reduce build time(?) Screenshots ! Additional context Error references this documentation: Live Demo in doc:


Question: import { userSelector, isSignedInSelector, <del> openDonationModal, showDonationSelector, </del> submitComplete, updateComplete, updateFailed

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:


Question: this.state = { subtitles: '', downloadURL: null, <del> selectedOption: 0, </del> <ins> selectedOption: null, </ins> answer: 1, showWrong: false, videoIsLoaded: false

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Describe your problem and how to reproduce it: On Python curriculum challenge, the correct answer is already selected. Just so we're having the learner do something, I guess either rearranging the options or at the very least not having the correct option already selected should be made. If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box): !
I assume this applies to all of the Video Challenges with a solution of 1?
It should be that case, even though I haven't personally verified it
Could we avoid the problem by leaving the radio buttons unselected at the start? It's slightly weird UX, since people expect radio buttons to always have one selected, but it should not be too confusing in the context of a multiple choice question.
It is a valid workaround
/cc
That works. Unselected radio buttons seems to be a convention for multiple choice questions. Additionally, we could display the multiple choice questions as a button group and avoid having the users select the multiple choice question and click on the Check Your Answer.
Just to check, do you mean: remove Check Your Answer and have the modal pop up as soon as the user clicks on the correct answer? Also, since we're discussing UX, keyboard navigation is a bit tricky. There's no visible indicator when you have the answers selected.
Just to check, do you mean: remove Check Your Answer and have the modal pop up as soon as the user clicks on the correct answer? Yes, what do you think?
Sounds good. The only concern I have is that we don't want to encourage people to just guess. However, forcing them click back and forth between the radio buttons and 'Check your answer' probably does not solve that and it's definitely irritating.
For now, let us unselect radio buttons and we take it from there.
w.r.t , should we leave this issue open?
since it's already been moved to 'done' on the project board, I'll create a new feature request to track the remaining points.


Question: Your `for` loop should `push` `strArray[i]` to `cleanStrArray`. ```js <del> assert.match(code, /fors*(s*(let|var)s+is*=s*0s*;s*is*<s*strArray.lengths*;s*is*++s*)s*{s*ifs*(![("|')+2s*,s*("|')-3s*,s*("|')s4s*].includes(s*strArray[i]s*))s*{s*cleanStrArray.push(s*strArray[i]s*)s*}/); </del> <ins> assert.match(code, /fors*(s*(let|var)s+is*=s*0s*;s*is*<s*strArray.lengths*;s*is*++s*)s*{s*ifs*(![("|')+2s*,s*("|')-3s*,s*("|')s4s*].includes(s*strArray[i]s*))s*{s*cleanStrArray.push(s*strArray[i]s*)s*;?s*}/); </ins> ``` # --seed--

The following valid code does not pass for of calorie counter project. The issue is with this line here If you remove the semicolon then the test will pass We will need to fix the test to make semicolons optional so the camper can pass with or without semicolons. here is the file you need to fix Please read through the docs first. And we don't assign issues. If you are interested in working on this, work on the fix and create a PR. Happy coding! This code does not pass even though it is valid Semicolons should be optional and the code above should pass 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


Question: # --description-- <del> After your `h2` element, create two `p` elements. Give the first a `class` of `dessert-price`, and the text of the `price` variable with a dollar sign in front of it. Give the second a `class` of `product-category`, and the text `"Category: "` followed by the value of the `category` variable. </del> <ins> After your `h2` element, create two `p` elements. Give the first a `class` of `dessert-price`, and set the text to a dollar sign `"$"` followed by the value of the `price` variable. Give the second a `class` of `product-category`, and the text `"Category: "` followed by the value of the `category` variable. </ins> # --hints--

In the Step 12 of module: "Learn Basic OOP by Building a Shopping Cart". The phrase "with a dollar sign in front of it" might sound like the dollar sign should come after the price value, but it actually means before the price. To avoid this ambiguity, a clearer way to phrase it could be: "Precede the price with a dollar sign ($)." Or "Display the price with a dollar sign ($) before the value." This wording explicitly states that the dollar sign should come before the price, avoiding any confusion. ! 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
Right, but that's what "front" means - it's the beginning. e.g. "I was at the front of the queue, so I was served first". That said, when you write it might be confusing since the hint is "Your first element should have the text of the variable with a dollar sign in front of it.". I can see people reading that and thinking that they do have a dollar sign in front of it. Perhaps the hint would be better as "Your first element should have the text of the variable with a dollar sign in front of it. For example, using "
The phrase would be a good to avoid all these confusion which has been to the pull request
This issue is open for contribution. A PR which resolves this issue should: Update the instructions to read classdessert-price"$"price`
Is this PR Still Open?
the issue is open for contribution, but there are already two PRs that aim to close this issue


Question:
--- ## Description
 Puede ejecutar el mismo código varias veces utilizando un bucle. El siguiente tipo de bucle que aprenderá se denomina bucle " do...while " porque primero " do " una pasada del código dentro del bucle sin importar qué, y luego se ejecuta " while " se cumple una condición específica y se detiene una vez que esa condición ya no es verdadera. Veamos un ejemplo.
 var ourArray = [];
 var i = 0;
 hacer {
 nuestroArray.push (i);
 i ++;
 } while (i <5);
 Esto se comporta como se esperaría con cualquier otro tipo de bucle, y la matriz resultante se verá como [0, 1, 2, 3, 4] . Sin embargo, lo que hace do...while diferente de otros bucles es cómo se comporta cuando la condición falla en la primera comprobación. Veamos esto en acción. Aquí hay un bucle while común que ejecutará el código en el bucle siempre y cuando i < 5 .
 var ourArray = [];
 var i = 5;
 mientras (i <5) {
 nuestroArray.push (i);
 i ++;
 }
 Observe que inicializamos el valor de i en 5. Cuando ejecutamos la siguiente línea, notamos que i no es menor que 5. Por lo tanto, no ejecutamos el código dentro del bucle. El resultado es que ourArray no agregará nada, por lo que aún se verá así [] cuando todo el código del ejemplo anterior termine de ejecutarse. Ahora, eche un vistazo a un do...while loop.
 var ourArray = [];
 var i = 5;
 hacer {
 nuestroArray.push (i);
 i ++;
 } while (i <5);
 En este caso, inicializamos el valor de i como 5, tal como hicimos con el bucle while. Cuando llegamos a la siguiente línea, no hay comprobación del valor de i , por lo que vamos al código dentro de las llaves y lo ejecutamos. Agregaremos un elemento a la matriz e incrementaremos i antes de llegar a la verificación de condición. Entonces, cuando se llega a comprobar si i < 5 ver que i es ahora de 6 años, que no pasa la comprobación condicional. Así que salimos del bucle y estamos listos. Al final del ejemplo anterior, el valor de ourArray es [5] . Esencialmente, un bucle do...while while garantiza que el código dentro del bucle se ejecute al menos una vez. Intentemos obtener un bucle do...while while para que funcione presionando valores en una matriz.

 Puede ejecutar el mismo código varias veces utilizando un bucle. El siguiente tipo de bucle que aprenderá se denomina bucle do...while porque primero do una pasada del código dentro del bucle sin importar qué, y luego se ejecuta while se cumple una condición específica y se detiene una vez que esa condición ya no es verdadera. Veamos un ejemplo.
 var ourArray = [];
 var i = 0;
 hacer {
 nuestroArray.push (i);
 i ++;
 } while (i <5);
 Esto se comporta como se esperaría con cualquier otro tipo de bucle, y la matriz resultante se verá como [0, 1, 2, 3, 4] . Sin embargo, lo que hace do...while diferente de otros bucles es cómo se comporta cuando la condición falla en la primera comprobación. Veamos esto en acción. Aquí hay un bucle while común que ejecutará el código en el bucle siempre y cuando i < 5 .
 var ourArray = [];
 var i = 5;
 mientras (i <5) {
 nuestroArray.push (i);
 i ++;
 }
 Observe que inicializamos el valor de i en 5. Cuando ejecutamos la siguiente línea, notamos que i no es menor que 5. Por lo tanto, no ejecutamos el código dentro del bucle. El resultado es que ourArray no agregará nada, por lo que aún se verá así [] cuando todo el código del ejemplo anterior termine de ejecutarse. Ahora, eche un vistazo a un do...while loop.
 var ourArray = [];
 var i = 5;
 hacer {
 nuestroArray.push (i);
 i ++;
 } while (i <5);
 En este caso, inicializamos el valor de i como 5, tal como hicimos con el bucle while. Cuando llegamos a la siguiente línea, no hay comprobación del valor de i , por lo que vamos al código dentro de las llaves y lo ejecutamos. Agregaremos un elemento a la matriz e incrementaremos i antes de llegar a la verificación de condición. Entonces, cuando se llega a comprobar si i < 5 ver que i es ahora de 6 años, que no pasa la comprobación condicional. Así que salimos del bucle y estamos listos. Al final del ejemplo anterior, el valor de ourArray es [5] . Esencialmente, un bucle do...while while garantiza que el código dentro del bucle se ejecute al menos una vez. Intentemos obtener un bucle do...while while para que funcione presionando valores en una matriz.
  ## Instructions
 Cambiar el while de bucle en el código a un do...while bucle de modo que el bucle empujará el número 10 a myArray , y i será igual a 11 cuando el código termina de ejecutarse.

In some curriculum articles, some of the code-bits highlighted by the are enclosed by a pair of quotes which are not necessary. Since the tags already highlight code, there is no need for the quotes to be there. That is, instead of: It should be: One example can be found in PRs: [x] English [x] Chinese - No instances found [] Russian [x] Arabic [] Portuguese [x] Spanish
Do we have a list of such challenges? That would help so we know when to close this issue (i.e. all have been covered).
I do not have a list of these challenges a.t.m. In the P.R. from where this originated, has said something about there being other files where we had this, he might have a lead on it, otherwise a repo wide search for can be run
OK.
If you do a quick search of the repo to see how many files might be affected by this, then I will query the open PRs to check all existing open PRs which might have such changes.
I would like to start from . Kindly let me know May I start now to avoid file merge conflict. I checked for . There are 18 files that will be affected.
we can take care of the merge conflicts if you want to submit the PR. Make sure you're working from the latest commit of the freecodecamp master branch. Please try to limit the changes in this PR to only removing the quotes so it doesn't make conflict resolution more difficult. Thanks!
I think it's better to allow a first-time contributor to work on the issue. Please feel free to look through the other issues. There are many of them we could use your help on! In case this one is still not picked up in a few days, you can then work on this.
I was already working on this. I will look for issues also from now onwards.
Is this issue still on? If yes, can I help you?
This one already has an open PR (see above ).
Okay No problem!!
Is this issue closed ? I am a first time contributor and would like to work on it.
Not yet, only the PR for English language has been merged. Check with for what languages he is making a PR for
You can start with any of the language except English language.

I am not working as of now for any other language. It would be great if we allow first timer to work on this.
hello, I would like to do this as a first timer. Where should I start?
check with for what languages they are working on, you can pick up the other languages and use the search and replace functionality of your code editor to make changes as discussed above
Hi, I'm new to freecodecamp but I'm wondering if you guys still need help on this? If so, what languages should I work on? Thanks!
Hello, I'd like to help with this issue as well. Which language folders are available? Thanks!
Thanks for helping out with this! AFAIK, so far only . Since we haven't heard from and yet, you both are welcome to pick one language each from the available four (Arabic, Chinese, Portuguese and Spanish), and start working on the corresponding files. Considering that and asked first, we'll wait for them to claim the other two language versions if they're still interested. In case they (or aren't, you can then continue with these remaining versions too (if you prefer).
Thanks I'll volunteer to do the Spanish folder.
Thanks I'll take the Portuguese folder!
Hi, after taking a cursory look in /curriculum/challenges/portuguese, and searching for <code"<codestuff </code"</code", and &quot, I haven't found any examples of <code"<codestuff </code"</code", and the only places where <code"<codeor </code" </codepop up are in Tests, and in assert fields, where it's unrelated I think. Am I missing something? Sorry for the bother!
Hi Try searching making sure there is a space in between. I noticed there were a lot of false positives when I did my search. When I searched, I was able to find in the Portuguese folder at declare-the-doctype-of-an-html-
Thank you! I removed all the instances of , and I think that that may be all of the instances in the Portuguese files. Would it be possible for me to work on the other untaken languages as well, or should I wait on and to see if they are picking up Arabic/Chinese?

Guys, try searching for and separately
I made sure to search , , , , , , , and , all separately.
Do we still need help for Arabic/Chinese? I wouldn't mind picking up those as well!
Sure! Go ahead!
Hi are you doing both Arabic/Chinese? Do you mind if I do one of the folders?
Go for it! I'll take Chinese and you can have Arabic?
Thanks I'll move forward with the Arabic folder.
Hey, Would like to give a hand as its my first contribution. Where should i start? is the quote issue resolved or are there more languages where help is needed? Thanks in advance
- It appears you can choose between Spanish and Portuguese. If you have not contributed before, I suggest starting with and . If you have any questions, then ask in our .
Actually I think that all files currently are accounted for. Me and have created PR's for Portuguese/Spanish, and now we're working on Chinese/Arabic. I think Russian and English were already taken before us.
After looking for , , , , , , , and , I couldn't find any instances of any of these in the Chinese folder. Somebody else can verify if they wish, but as far as I've searched, I can't find anything in the Chinese folder specifically, even though they exist in my local (non-fixed) Arabic, Portuguese, Spanish, etc. folders, so I don't think a PR needs to be made for the Chinese folder specifically.
Hi, this will be my first contribution. I'm wondering if Chinese is still up for grab. If not, which one can I choose? Thanks.
It appears is already working on the Chinese version.
Alright, it seems like every one of them is taken. Let me know if any one of them needs help in the future. Thanks.
I've taken a look at the Chinese version, and it seems like the quotes are already removed. I won't be submitting a PR for it, so if you want to take a look and find something that I missed then feel free to make the PR yourself!
Had this been fixed in the Portuguese and Russian folders? Someone needs to have a look
Even if those languages were not translated, it is fine. We are no longer accepting translations for the current curriculum.

We do not need any further PRs for the the non-English curriculum files.
I see. Alright


Question: "difficulty": 1.392, "description": [ "One cool thing about id attributes is that, like classes, you can style them using CSS.",  "Here's an example of how you can take your element with the id attribute of cat-photo-element and give it the background color of green. In your style element: #cat-photo-element { background-color: green; }>",   "Here's an example of how you can take your element with the id attribute of cat-photo-element and give it the background color of green. In your style element: #cat-photo-element { background-color: green; }",  "Note that inside your style element, you always reference classes by putting a . in front of their names. You always reference ids by putting a # in front of their names.", "Try giving your form, which now has the id attribute of cat-photo-form, a green background." ],

Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Should that '' be there at the end of Here's an example of how you can take your element with the id attribute of cat-photo-element and give it the background color of green. In your style element: #cat-photo-element { background-color: green; }? <img width="271" alt="screenshot 2015-08-17 14 56 24" src=""
No, it shouldn't. I can take care of this if that's not a problem.
If you want to take a stab go for it!


Question: const { t } = useTranslation(); return ( <del> <nav aria-label='Timeline Pagination' role='navigation'> </del> <ins> <nav aria-label={t('aria.timeline-pagination-nav')}> </ins> <ul aria-hidden='true' className='timeline-pagination_list'> {totalPages > 10 && ( <li

The is being hard-coded with an English string, we should change this to use a translation string instead. Additionally, the attribute is redundant as already has role implicitly. Replace the string with a translation string, something like (the string also needs to be to ) Remove


Question: ```js assert( (function () { <del> const initialState = store.getState(); store.dispatch(decAction()); const decState = store.getState(); </del> <ins> const initialState = _store.getState(); _store.dispatch(decAction()); const decState = _store.getState(); </ins> return initialState - 1 === decState; })() );

<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --<!-- Add a link to the coding challenge with the problem. -- <!-- Copy and paste the code from the editor that you used in between the back-ticks below: --<!-- Add a clear and concise description of what you expected to happen. --This should be accepted as a correct answer, as it solves the challenge. <!-- Please complete the following information. --- Device: PC OS: Windows 10 Browser: Firefox Version: 97.0.1 <!-- Add any other context about the problem here. --The problem arises if the user tries to test their Redux store functionality After checking the source code of the challenge, the problem seems to be the method used to check if user initiated state correctly or not found in This is resulting in a false assert because the user has modified their state (with Tests) I don't know of a way to assert that the user initialized state other than the way mentioned above Maybe add a note that the user should remove their tests before checking their answer? Sorry if this was mentioned before, but I didn't find it so decided to open the issue.
Rather than adding note, more convenient might be creating new store during the test, off the , and checking initial state of that one.
I agree with gikf's suggestion here. We could create an section under and declare a which we could pass to the tests.


Question: .footer-container .col-header { flex: 0 0 100%; <del> padding-bottom: 15px; </del> font-weight: 700; font-size: 16px; text-align: center;

found an issue: Unexpected shorthand "padding" after "padding-bottom" (declaration-block-no-shorthand-property-overrides) It's currently on:
I'm happy to fix this (and remove the units from zero values also in that file), but I'm not sure what the preferred replacement is for the padding. Should I just remove the padding: and add lines for padding-top: 0; padding-right: 15px; to reflect the styles currently specified by the padding: 0 15px 15px line?
I would delete , you can start and these question will be answer by reviewers if they need changes later