jiebi/CodeConvo huggingface dataset:
Change:
# --description-- <del> The `let` keyword allows a variable to be reassigned. This means you could change `character` later to be a completely different value. </del> <ins> Declaring a variable with the `let` keyword allows it to be reassigned. This means you could change `character` later to be a completely different value. </ins> For this project, you will not want to change these variable values. So instead, you should use `const` to declare them. `const` variables are special.

Discussion:
first discussed on the forum here: I had a concern about the starting sentence of step 26 of the js pyramid project here: It starts out with: "The let keyword allows a variable to be reassigned." which I think can be misinterpreted to mean that we can use the keyword to reassign a variable. I believe a reword to "Declaring a variable with the let keyword allows it to be reassigned." will be not as easy to misinterpret. N/A slight reword to instructions needed as per above No response N/A No response
Seems like a good change. This looks like 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: From: To: Please make sure you read 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. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.
Change:
} } .default-layout { <del> margin-top: 38px; } </del> <ins> margin-top: 34px; } </ins>  No newline at end of file

Discussion:
Navbar is not proper align in the curriculum page as compared to other pages. There is a white line coming below the navbar. ! ! <!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Browser Name: chrome Browser Version: 70.0.3538.67 (Official Build) (64-bit) Operating System: Ubuntu 18.04 LTS
I'll work on this
Have you gotten around?
Noup. Actually, when I ran the master branch locally, the bug was not there anymore.
Actually I'm able to see it. I can work on this!
That could be the offsetPlease check the relevant styles
Change:
```js const noWhiteSpace = __helpers.removeWhiteSpace(code); assert( <del> /constLOGIN=(['"`])LOGIN1/.test(noWhiteSpace) && /constLOGOUT=(['"`])LOGOUT1/.test(noWhiteSpace) </del> <ins> (/constLOGIN=(['"`])LOGIN1/.test(noWhiteSpace) && /constLOGOUT=(['"`])LOGOUT1/.test(noWhiteSpace)) || /const(LOGIN|LOGOUT)=(['"`])12,(?!1)(LOGIN|LOGOUT)=(['"`])34/.test(noWhiteSpace) </ins> ); ```

Discussion:
<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Affected page Expected behavior The following two code snippets are both correct and semantically equivalent js, but one passes all tests and the other does not. Either both should pass or both should fail. Passes: Fails: Declaring multiple comma separated const's fails this test: Your code Copy and paste the code from the editor that you used in between the back-ticks below: System (please complete the following information): Browser: Firefox 90.0b6
The test currently checks for two separate declarations. You can view it here - I think the regex can be updated to fix this.
I can grab this, if no one else is working on it.
Hi any issue with the help wanted or first timers only label is open for contribution. So yeah you can start working on it.
Change:
); ``` <del> `selectionSort` should return an array that is unchanged except for order. </del> <ins> `selectionSort([1,4,2,8,345,123,43,32,5643,63,123,43,2,55,1,234,92])` should return an array that is unchanged except for order. </ins> ```js assert.sameMembers(

Discussion:
The following challenges have an example function call in the seed code. These function calls should be removed and the related tests should be clarified to reflect the call instead. This sorting challenge is correct and could be used for reference.
Hi, nhcarrigan. I'd like to try to help and solve it. I'm still learning about the project so I would like to ask a question so I can understand the issue better. There is a function call in the file.. bubleSort([1,2,3....]) (example: implement-bubble-) ! And it should be removed from the seed section and transferred to here, similarly to implement-quick-sort: ! ! Is it correct or are there other files that I should be concerned about?
That is correct, yes - this same change should be completed on the four files I've linked. I would, however, recommend holding off on working on this until we receive additional consensus that this is the best way to proceed. If you run in to any questions, feel free to review our or ask in our or the .
Sounds great!! Thanks for the fast response. I will wait until further notice.
Hi MuriloMarquesSantos, are you still interested in fixing this issue?
Change:
```js const clearForm = code.split("function clearForm()")[1]; <del> assert.match(clearForm, /fors*(s*consts+containers+ofs+inputContainerss*)/); </del> <ins> assert.match(clearForm, /fors*(s*(const|let)s+containers+ofs+inputContainerss*)/); </ins> ``` Your `for...of` loop should set the `innerHTML` property of `container` to an empty string.

Discussion:
A camper on the forum was unable to pass with the following code: The tests are only checking for in the loop declaration That should be fixed to allow for or or declarations should be valid 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
Change:
This is what a Binary Search Tree looks like: <del> <img class="img-responsive center-block" alt="a binairy search tree" src="https://cdn.freecodecamp.org/curriculum/python/bst-example.png" style="background-color: white; height:500px; width:500px; padding: 10px;"> </del> <ins> <img class="img-responsive center-block" alt="a binary search tree" src="https://cdn.freecodecamp.org/curriculum/python/bst-example.png" style="background-color: white; height:500px; width:500px; padding: 10px;"> </ins> Begin by defining an empty `TreeNode` class. The `TreeNode` class represents a node in a binary search tree. Use the `pass` keyword to fill the class body and avoid an error.

Discussion:
There is an image in the challenge, and the text of the image has a typo: Fix the typo in the following file:
This issue is open to first-time code contributors to this repository. The file that you should be updating is linked in the original post. We typically do not assign issues. Instead, we accept the most quality contribution followed by the one that is made first. Please make sure you read our as well as our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Happy contributing.
Fixes Typo in step 1 of Building a Binary Search Tree
Change:
```js switch (expression) { case 1: <del> /* this code will execute if the case matches the expression */ </del> <ins> console.log("1"); </ins> break; default: <del> /* the default will execute if none of the other cases match the expression */ </del> <ins> console.log("Not 1"); </ins> } ``` <ins> In this example, the first `case` checks if `expression === 1`, and if so logs `1` to the console. If no cases are true, it will log `Not 1` to the console. The `break` statement stops execution of the `switch` when the `case` is true. </ins> Add a `switch` statement and use `e.target.value` for the expression. # --hints--

Discussion:
In the new JS curriculum I found a couple of example where comments have been inside code blocks in the challenge description. These comments are not translatable on Crowdin: We should avoid commenting code blocks or make those comments accessible from Crowdin
Change:
<h4>Make a one-time Bitcoin donation</h4> <p className='negative-15'> Our Bitcoin wallet is{' '} <del> <code>12skYi7aMCjDUdrVdoB3JjZ77ug8gxJfbL</code> </del> <ins> <code className='wallet'> 12skYi7aMCjDUdrVdoB3JjZ77ug8gxJfbL </code> </ins> </p> <h4>Make a one-time Ethereum donation</h4> <p className='negative-15'> Our Ethereum wallet is{' '} <del> <code>0x0ADbEf2471416BD8732cf0f3944294eE393CcAF5</code> </del> <ins> <code className='wallet'> 0x0ADbEf2471416BD8732cf0f3944294eE393CcAF5 </code> </ins> </p> <h4>Make a one-time Litecoin donation</h4> <p className='negative-15'> Our Litecoin wallet is{' '} <del> <code>LKu8UG8Z1nbTxnq9Do96PsC3FwbNtycf3X</code> </del> <ins> <code className='wallet'> LKu8UG8Z1nbTxnq9Do96PsC3FwbNtycf3X </code> </ins> </p> <h4>Make a one-time Bitcoin Cash donation</h4> <p className='negative-15'> Our Bitcoin Cash wallet is{' '} <del> <code>1EBxPEJWrGZWxe2UayyAsnd5VsRg5H9xfu</code> </del> <ins> <code className='wallet'> 1EBxPEJWrGZWxe2UayyAsnd5VsRg5H9xfu </code> </ins> </p> <hr /> <h3>Donate to freeCodeCamp by mailing us a check</h3>

Discussion:
Describe the bug Some pages overflow horizontally on mobile browsers. To Reproduce Steps to reproduce the behavior: a mobile with a small enough screen (i.e. iPhone 6/7/8 in the chrome dev console) to to scroll horizontally (it should not work) on 'Show other ways to donate' to scroll Expected behavior The browser should not let you scroll horizontally. Screenshots Donate: ! Also, the welcome page: ! Desktop (please complete the following information): OS: Linux Browser chrome Version 76.0.3809.87 Smartphone (please complete the following information): Device: Galaxy S6 OS: 7.0 Browser chrome Version 76.0.3809.111
This looks like it's fixed on .dev - want to give it a quick test
Still there, I'm afraid. The wallets are too long and cause overflow. I'll have a fix in a sec.
Change:
.price { text-align: right; <del> width: 25% </del> <ins> width: 25%; </ins> } --fcc-editable-region-- ```

Discussion:
.price { text-align: right; width: 25% } Line 156 of the file within the freeCodeCamp curriculum. Impact: While functionally harmless in modern browsers, adding the semicolon improves code consistency and maintainability. Discussion: The comments on the issue highlight: It's likely a typo since other CSS rules in the challenge have semicolons. While not strictly an error, adding the semicolon for consistency is recommended. to '' on 'Code Edit' down to 'Line 156' ; at last character The default code has not ; sign In css part It does look like a typo: ! ! Device: Laptop OS: Windows 11 Browser: edge Current Status: The issue is labeled as help wanted and type: bug. Multiple pull requests have been linked that might fix this issue: Update by sharabshrestha99 fix(curriculum): typo error on css file by brunades Additional Notes: A comment offers a reference for further details on semicolons in CSS:
it's not necessarily an error, the last rule doesn't need semicolon, but it could be for consistency yeah The list of files in which this is present is (44 files): I will open this for contribution.
Some additional context on last-rule semi-colons for those who might be interested: ! But I agree that omitting it is inconsistent with other steps and so it was likely a typo and we should fix it for consistency.
is this still open? I would like to contribute
hey 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.
Change:
"Los valores deben estar redondeados al número entero más próximo. El cuerpo orbitado es la Tierra", "El radio de la Tierra es 6367.4447 kilómetros, y el valor GM del planeta es de 398600.4418 km<sup>3</sup>s<sup>-2</sup>.", "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": "Mappa i detriti", "descriptionIt": [ "Ritorna un nuovo array che trasformi l'altitudine media degli elementi nel loro periodo orbitale.", "L'array conterrà oggetti in formato <code>{name: 'name', avgAlt: avgAlt}</code>.", "Puoi leggere riguardo i periodi orbitali <a href="http://en.wikipedia.org/wiki/Orbital_period" target='_blank'>su wikipedia</a>.", "I valori devono essere arrotondati al numero intero più vicino. Il corpo attorno a cui orbitano gli elementi è la Terra.", "Il raggio della Terra è di 6367.4447 kilometri, e il valore GM della Terra è di 398600.4418 km<sup>3</sup>s<sup>-2</sup>.", "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:
"dashedName": "bonfire-where-art-thou", "difficulty": "1.55", "description": [ <del> "Make a function that looks through a list (first argument) and returns an array of all objects that have equivalent property values (second argument).", </del> <ins> "Make a function that looks through an array (first argument) and returns an array of all objects that have equivalent property values (second argument).", </ins> "Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code." ], "challengeSeed": [

Discussion:
Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. The instruction on the bonfire says It might be better to reword this as array since in JavaScript there is nothing called list and also it might mean different thing in different context (Data Structures!). !
Change:
let x = 20; console.log(x); } <ins> myFunction(); </ins> ``` ## --answers--

Discussion:
The challenge or lesson asks the user to provide answer by looking at or by executing the sample code provided in front of him/her but the sample doesn't provide any output in console. When a user try that piece of code he/she should see an output in console. 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
Can I work on this and just add the myFunction(); at the end?
hi 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.
Ok, yes, it makes sense to add a function call in the code snippet. I'm opening this up for contributors to work on. This is the piece of code that needs to be changed: Please make sure you read 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. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.
Hi I'd like to work on this issue and submit a pull request to address it. This will be my first issue. I just wanted to know if the video-solution is correct on that page. Just seems to say '2'. Is that intentional or is it missing a zero. Either way I'll add the function call in the code snippet and send a merge req right away. Thanks!
Hey 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.
Change:
# --description-- <del> Continuing with the `meta` tags, a `viewport` definition tells the browser how to render the page. Including one betters visual accessibility on mobile, and improves _SEO_ (search engine optimisation). </del> <ins> Continuing with the `meta` elements, a `viewport` definition tells the browser how to render the page. Including one betters visual accessibility on mobile, and improves _SEO_ (search engine optimisation). </ins> Add a `viewport` definition with a `content` attribute detailing the `width` and `initial-scale` of the page.

Discussion:
related to In the new Responsive Design curriculum the words tag and element are used interchangebly The correct use should be element and tag (or at least, element is the whole thing, tag is the one that start with and end with and can be an opening tag, a closing tag or a self-closing tag). Should this be changed in the new curriculum?
Do we have many/any incorrect uses?
actually mostly not - there is some ambiguity with in the second step of the accessibility quiz I have been hasty
My concern was with these steps, which are about meta tags
That does look like something that should be standardised. Thank you, for listing them. I am opening this issue up for first timers only. The files that need changed are listed in the above reply. What needs changed There are a few uses of the word which should be changed to . Example Original: New: Note Not all uses of the word should be changed. Example: 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. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute, and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the
Hi - is it ok if i pick this up? First timer here
Change:
"</div>" ], "challengeType": 0, <del> "type": "waypoint" </del> <ins> "type": "waypoint", "nameEs": "Obtén JSON con el método getJSON de jQuery", "descriptionEs": [ "También puedes solicitar los datos de una fuente externa. Aquí es donde entran en juego las API. ", "Recuerda que las API - o interfaces de programación de aplicaciones - son herramientas que utilizan los ordenadores para comunicarse entre sí.", "La mayoría de las API para el web transfieren datos en un formato llamado JSON. JSON significa notación de objeto JavaScript (<em>JavaScript Object Notation</em>).", "Tú ya has usado JSON al crear objetos en JavaScript. JSON no es más que las propiedades del objeto y sus valores actuales, intercalados entre un <code>{</code> y un <code>}</code>. ", "Estas propiedades y sus valores a menudo se denominan " pares llave-valor".", "Vamos a obtener el JSON de la API de fotos de gato de Free Code Camp.", "Aquí está el código que puedes poner en tu evento de pulsación para lograrlo:", "<code>&nbsp;&nbsp;$.getJSON("/json/cats.json", function(json) {</code>", "<code>&nbsp;&nbsp;&nbsp;&nbsp;$(".message").html(JSON.stringify(json));</code>", "<code>&nbsp;&nbsp;});</code>", "Una vez lo añadas, pulsa el botón "Get Message". Su función Ajax sustituirá el texto "The message will go here" con la salida JSON en bruto de la API de fotos de gato de Free Code Camp." ] </ins> }, { "id": "bb000000000000000000003", <del> "title":  "Convert JSON Data to HTML", </del> <ins> "title": "Convert JSON Data to HTML", </ins> "description": [ "Now that we're getting data from a JSON API, let's display it in our HTML.", "We can use the <code>.forEach()</code> method to loop through our data and modify our HTML elements.",

Discussion:
[x] Trigger Click Events with jQuery [x] Change Text with Click Events [x] Get JSON with the jQuery getJSON Method [x] Convert JSON Data to HTML [x] Render Images from Data Sources [x] Prefilter JSON [x] Get Geo-location Data
Trabajando en esta
Change:
import Progress from '../../../components/Progress'; import GreenPass from '../../../assets/icons/green-pass'; import { Spacer } from '../../../components/helpers'; <ins> import { MAX_MOBILE_WIDTH } from '../../../../config/misc'; </ins> import './completion-modal.css'; import callGA from '../../../analytics/call-ga';

Discussion:
We are using the class to conditionally hide some text on mobile screens: This class comes from Bootstrap, which is something we are going to remove (). So instead of using the class, we can use an check, like this (which is also a little more consistent with how we've handled this kind of conditional rendering): Update the file to replace the class with an check. I noticed that we are using multiple methods for mobile device detection, so I think the check should be standardized, and there should be a shared util for this check. But I'm leaving this out of the scope of this issue, and will create a separate issue for it.
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 already have a pull request that technically resolves this. While it is done the same way we did the lower-jaw i.e checks for a desktop instead of being mobile , it does solve the problem and pass the tests.
Change:
"La función debe devolver la cadena de texto "Insufficient Funds" si el cid es menor al cambio requerido. También debe devolver "Closed" si el cid es igual al cambio", "De no ser el caso, devuelve el cambio en monedas y billetes, ordenados de mayor a menor denominación.", "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": "Cambio esatto", "descriptionIt": [ "Scrivi una funzione che simuli un registro di cassa chiamata <code>checkCashRegister()</code> che accetti il prezzo degli articoli come primo argomento (<code>price</code>), la somma pagata (<code>cash</code>), e la somma disponibile nel registratore di cassa (<code>cid</code>) come terzo argomento.", "<code>cid</code> è un array a due dimensioni che contiene la quantità di monete e banconote disponibili.", "Ritorna la stringa <code>"Insufficient Funds"</code> se la quantità di denaro disponibile nel registratore di cassa non è abbastanza per restituire il resto. Ritorna la stringa <code>"Closed"</code> se il denaro disponibile è esattamente uguale al resto.", "Altrimenti, ritorna il resto in monete e banconote, ordinate da quelle con valore maggiore a quelle con valore minore.", "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