jiebi/CodeConvo huggingface dataset:
Change:
- text: Your regex should use curly brackets. testString: assert(timRegex.source.match(/{.*?}/).length > 0); - text: Your regex should not match <code>"Timber"</code> <del> testString: assert(!timRegex.test("Timber")); </del> <ins> testString: timRegex.lastIndex = 0; assert(!timRegex.test("Timber")); </ins> - text: Your regex should not match <code>"Timmber"</code> <del> testString: assert(!timRegex.test("Timmber")); </del> <ins> testString: timRegex.lastIndex = 0; assert(!timRegex.test("Timmber")); </ins> - text: Your regex should not match <code>"Timmmber"</code> <del> testString: assert(!timRegex.test("Timmmber")); </del> <ins> testString: timRegex.lastIndex = 0; assert(!timRegex.test("Timmmber")); </ins> - text: Your regex should match <code>"Timmmmber"</code> <del> testString: assert(timRegex.test("Timmmmber")); </del> <ins> testString: timRegex.lastIndex = 0; assert(timRegex.test("Timmmmber")); </ins> - text: Your regex should not match <code>"Timber"</code> with 30 <code>m</code>'s in it. <del> testString: assert(!timRegex.test("Ti" + "m".repeat(30) + "ber")); </del> <ins> testString: timRegex.lastIndex = 0; assert(!timRegex.test("Ti" + "m".repeat(30) + "ber")); </ins> ```

Discussion:
<!-- 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 the lesson linked below, This will pass: But this wont: The error message says: Add a Link to the page with the problem: Tell us about your browser and operating system: Browser Name: Google Chrome Browser Version: Version 81.0.4044.113 (Official Build) (64-bit) Operating System: Fedora 31 If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
Interestingly, this code passes:
Considering this is the testString: It seems like a potential issue with the console, ? Related to
I believe the method used to solve a similar problem in would work here. - scroll down to the middle of the section...
On a side note: Should this code be left to be allowed to pass the tests?:
I don't think should pass, since it's just an odd way of writing , rather than how you'd actually use . As for the console, I get in both consoles, which seems fine.
I don't mind passing all that much. Mostly because I am doubting that anyone has actually used that. But I also don't mind fixing it since it's not really how it was intended to be completed. I think the easiest fix would be to change the first test... Your regex should use curly brackets. to something like... - and update the test to check for that.
It's pretty inconsequential, honestly. I'd prefer it to fail, but you're right - it's unlikely many people have done that while actually trying to solve the problem. If it's fiddly to reject that while allowing valid solutions, don't worry about it.
Change:
<Spacer /> <h2>As featured in:</h2> <Image <del> alt="companies featuring freeCodeCamp" </del> <ins> alt='companies featuring freeCodeCamp' </ins> className='img-center' responsive={true} src='https://s3.amazonaws.com/freecodecamp/as-seen-on.png'

Discussion:
I can work on this. A little confused though, since it appears to be there already. Does the mission statement go here? Please provide instructions, thanks.
Change:
# --description-- <del> Now it's time time to add other details to the markers, starting with the first one. </del> <ins> Now it's time to add other details to the markers, starting with the first one. </ins> In the first marker `div` element, change the class `one` to `red`.

Discussion:
<!-- NOTE: If you want to become an author on freeCodeCamp, you can find everything here: --<!-- If you are reporting an issue with an article on our News publication, please follow this link to send an email to our editorial team --<!-- Add a link to the page with the problem. -- <!-- Describe the problem and how to reproduce it. --extra word -"time" word continuous appeared twice "time" should just only appeared once in the first sentence <!-- A clear and concise description of how you want to update it. --Now it's time to add other details to the markers <!-- If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box). --!
Thanks for opening this issue. This looks something that can be fixed by "first time" code contributors to this repository. Here is the file that you should be looking at to work on a fix: 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.
Hi As I am new to opensource, I would like to contribute to this issue.
Change:
"data"), true); ``` <del> `truthCheck([{id: 1, data: {url: "https://freecodecamp.org", name: "freeCodeCamp}}, {id: 2, data: {url: "https://coderadio.freecodecamp.org/", name: "CodeRadio"}}, {id: null, data: {}}], "id")` should return `false`. </del> <ins> `truthCheck([{id: 1, data: {url: "https://freecodecamp.org", name: "freeCodeCamp"}}, {id: 2, data: {url: "https://coderadio.freecodecamp.org/", name: "CodeRadio"}}, {id: null, data: {}}], "id")` should return `false`. </ins> ```js assert.strictEqual(truthCheck(

Discussion:
<!-- 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. --The test cases are missing a closing quote in what is displayed in the challenge and there is no way to tell if it's the same under the hood or not - probably not because the code won't even run the way it is shown in the challenge. The word "freeCodeCamp" in those examples has a " in front of it but not after it - causing the code to fail. What is the proper thing to do? Just fix it? - - Your browser information: User Agent is: <codeMozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/ Firefox/98.0</codeChallenge: Everything Be True Link to the challenge: <!-- Add a clear and concise description of what you expected to happen. --When the test cases are used to develop a solution to the challenge the code fails. Please add a closing quote to the last two test cases shown on the challenge page so that they may be used directly in our efforts to develop a solution to the challenge. <!-- If applicable, add screenshots to help explain your problem. you can drag and drop, png, jpg, gif, etc. in this box. --! <!-- Please complete the following information. --- Device: [e.g. iPhone6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.4] Browser: [e.g. chrome, safari] Version: [e.g. 22] <!-- Add any other context about the problem here. --
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.

Hi , I'm new to open source and would love to contribute to this
:+1:, no need to ask for permission. Issues labelled with or are open for contributions. My previous comment includes couple of links that should help with getting started and if you'd get stuck.
Hey It seems you have opened a pr on your own version of the repository. Do you mind opening it here instead? Have a nice day and happy coding
Hi I'm so sorry, hope I did it right this time!
Closed with
Change:
}: CompletedChallenge): DisplayType => { if (examResults) return 'showExamResults'; if (challengeFiles?.length) <del> return challengeType === challengeTypes.multifileCertProject || challengeType === challengeTypes.multifilePythonCertProject </del> <ins> return challengeType === challengeTypes.multifileCertProject </ins> ? 'showMultifileProjectSolution' : 'showUserCode'; if (!solution) return 'none';

Discussion:
After submitting one of the new multifile Python cert projects, when you try to view the project on your settings page - it shows a blank page (links are to .dev) to a a solution to down to the project you just submitted -blank page Either show the python code running, or just remove the button for those projects. !
Change:
"description": [ "Delete your <code>h2</code> element's <code>style</code> tag and write the CSS to make all <code>h2</code> elements blue.", "With CSS, there are hundreds of <code>CSS attributes</code> that you can use to change the way an element looks on a web page.", <del> "When you entered <code>&#60;h2 style="color: red"&#62;CatPhotoApp&#60;h2&#62;</code>, you were giving that individual h2 element an <code>inline style</code>", </del> <ins> "When you entered <code>&#60;h2 style="color: red"&#62;CatPhotoApp&#60;/h2&#62;</code>, you were giving that individual h2 element an <code>inline style</code>", </ins> "That's one way to add style to an element, but a better way is by using <code>Cascading Style Sheets (CSS)</code>.", "At the top of your code, create a <code>style tag</code> like this: <code>&#60;style&#62;&#60;/style&#62;</code>", "Inside that style element, you can create a <code>css selector</code> for all <code>h2</code> elements. For example, if you wanted all <code>h2</code> elements to be red, your style element would look like this: <code>&#60;style&#62;h2 {color: red;}&#60;/style&#62;</code>",

Discussion:
Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. What I see: You can apply a class to an HTML element like this: <h2 class="blue-text"CatPhotoApp<h2What I expected to see: You can apply a class to an HTML element like this: <h2 class="blue-text"CatPhotoApp</h2
Markdown's getting in the way, see screenshot. !
Change:
**Instructions:** Write a function `bubbleSort` which takes an array of integers as input and returns an array of these integers in sorted order from least to greatest. <del> **Note:** We are calling this function from behind the scenes; the test array we are using is commented out in the editor. Try logging `array` to see your sorting algorithm in action! </del> # --hints-- `bubbleSort` should be a function.

Discussion:
<!-- 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: The challenge description says there is not a commented out array there I wouldn't know how to change that other than deleting the paragraph entirely Add a Link to the page with the problem: Tell us about your browser and operating system: Browser Name: Google Chrome Browser Version: 87.0.4280.77 Operating System: iOS 14.1 If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
Description is wrong. Code placeholder was changed in - test array moved from comment to function call argument, but description stayed same without any edits.
This seems quite reasonable. I will open this up to first timers
An issue with the help wanted or first timers only label is open for contribution. The first comprehensive PR created will be reviewed and merged. If you would like to contribute, and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the
I would Like to contribute to your cause i am a first timer and have not yet worked in big project but i want to start by freecodecamp
thank you for wanting to contribute, this issue has already a linked PR. Take a look at other issues with label "first timers only" and "help wanted" that do not have already a linked PR
Change:
] ], "type": "hike", <del> "challengeType": 6 </del> <ins> "challengeType": 6, "id": "56b15f15632298c12f315185", "nameEs": "JavaScript Lingo: expresiones regulares (RegExp)", "descriptionEs": [ "Las RegExp no siguen el formato del resto de JS, y pueden requerir una curva de aprendizaje.", "Las epresiones regulares (abreviado <em>RegExp</em>) también pueden ser una herramienta muy útil y eficiente.", "Usando RegExp, puedes hacer coincidir, reemplazar, buscar y dividir una cadena, uno de los tipos más difíciles de manipular.", "Al igual que con todos los otros videos, no vamos a entrar en detalles, pero quiero mostrar algunos ejemplos donde las RegExp son útiles.", "Si quisieras crear una página de registro que verifique las contraseñas para que contengan al menos un número y una letra mayúscula, puedes usar expresiones regulares.", "Si quieres asegurarte de que las fechas introducidas en una página sean todas fechas válidas en el futuro, puedes usar RegExp.", "Si bien hay infinitas maneras de utilizar RegExp, muchas de estas incluyen validaciones o ediciones automáticas de información." ] </ins> } ] }

Discussion:
[ ] 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
Change:
"contents": [ "// Example", "var ourArray = ["Stimpson", "J", ["cat"]];", <del> "removedFromOurArray = ourArray.shift();", </del> <ins> "var removedFromOurArray = ourArray.shift();", </ins> "// removedFromOurArray now equals "Stimpson" and ourArray now equals ["J", ["cat"]].", "", "// Setup",

Discussion:
<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --I didn't know where to put this, but in this exercise the example code on line 3 does not define the removedFromOurArray variable with the var keyword. This causes the test to fail if the user follows the exercise explicitly and only changes the code below the commented line. I imagine this would be frustrating to new users. Browser Name: Chrome Browser Version: Version 66.0.3359.181 (Official Build) (64-bit) Operating System: Windows 10 !
Working on it
I think this would need to raised on the repo for learn: cc
Hi we may have created some confusion on where to create issues and PR Issues are welcome to opened on any repo you like learn or the main repo. We ( will take care of moving them around as needed. Just tag us (me, Stuart are actively checking these) when in doubt. But its fine to just report an not worry ! As for which repo to make a PR against: All of the challenge execution logic is now moved to the learn repo. That is to say, it has become our challenge platform. Its based on Gatsby, and is a simple static app.The challenge themselves (just the content, instructions, and the tests) are on the main repo. They are now published as a npm package. And used on learn as a dependency.The main repo, will just serve the welcome page, user settings and portfolio.
Thank you for the information. I am just a beginner student, so I’m sure I’ve done something stupid. I didn’t know where to put this, but thought I’d raise this as it confused me and I thought it would confuse others. Please move this to the correct place or delete if appropriate. Thank you.
its perfectly alright. Thanks for reporting issues. Please keep it up (on any repo you prefer)
Change:
return str.match(regex); } <del> --fcc-editable-region-- </del> function addEntry() { const targetInputContainer = document.querySelector(`#${entryDropdown.value} .input-container`); const entryNumber = targetInputContainer.querySelectorAll('input[type="text"]').length; const HTMLString = ` <ins> --fcc-editable-region-- </ins> <label>Entry ${entryNumber} Name</label>`; <ins> --fcc-editable-region-- </ins> } <del> --fcc-editable-region-- </del> ```

Discussion:
A camper on the forum was unable to pass the lesson this was their code the issue was here the tests only accept it if the label is on the next line like this see suggested fix down below about updating the editable regions see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I remembered this issue here where there were issues with the newlines So, I feel like an easier fix would be to just fix the editable regions Here should be the new fix:
I'm going to flag this one for first-timers only.
Change:
res.render('bonfire/show', { completedWith: null, title: bonfireName, <ins> name: bonfireName, </ins> difficulty: +bonfireDifficulty, brief: bonfireDescription[0], details: bonfireDescription.slice(1),

Discussion:
<!-- 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.
Change:
} } a, .input-group-addon, .challenge-instructions a, .challenge-instructions #MDN-links a { <del> color: #CCC; </del> <ins> color: #f8f8f8; </ins> } .fa-github-square { color: @brand-primary;

Discussion:
<!-- 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 --<!-- --<!-- Describe below when the issue happens and how to reproduce it --I love Night Mode when doing the challenges. However, I noticed that the contrast seemed a bit low. Running the WCAG Contrast Checker extension confirmed my belief. See screenshot below. Lightening up the foreground color would be beneficial to everyone. Thanks! <!-- Describe your workspace in which you are having issues--Browser Name, Version: Mozilla 52.0 Operating System: Windows 7 Mobile, Desktop, or Tablet: Desktop <!-- Add a screenshot of your issue --!
I'm happy to tackle this, if it's open! I just need to finish setting up my dev environment according to the contribution guidelines.
I have set up local FCC. I will be able to give it a shot by tonight unless hasn't done it already.
Hi, i have committed a . It passed WCAG luminosity as shown in the below screenshot. <img width="838" alt="screen shot 2017-03-21 at 10 41 47 pm" src=""
You beat me to it! This is an improvement, though. Thanks for making the site better.
Change:
```js const firstName = "Jessica"; <del> // returns 'a' </del> <ins> // returns "a" </ins> firstName[firstName.length - 1]; ```

Discussion:
We prefer to use double quotes for JavasScript string, so the following code examples should be updated to follow the convention:
This issue is open for contributions. The files that you should be updating are linked in the original post. We typically do not assign issues. Instead, we accept the most quality contribution followed by the one that is made first. Please make sure you read our as well as our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Happy contributing.
Change:
"Crea una función que acepte dos o más arreglos y que devuelva un arreglo conteniendo la diferenia simétrica entre ambos", "En Matemáticas, el término 'diferencia simétrica' se refiere a los elementos en dos conjuntos que están en el primer conjunto o en el segundo, pero no en ambos.", "Recuerda utilizar <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/FreeCodeCamp-Get-Help' target='_blank'>Read-Search-Ask</a> si te sientes atascado. Intenta programar en pareja. Escribe tu propio código." <ins> ], "titleIt": "Differenza simmetrica", "descriptionIt": [ "Crea una funzione che accetti due o più array e che ritorni un array contenente la <dfn>differenza simmetrica</dfn> (<code>&xutri;</code> o <code>&oplus;</code>) degli stessi.", "Dati due insiemi (per esempio l'insieme <code>A = {1, 2, 3}<code> e l'insieme <code>B = {2, 3, 4}</code>, il termine matematico "differenza simmetrica" di due insiemi è l'insieme degli elementi che sono in almeno uno dei due insiemi, ma non in entrambi (<code>A &xutri; B = C = {1, 4}</code>). Per ogni differenza simmetrica aggiuntiva che fai (per esempio su un insieme <code>D = {2, 3}</code>), devi prendere l'insieme degli elementi che sono in almeno uno dei due insiemi ma non in entrambi (<code>C &xutri; D = {1, 4} &xutri; {2, 3} = {1, 2, 3, 4}</code>).", "Ricorda di usare <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/FreeCodeCamp-Get-Help' target='_blank'>Leggi-Cerca-Chiedi</a> se rimani bloccato. Prova a programmare in coppia. Scrivi il codice da te." </ins> ] }, {

Discussion:
Advanced Algorithm Scripting () Translate the challenge Advanced Algorithm Scripting in Italian
I'll be working on this
Change:
# --description-- <del> Add `I accept the terms and conditions` text to the newly added label, then link the text `terms and conditions` to the following location: </del> <ins> Add the text `I accept the terms and conditions` immediately after the `input` element in the newly added label. Then link the text `terms and conditions` to the following location: </ins> ```md https://www.freecodecamp.org/news/terms-of-service/

Discussion:
The current instructions say: But they don't specifically say where the new text should be within the . If you add the text before the (with the anchor correctly to the text) then you get the following hint: This creates even more confusion since the anchor was correctly. I think these instructions are relying on the fact that the text for the radio buttons was after the and thus the assumption is that the text for the check box should also be after the . And I agree that usually the text for radio buttons/check boxes is placed after the , but this is not a requirement. Also, in step 26 when we have them add the text for the radio buttons, we explicitly say "immediately after the element", so it seems like this is important information to add. N/A Change the instructions to: I should have done better testing :slightlysmilingface: The tests don't care if there is a space between the and the text. We might also want to update the tests so it gives a better hint if they put the text before the . No response N/A No response
I like the proposed change in wording.
Please let me know if there are any other changes needed.
the issue is not marked as ready for contribution yet.
This issue has been around for a while and I'm still seeing it come up in the forums. Do we need any more discussion on this? Two things to fix in this PR: Update instructions to make it clear that the text comes after the Fix the test that is erroneously telling the user they need to add an anchor element when it is already there.
I don't think so, no. The requirements are nice and clear, thanks!