Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 3 new columns ({'title', '_id', 'text'}) and 3 missing columns ({'query', 'pos', 'neg'}).

This happened while the json dataset builder was generating data using

hf://datasets/jiebi/CodeConvo/freeCodeCamp/c2i/dev/corpus.jsonl (at revision c2b8f63232065408d1c90f0148838dabc96b136c)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 623, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              _id: string
              title: string
              text: string
              to
              {'query': Value(dtype='string', id=None), 'pos': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'neg': Sequence(feature=Value(dtype='null', id=None), length=-1, id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1438, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1050, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1873, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 3 new columns ({'title', '_id', 'text'}) and 3 missing columns ({'query', 'pos', 'neg'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/jiebi/CodeConvo/freeCodeCamp/c2i/dev/corpus.jsonl (at revision c2b8f63232065408d1c90f0148838dabc96b136c)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

query
string
pos
sequence
neg
sequence
}; ``` <del> A request to `/api/:date?` with a valid date should return a JSON object with a `unix` key that is a Unix timestamp of the input date in milliseconds </del> <ins> A request to `/api/:date?` with a valid date should return a JSON object with a `unix` key that is a Unix timestamp of the input date in milliseconds (as type Number) </ins> ```js (getUserInput) =>
[ "The test requires that the value is of type Number. But you have to look at the example response given and realize it is a number and not a string. We do pretty often get forum posts about this so maybe this needs to be made more clear? Challenge:\nI feel like observing the behaviour of the demo API and figuring o...
[]
`button1` represents your first `button` element. These elements have a special property called `onclick`, which you can use to determine what happens when someone clicks that button. <del> You can access properties in JavaScript a couple of different ways. The first is with <dfn>dot notation</dfn>. Accessing the `onclick` property of a button would look like: </del> <ins> You can access properties in JavaScript a couple of different ways. The first is with <dfn>dot notation</dfn>. Here is an example of using dot notation to set the `onclick` property of a button to a function reference. </ins> ```js <del> button.onclick </del> <ins> button.onclick = myFunction; </ins> ``` <ins> In this example, `button` is the button element, and `myFunction` is a reference to a function. When the button is clicked, `myFunction` will be called. </ins> Use dot notation to set the `onclick` property of your `button1` to the function reference of `goStore`. Note that `button1` is already declared, so you don't need to use `let` or `const`. # --hints--
[ "We still have a lot of confusion on the forum about step 41 I think adding a code example of what they need to do will help. Here is my proposed update to the step. js button.onclick = myFunction; ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10...
[]
**Examples** ```js <del> 5 > 3 7 > '3' 2 > 3 '1' > 9 </del> <ins> 5 > 3 // true 7 > '3' // true 2 > 3 // false '1' > 9 // false </ins> ``` <del> In order, these expressions would evaluate to `true`, `true`, `false`, and `false`. </del> # --instructions-- Add the greater than operator to the indicated lines so that the return statements make sense.
[ "The student has to go all the way down up to the explanation \"In order, these expressions would evaluate to true, false, true, and true.\" to realize what the result of the operations is. My suggestion is that the second section of the code should look like this: 1 == 1 // true 1 == 2 // false 1 == '1' // true \"...
[]
# --instructions-- <del> Build `myStr` over several lines by concatenating these two strings: `This is the first sentence. ` and `This is the second sentence.` using the `+=` operator. Use the `+=` operator similar to how it is shown in the editor. Start by assigning the first string to `myStr`, then add on the second string. </del> <ins> Build `myStr` over several lines by concatenating these two strings: `This is the first sentence. ` and `This is the second sentence.` using the `+=` operator. Use the `+=` operator similar to how it is shown in the example. Start by assigning the first string to `myStr`, then add on the second string. </ins> # --hints--
[ "The challenge instructions says \"Use the <code+=</codeoperator similar to how it is shown in the editor.\", but the seed code is empty It should mention the example instead of the editor. This needs the change of one word, as such I am opening this issue to first timers. This is the challenge And its related file...
[]
Camper Cat has a search field on his Inspirational Quotes page that he plans to position in the upper right corner with CSS. He wants the search `input` and submit `input` form controls to be the first two items in the tab order. Add a `tabindex` attribute set to `1` to the `search` `input`, and a `tabindex` attribute set to `2` to the `submit` `input`. <ins> Another thing to note is that some browsers may place you in the middle of your tab order when an element is clicked. An element has been added to the page that ensures you will always start at the beginning of your tab order. </ins> # --hints-- Your code should add a `tabindex` attribute to the `search` `input` tag.
[ "Describe your problem and how to reproduce it: The info for the challenge said that.. And the challenge is.. However, after I put on the both the input and the button, then I press \"TAB\" it isn't the first thing that is selected! In fact, it's not even selected! And I had successfully finished the course. Also, ...
[]
<br /> <br /> **Projects**: [Timestamp Microservice](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/timestamp-microservice), [Request Header Parser](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/request-header-parser-microservice), [URL Shortener](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/url-shortener-microservice), [Exercise Tracker](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/exercise-tracker), [File Metadata Microservice](https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/file-metadata-microservice) #### 6. Quality Assurance Certification <del> - [Quality Assurance and Testing with Chai](https://learn.freecodecamp.org/information-security-and-quality-assurance/quality-assurance-and-testing-with-chai) - [Advanced Node and Express](https://learn.freecodecamp.org/information-security-and-quality-assurance/advanced-node-and-express) </del> <ins> - [Quality Assurance and Testing with Chai](https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-and-testing-with-chai/) - [Advanced Node and Express](https://www.freecodecamp.org/learn/quality-assurance/advanced-node-and-express/) </ins> <br /> <br /> **Projects**: [Metric-Imperial Converter](https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-projects/metric-imperial-converter), [Issue Tracker](https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-projects/issue-tracker), [Personal Library](https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-projects/personal-library), [Sudoku Solver](https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-projects/sudoku-solver), [American British Translator](https://www.freecodecamp.org/learn/quality-assurance/quality-assurance-projects/american-british-translator) #### 7. Scientific Computing with Python Certification - [Introduction to Python for Everybody](https://learn.freecodecamp.org/scientific-computing-with-python/python-for-everybody)
[ "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 c...
[]
You should add a `forEach` loop that iterates through the `platforms` array. ```js <del> assert.match(code, /elses+ifs*(.*)s*{s*platforms.forEach(s*((s*platforms*)|platform)s*=>s*{s*(.*?)s*}s*)s*;?/); </del> <ins> assert.match(code, /elses+ifs*(.*)s*{s*platforms.forEach(s*((s*platforms*)|platform)s*=>s*{?s*(.*?)s*}?s*)s*;?/); </ins> ``` You should use the addition assignment operator to add 5 to the platform's `x` position. ```js <del> assert.match(code, /platforms.forEach(s*((s*platforms*)|platform)s*=>s*{s*platform.position.xs*+=s*5s*;?s*}s*)s*;?/); </del> <ins> assert.match(code, /platforms.forEach(s*((s*platforms*)|platform)s*=>s*{?s*platform.position.xs*+=s*5s*;?s*}?s*)s*;?/); </ins> ``` # --seed--
[ "Implicitly returning the callback passed into won't pass the test. This should pass at least for this step, and the following step as well. I found out later that curly brackets are missed here. The hint/error message is also not helpful here because the code provided above does exactly what the hint asks campers ...
[]
- text: Your code should use the <code>filter</code> method. testString: assert(code.match(/.filter/g)); - text: Your code should not use a <code>for</code> loop. <del> testString: assert(!code.match(/fors*?(.+?)/g)); </del> <ins> testString: assert(!code.match(/fors*?([sS]*?)/g)); </ins> - text: '<code>filteredList</code> should equal <code>[{"title": "Inception","rating": "8.8"},{"title": "Interstellar","rating": "8.6"},{"title": "The Dark Knight","rating": "9.0"},{"title": "Batman Begins","rating": "8.3"}]</code>.' testString: 'assert.deepEqual(filteredList, [{"title": "Inception","rating": "8.8"},{"title": "Interstellar","rating": "8.6"},{"title": "The Dark Knight","rating": "9.0"},{"title": "Batman Begins","rating": "8.3"}]);'
[ "<!-- 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: I identified three challenges where the for loop validation does not work if newlines are used in the arguments. Add a Link to the page wit...
[]
"Por ejemplo, pairwise([1, 4, 2, 3, 0, 5], 7) debe devolver 11 porque 4, 2, 3 y 5 pueden ser emparejados para obtener una suma de 7", "pairwise([1, 3, 2, 4], 4) devolvería el valor de 1, porque solo los primeros dos elementos pueden ser emparejados para sumar 4. ¡Recuerda que el primer elemento tiene un índice de 0!", "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": "A coppie", "descriptionIt": [ "Dato un array <code>arr</code>, trova le coppie di elementi la cui somma è uguale al secondo argomento passato <code>arg</code>. Ritorna quindi la somma dei loro indici.", "Se ci sono più coppie possibili che hanno lo stesso valore numerico ma indici differenti, ritorna la somma degli indici minore. Una volta usato un elemento, lo stesso non può essere riutilizzato per essere accoppiato con un altro.", "Per esempio <code>pairwise([7, 9, 11, 13, 15], 20)</code> ritorna <code>6</code>. Le coppia la cui somma è 20 sono <code>[7, 13]</code> e <code>[9, 11]</code>. Possiamo quindi osservare l'array con i loro indici e valori.", "<table class="table"><tr><th><b>Indice</b></th><th>0</th><th>1</th><th>2</th><th>3</th><th>4</th></tr><tr><td>Valore</td><td>7</td><td>9</td><td>11</td><td>13</td><td>15</td></tr></table>", "Qui sotto prendiamo gli indici corrispondenti e li sommiamo.", "7 + 13 = 20 &#8594; Indici 0 + 3 = 3<br>9 + 11 = 20 &#8594; Indici 1 + 2 = 3<br>3 + 3 = 6 &#8594 Ritorna <code>6</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> ] } ]
[ "Advanced Algorithm Scripting () Translate the challenge Advanced Algorithm Scripting in Italian\nI'll be working on this" ]
[]
challenge => challenge.id === challengeId ); <del> const breadcrumbs = document.querySelector('.breadcrumbs-demo'); showCodeAlly && breadcrumbs?.remove(); </del> return showCodeAlly ? ( <LearnLayout> <Helmet title={`${blockName}: ${title} | freeCodeCamp.org`} />
[ "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...
[]
"<span class='text-info'>Bonus User Story:</span>As a user, I can click a button to see a random Wikipedia entry.", "<span class='text-info'>Bonus User Story:</span>As a user, when I type in the search box, I can see a dropdown menu with autocomplete options for matching Wikipedia entries.", "<span class='text-info'>Hint:</span> Here's an entry on using Wikipedia's API: <code>http://www.mediawiki.org/wiki/API:Main_page</code>.", <del> "Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try using <a href='http://api.jquery.com/jquery.each/'>jQuery's $.getJSON()</a> to consume APIs.", </del> <ins> "Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try using <a href='http://api.jquery.com/jquery.getjson/'>jQuery's $.getJSON()</a> to consume APIs.", </ins> "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.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>" ],
[ "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 ;)...
[]
import '../Donation.css'; const propTypes = { <del> getValidationState: PropTypes.func.isRequired </del> <ins> getValidationState: PropTypes.func.isRequired, theme: PropTypes.string </ins> }; const style = { base: { <del> color: '#0a0a23', </del> fontSize: '18px' } };
[ "Describe the bug ! The input text on the darkmode version of the donate page () are not readable so you cannot see what you are typing. To Reproduce Steps to reproduce the behavior: to '' with darkmode enabled. on the input labled 'Your Card Number:' and enter some numbers. entered input is not readable as the col...
[]
"assert(typeof((new MotorBike()).seats) === 'number', '<code>seats</code> should be have a <code>engines</code> attribute set to a number.');" ], "challengeSeed":[ <del> "// Let's add the properties engine and seats to the car in the same way that the property wheels has been added below. They should both be numbers.", </del> <ins> "// Let's add the properties engines and seats to the car in the same way that the property wheels has been added below. They should both be numbers.", </ins> "var Car = function() {", " this.wheels = 4;", " this.engines = 1;",
[ "Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. the instructions call for a property of engine, the test is looking for engines. <img width=\"1043\" alt=\"screen shot 2015-08-18 at 12 49 26 pm\" src=\"\"" ]
[]
# --description-- <del> Your first building looks pretty good now. Let's make some more! Nest three new `div` elements in the `background-buildings` container and give them the classes of `bb2`, `bb3`, and `bb4` in that order. These will be three more buildings for the background. </del> <ins> Your first building looks pretty good now. Nest three new `div` elements in the `background-buildings` container and give them the classes of `bb2`, `bb3`, and `bb4` in that order. These will be three more buildings for the background. </ins> # --hints--
[ "In step 18 of building a skyline project, there is a text that go against This should be deleted Here is the markdown file 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. Someti...
[]
}, parameterHints: { enabled: false <del> } </del> <ins> }, tabSize: 2 </ins> }; this._editor = null;
[ "This is pretty minor, and I'm not sure if it's in our control. But if you go to any challenge that has the built in code editor. Pressing tab adds four spaces to the code. It would be nice to switch that to two if possible. I think two spaces is the standard, but perhaps it's just my preference.\nAgree\nIt's an op...
[]
If your ternary is falsy, it should display the string `N/A`. ```js <del> assert.match(code, /s*<ps*>s*Nickname:s*${s*nicknames*(?:!==s*null)?s*?s*nicknames*:s*('|"|`)N/A1}s*</p>s*/) </del> <ins> assert.match(code, /s*<ps*>s*Nickname:s*${s*nicknames*(?:!==s*null)?s*?s*nicknames*:s*('|"|`)N/A1s*}s*</p>s*/) </ins> ``` # --seed--
[ "A camper was unable to pass the test with either of the following answers The issue had to deal with spacing after the This has to be fixed because they got the correct answer 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...
[]
- text: All elements from the first array should be added to the second array in their original order. testString: assert.deepEqual(frankenSplice([1, 2, 3, 4], [], 0), [1, 2, 3, 4]); - text: The first array should remain the same after the function runs. <del> testString: assert(testArr1[0] === 1 && testArr1[1] === 2); </del> <ins> testString: frankenSplice(testArr1, testArr2); assert.deepEqual(testArr1, [1, 2]); </ins> - text: The second array should remain the same after the function runs. <del> testString: assert(testArr2[0] === "a" && testArr2[1] === "b"); </del> <ins> testString: frankenSplice(testArr1, testArr2); assert.deepEqual(testArr2, ["a", "b"]); </ins> ```
[ "<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --JavaScript Algorithms and Data Structures -Basic Algorithm Scripting: Slice and Splice problem description The instruction for this challenge says \"The input arrays should remain the sa...
[]
<ins> /* global expect */ import { transformEditorLink } from '../utils'; describe('create-question-epic', () => { describe('transformEditorLink', () => { const links = [ { input: 'https://some-project.camperbot.repl.co', expected: 'https://replit.com/@camperbot/some-project' }, { input: 'https://some-project.glitch.me/', expected: 'https://glitch.com/edit/#!/some-project' }, { input: 'https://github.com/user/repo-name', expected: 'https://github.com/user/repo-name' } ]; it('should correctly transform app links to editor links', () => { links.forEach(link => { expect(transformEditorLink(link.input)).toStrictEqual(link.expected); }); }); it('should not transform editor links in GitHub submission', () => { links.forEach(link => { expect(transformEditorLink(link.expected)).toStrictEqual(link.expected); }); }); }); }); </ins>
[ "In , if a user has submitted a project link, it will display the project's working view instead of the source code. I am not so sure adding the solution links as is currently functioning is helping much. See . Instead of showing the final project link, it would be more useful to show the source code link. In the l...
[]
color: var(--text-color-tertiary); } <ins> @media screen and (max-width: 768px) { .markdown-section { max-width: 90%; padding: 40px 15px 40px 15px; } } </ins> /****** CODE HIGHLIGHTING ******/ .token.string { color: #42b983;
[ "<!-- 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 --Describe your problem and how to reproduce it: Viewing Documentation in mobile vie...
[]
The `meta` tag should set the `charset` to `UTF-8`. ```js <del> assert(document.querySelector('meta').getAttribute('charset') === 'UTF-8'); </del> <ins> assert(document.querySelector('meta').getAttribute('charset')?.toLowerCase() === 'utf-8'); </ins> ``` Your code should have a `title` element.
[ "The value for is case-insensitive. Not sure if I missed any, but here are case-sensitive ones I found. Case sensitive curriculumchallengesenglish14-responsive-web-design-22learn-accessibility-by-building-a-quiz Case sensitive curriculumchallengesenglish14-responsive-web-design-22learn-css-animation-by-building-a-f...
[]
state[ns].projectFormValues || {}; export const challengeDataSelector = state => { <del> const { theme } = userSelector(state); </del> const { challengeType } = challengeMetaSelector(state); let challengeData = { challengeType }; if (
[ "I did not see anyone raising this issue, but I don't think the background of the preview in default or night mode should be anything other than white unless the coding exercise specifically changes the background to something else. The preview should be exactly what you would see in a browser. In almost all the ch...
[]
# --hints-- <del> Your `html` element should be below the `DOCTYPE` declaration. </del> <ins> Your `DOCTYPE` declaration should be at the beginning of your HTML. </ins> ```js <del> assert(code.match(/(?<!<htmls*>)<!DOCTYPEs+htmls*>/gi)); </del> <ins> assert(__helpers.removeHtmlComments(code).match(/^s*<!DOCTYPEs+htmls*>/i)); </ins> ``` Your `html` element should have an opening tag.
[ "Several. One example is The hint for this step seems to indicate that the user must add the element below the (there must be at least one new line separating them). Hint: \"Your element should be below the declaration.:\" So the expected behavior would be that the user will not pass this step until they add the el...
[]
<ins> --- title: Use the d3.max and d3.min Functions to Find Minimum and Maximum Values in a Dataset --- ## Use the d3.max and d3.min Functions to Find Minimum and Maximum Values in a Dataset This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/data-visualization/data-visualization-with-d3/use-the-d3.max-and-d3.min-functions-to-find-minimum-and-maximum-values-in-a-dataset/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>. <a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>. <!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds --> </ins>
[ "<!-- 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: Link to the guide on the challenge Data Visualization: Data Visualization with D3: Use the and Functions to Find Minimum and Maximum Values...
[]
"users"), 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: {}}], "data")` should return `true`. </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: {}}], "data")` should return `true`. </ins> ```js assert.strictEqual(truthCheck(
[ "<!-- 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 ...
[]
ROLLBAR_CLIENT_ID='post_client_id from rollbar dashboard' ALGOLIA_ADMIN_KEY=123abc <del> ALGOLIA_APP_ID='Algolia app id from dashboard' ALGOLIA_API_KEY='Algolia api key from dashboard' </del> <ins> ALGOLIA_APP_ID=X5V7KWJ4RB ALGOLIA_API_KEY=a45d2b80c97479bbda5cf5c55914230f </ins> AUTH0_CLIENT_ID=stuff AUTH0_CLIENT_SECRET=stuff
[ "Is your feature request related to a problem? Please describe. Without Algolia keys a contributor cannot use the search feature on their local machine, limiting their ability to contribute in this area. Describe the solution you'd like The documentation should include instructions on how to get keys or set up a 'm...
[]
CROWDIN_API_URL: 'https://freecodecamp.crowdin.com/api/v2/' CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_CURRICULUM }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }} <ins> - name: Unhide Title of Use && For a More Concise Conditional uses: ./tools/crowdin/actions/unhide-specific-string with: filename: 'react/use--for-a-more-concise-conditional.md' string-content: 'Use &amp;&amp; for a More Concise Conditional' env: CROWDIN_API_URL: 'https://freecodecamp.crowdin.com/api/v2/' CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_CURRICULUM }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }} </ins>
[ "The challenge title of challenge Use && for a More Concise Conditional is not translatable on Crowdin ! (the greyed out text is for not translatable strings) An other challenge where the title is translatable ! this is the link for crowdin file: markdown file for the challenge:\nmind taking a look?\nI have manuall...
[]
Now you need to create a `draw` method for the `CheckPoint` class. <del> Inside the `draw` method, add a `fillStyle` property to the `ctx` object and set it to `"#f1be32"`. </del> <ins> Inside the `draw` method, assign the `fillStyle` property on the `ctx` object the hex color `"#f1be32"`. </ins> Below the `fillStyle` property, use the `fillRect` method on the `ctx` object and pass in the `x`, `y`, `width`, and `height` properties as arguments.
[ "in step 98 of the platformer game, there are a couple of small issues that can be fixed. 1- the check is too strict for spaces because it doesn't accept this code: Note the extra space between the word draw and the parenthesis. Without the extra space, the code is accepted. For the second issue, the wording used i...
[]
terms = [] for n, coefficient in self.coefficients.items(): if not coefficient: <del> coefficient </del> <ins> continue </ins> --fcc-editable-region-- if n == 0: terms.append(f'{coefficient:+}')
[ "I have completed this, but noticed there is an error in the code which doesn't seem to cause any problems during the lessons. In lesson 20 we use an if statement (seen in the first code block below) and the action is . This stays the same in steps 21 through 25. However from steps 26 onwards has been replaced by a...
[]
# --description-- <del> Now your `showAnimation()` function is set up. But if you look closely at your `checkUserInput()` function, you'll notice that it's not very DRY – you're calling `parseInt()` to convert `numberInput.value` into a number several times. </del> <ins> Now your `showAnimation()` function is set up. But if you look at your `checkUserInput()` function, you'll notice that it is calling `parseInt()` to convert `numberInput.value` into a number several times. </ins> <del> A simple way to fix this is to create a new variable to store the converted number. Then you only have to convert the number once and can use it throughout the function. </del> <ins> This is generally a poor practice, for reasons like performance concerns or even just the fact that you'd have to change your logic in multiple places to update the `parseInt()` call. To fix this, create a new variable to store the converted number. Then you only have to convert the number once and can use it throughout the function. </ins> Create a new variable called `inputInt` and assign it the number converted from `numberInput.value`.
[ "Step 77 of the decimal to binary converter project (js beta) says this: Now your showAnimation() function is set up. But if you look closely at your checkUserInput() function, you'll notice that it's not very DRY – you're calling parseInt() to convert into a number several times. I don't think the DRY acronym was ...
[]
] ], "type": "hike", <del> "challengeType": 6 </del> <ins> "challengeType": 6, "nameEs": "JavaScript Lingo: MDN y Documentación", "descriptionEs": [ "Esta es una introducción básica a MDN y el concepto de la documentación.", "MDN, Mozilla Developer Network, es una fantástica colaboración de fuentes abiertas que documenta no sólo JavaScript, sino muchos otros lenguajes y temas. Si no has oído hablar de ellos, deberías darles un vistazo ahora. Personalmente obtengo mucha información de developer.mozilla.org/en-US/docs/Web/JavaScript ", "Cuando digo documentación, estoy hablando acerca de la información que se proporciona sobre el producto a sus usuarios. La documentación de MDN no necesariamente está escrita por la gente detrás de JS. Brendan Eich creó JS en 1995, pero hoy en día el proyecto continúa creciendo gracias a un esfuerzo comunitario. ", "A medida que continúes aprendiendo JavaScript, jQuery, y prácticamente cualquier otro lenguaje o servicio para desarrollo o programación, la documentación será tu amiga.", "Cuanto más rápido te sientas cómodo leyendo y referenciando documentación, más rápido crecerás como desarrollador.", "Estos vídeos no van a enseñarte JavaScript - te presentan términos y conceptos que serán valiosos a medida que continúes practicando y aprendiendo." ] </ins> }, { "id": "56b15f15632298c12f31518d",
[ "[ ] 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 [ ...
[]
"Crea una función que devuelva el número total de permutaciones de las letras en la cadena de texto provista, en las cuales no haya letras consecutivas repetidas", "Por ejemplo, 'aab' debe retornar 2 porque, del total de 6 permutaciones posibles, solo 2 de ellas no tienen repetida la misma letra (en este caso 'a').", "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": "Niente ripetizioni, per favore", "descriptionIt": [ "Ritorna il numero totale di permutazioni della stringa passata che non hanno lettere consecutive riptetute. Assumi che tutti i caratteri nella stringa passata siano unici.", "Per esempio, <code>aab</code> deve ritornare 2, perchè la stringa ha 6 permutazioni possibili in totale (<code>aab</code>, <code>aab</code>, <code>aba</code>, <code>aba</code>, <code>baa</code>, <code>baa</code>), ma solo 2 di loro (<code>aba</code> e <code>aba</code>) non contengono la stessa lettera (in questo caso <code>a</code> ripetuta).", "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> ] }, {
[ "Advanced Algorithm Scripting () Translate the challenge Advanced Algorithm Scripting in Italian\nI'll be working on this" ]
[]
<strong>User Story:</strong> I can see whether freeCodeCamp is currently streaming on Twitch.tv. <strong>User Story:</strong> I can click the status output and be sent directly to the freeCodeCamp's Twitch.tv channel. <strong>User Story:</strong> if a Twitch user is currently streaming, I can see additional details about what they are streaming. <del> <strong>Hint:</strong> See an example call to Twitch.tv's JSONP API at <a href='http://forum.freecodecamp.org/t/use-the-twitchtv-json-api/19541' target='_blank'>http://forum.freecodecamp.org/t/use-the-twitchtv-json-api/19541</a>. <strong>Hint:</strong> The relevant documentation about this API call is here: <a href='https://dev.twitch.tv/docs/v5/reference/streams/#get-stream-by-user' target='_blank'>https://dev.twitch.tv/docs/v5/reference/streams/#get-stream-by-user</a>. </del> <ins> <strong>Hint:</strong> The relevant documentation about Twitch.tv's JSON API is here: <a href='https://dev.twitch.tv/docs/api/reference/#get-streams' target='_blank'>https://dev.twitch.tv/docs/api/reference/#get-streams</a>. </ins> <strong>Hint:</strong> Here's an array of the Twitch.tv usernames of people who regularly stream: <code>["ESL_SC2", "OgamingSC2", "cretetion", "freecodecamp", "storbeck", "habathcx", "RobotCaleb", "noobs2ninjas"]</code> <del> <strong>UPDATE:</strong> Due to a change in conditions on API usage explained <a href='https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843#.f8hipkht1' target='_blank'>here</a> Twitch.tv now requires an API key, but we've built a workaround. Use <a href='https://wind-bow.glitch.me' target='_blank'>https://wind-bow.glitch.me/twitch-api</a> instead of twitch's API base URL (i.e. https://api.twitch.tv/kraken ) and you'll still be able to get account information, without needing to sign up for an API key. </del> <ins> <strong>UPDATE:</strong> Due to a change in conditions on API usage, Twitch.tv requires an API key, but we've built a workaround. Use <a href='https://wind-bow.glitch.me' target='_blank'>https://wind-bow.glitch.me/helix</a> instead of twitch's API base URL (i.e. https://api.twitch.tv/helix ) and you'll still be able to get account information, without needing to sign up for an API key. </ins> Remember to use <a href='http://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask</a> if you get stuck. When you are finished, click the "I've completed this challenge" button and include a link to your CodePen. You can get feedback on your project by sharing it with your friends on Facebook.
[ "The current Twitch Tv API v5 is deprecated and will be completely replaced by the end of 2018. Just an FYI so the challenge may be updated to the new API or new challenge proposed.\nthanks for bringing to this our attention! The doesn't suggest using the API directly, but instead to use a workaround we've implemen...
[]
# --hints-- <del> You should declare an `addEntry` variable. ```js assert.isDefined(addEntry); ``` Your `addEntry` variable should be a function. </del> <ins> You should declare an `addEntry` function. </ins> ```js assert.isFunction(addEntry);
[ "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 \...
[]
h3 { font-size: 1rem; } <ins> .btn-cta { font-size: 1.2rem; } </ins> } .text-center {
[ "The font size for the CTA could use similar breakpoints for the h1, h2. and set to 1.2 - 1.3 rem !\nI'd like to work on this.\ncan i?\nWhere is this button?" ]
[]
Fulfill the user stories and pass all the tests below to complete this project. Give it your own personal style. Happy Coding! <ins> **Note:** Be sure to add `<link rel="stylesheet" href="styles.css">` in your HTML to link your stylesheet and apply your CSS </ins> # --hints-- You should have a `main` element with an `id` of `main-doc`.
[ "With the new format, a lot of people are not linking their css files to the HTML document. It is coming up a lot on the forum. Especially for those that are going through the Legacy curriculum. I think we should add a message underneath the sample projects, to remember to link the CSS file. Proposed change: Rememb...
[]
"testString": "assert(code.match(/.reduce/g), 'Your code should use the <code>reduce</code> method.');" }, { <del> "text": "The <code>averageRating</code> should equal 8.675.", "testString": "assert(averageRating == 8.675, 'The <code>averageRating</code> should equal 8.675.');" </del> <ins> "text": "The <code>averageRating</code> should equal 8.52.", "testString": "assert(averageRating == 8.52, 'The <code>averageRating</code> should equal 8.52.');" </ins> }, { "text": "Your code should not use a <code>for</code> loop.",
[ "<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Browser Name: Firefox Browser Version: 60.0.2 (up-to-date) Operating System: macOS High Sierra, v10.13.5 <img width=\"407\" alt=\"screen shot 2018-06-13 at 11 16 17\" src=\"https://user-...
[]
assert.equal(document.querySelector('.dessert-card')?.children[1].className, 'dessert-price'); ``` <del> Your first `p` element should have the text of the `price` variable with a dollar sign in front of it. </del> <ins> Your first `p` element should have the dollar sign `"$"` followed by the value of the `price` variable. </ins> ```js assert.equal(document.querySelector('.dessert-card')?.children[1].textContent, '$12.99');
[ "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 w...
[]
addTranslation, deleteTranslation, getLanguageTranslations, <del> deleteLanguageTranslations </del> <ins> deleteLanguageTranslations, changeHiddenStatus </ins> };
[ "<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Affected page Your code Copy and paste the code from the editor that you used in between the back-ticks below: Expected behavior Text with the example code is not translatable - which is...
[]
The `fieldset` element is used to group related inputs and labels together in a web form. `fieldset` elements are <dfn>block-level elements</dfn>, meaning that they appear on a new line. <del> Nest the `Indoor` and `Outdoor` radio buttons within a `fieldset` element, and don't forget to indent the buttons. </del> <ins> Nest the `Indoor` and `Outdoor` radio buttons within a `fieldset` element, and don't forget to indent the radio buttons. </ins> # --hints--
[ "The instruction looks kinda confusing. The word can be replaced by . ! <!-- Please complete the following information. --- Device: Laptop OS: Windows 10 Browser: firefox Version: 98.0.1 (64-bit) <!-- Add any other context about the problem here. --\nYeah - I see what you mean here. While it's implicit and really a...
[]
<ins> --- title: Improve Compatibility with Browser Fallbacks --- ## Improve Compatibility with Browser Fallbacks <!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds --> We need to add a fallback to the ```background``` property of the ```.black-box`` class. ### Example ```css :root { --black-color: black; } .black-box { background: var(--black-color); width: 100px; height: 100px; } ``` ## Solution Add a fallback to the ```background``` property before the existing background declaration: ```css :root { --black-color: black; } .black-box { background: black; background: var(--black-color); width: 100px; height: 100px; } ``` </ins>
[ "redirects to the wrong Guide article URL, causing a 404.\nI would like to do this. Can you assign this to me?\nSure - thanks for volunteering to tackle this. Yes - please keep me posted on your progress :)\nIt is the 'Get a hint' button on the page. Probably needs a stub to avoid the 404.\nis contributing to the g...
[]
lambda x: expr ``` <del> In the example above, `x` is a parameter to be use in the expression `expr`. Create a `test` variable and assign it a lambda function that takes an `x` parameter and returns `x * 2`. </del> <ins> In the example above, `x` is a parameter to be used in the expression `expr`. Create a `test` variable and assign it a lambda function that takes an `x` parameter and returns `x * 2`. </ins> # --hints--
[ "I noticed a typo in the instructions for Step 11 for The typo is in the line I think the word should be I know it's a bit pedantic, but this is so... N/A N/A No response Device: HP Laptop OS: Windows 10 Browser:Firefox Version: 122.0 No response" ]
[]
const challengeTitles = new ChallengeTitles(); const validateChallenge = challengeSchemaValidator(); <del> describe('Assert meta order', function () { /** This array can be used to skip a superblock - we'll use this * when we are working on the new project-based curriculum for * a superblock (because keeping those challenges in order is * tricky and needs cleaning up before deploying). */ const superBlocksUnderDevelopment = [ '2022/javascript-algorithms-and-data-structures' ]; const superBlocks = new Set([ ...Object.values(meta) .map(el => el.superBlock) .filter(el => !superBlocksUnderDevelopment.includes(el)) ]); superBlocks.forEach(superBlock => { const filteredMeta = Object.values(meta) .filter(el => el.superBlock === superBlock) .sort((a, b) => a.order - b.order); if (!filteredMeta.length) { return; } it(`${superBlock} should have the same order in every meta`, function () { const firstOrder = getSuperOrder(filteredMeta[0].superBlock, { showNewCurriculum: process.env.SHOW_NEW_CURRICULUM </del> <ins> if (!process.env.npm_config_block) { describe('Assert meta order', function () { /** This array can be used to skip a superblock - we'll use this * when we are working on the new project-based curriculum for * a superblock (because keeping those challenges in order is * tricky and needs cleaning up before deploying). */ const superBlocksUnderDevelopment = [ '2022/javascript-algorithms-and-data-structures' ]; const superBlocks = new Set([ ...Object.values(meta) .map(el => el.superBlock) .filter(el => !superBlocksUnderDevelopment.includes(el)) ]); superBlocks.forEach(superBlock => { const filteredMeta = Object.values(meta) .filter(el => el.superBlock === superBlock) .sort((a, b) => a.order - b.order); if (!filteredMeta.length) { return; } it(`${superBlock} should have the same order in every meta`, function () { const firstOrder = getSuperOrder(filteredMeta[0].superBlock, { showNewCurriculum: process.env.SHOW_NEW_CURRICULUM }); assert.isNumber(firstOrder); assert.isTrue( filteredMeta.every( el => getSuperOrder(el.superBlock, { showNewCurriculum: process.env.SHOW_NEW_CURRICULUM }) === firstOrder ), 'The superOrder properties are mismatched.' ); </ins> }); <del> assert.isNumber(firstOrder); assert.isTrue( filteredMeta.every( el => getSuperOrder(el.superBlock, { showNewCurriculum: process.env.SHOW_NEW_CURRICULUM }) === firstOrder ), 'The superOrder properties are mismatched.' ); }); filteredMeta.forEach((meta, index) => { it(`${meta.superBlock} ${meta.name} must be in order`, function () { assert.equal(meta.order, index); </del> <ins> filteredMeta.forEach((meta, index) => { it(`${meta.superBlock} ${meta.name} must be in order`, function () { assert.equal(meta.order, index); }); </ins> }); }); }); <del> }); </del> <ins> } </ins> describe(`Check challenges (${lang})`, function () { this.timeout(5000);
[ "The instructions are here: But, using for the practice projects will always result in a meta order error: <details<summaryOutput Testing Penguing Project</summary<pre<codeblock being tested: learn-css-transforms-by-building-a-penguin 1 passing (21ms) 1 failing 1) Check challenges Assert meta order 2022/responsive-...
[]
## Here are some quick and fun ways you can help the community. <del> - <span class='cover-icon'><i class="fas fa-question-circle"></i></span> [Help by answering coding questions](https://forum.freecodecamp.org/c/help?max_posts=1) on our community forum. </del> <ins> - <span class='cover-icon'><i class="fas fa-question-circle"></i></span> [Help by answering coding questions](https://forum.freecodecamp.org) on our community forum. </ins> - <span class='cover-icon'><i class="fas fa-comments"></i></span> [Give feedback on coding projects](https://forum.freecodecamp.org/c/project-feedback?max_posts=1) built by campers. - <span class='cover-icon'><i class="fas fa-language"></i></span> [Help us translate](https://translate.freecodecamp.org) these Contributing Guidelines. - <span class='cover-icon'><i class="fab fa-github"></i></span> [Contribute to our open source codebase](/index?id=our-open-source-codebase) on GitHub.
[ "Describe your problem and how to reproduce it: There is a bad link on the page. The link to 'help by answering coding questions' takes you to which says \"Oops! That page doesn’t exist or is private.\" Add a Link to the page with the problem: Recommended fix, suggestions (how would you update it?): I tried looking...
[]
<div> {/* Change code below this line */} <h1>Active Users: </h1> <del> {/* Change code below this line */} </del> <ins> {/* Change code above this line */} </ins> </div> ); }
[ "<!-- 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: Load challenge. Observe that there are two instances of \"{/ Change code below this line /}\". The second should be {/ Change code above th...
[]
<ins> import React from 'react'; const scripts = [ <script async='' src='https://www.googletagmanager.com/gtag/js?id=AW-795617839' /> ]; export default scripts; </ins>
[ "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." ]
[]
}; function showCompletion() { <ins> ga('send', 'event', 'Bonfire', 'solved', bonfireName + ', Time: ' + (Math.floor(Date.now() / 1000) - started) +', Attempts: ' + attempts); </ins> $('#complete-bonfire-dialog').modal('show'); } No newline at end of file
[ "<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --In the challenge CSS Flexbox: Use the flex-wrap Property to Wrap a Row or Column, the value wrap-reverse is defined: wrap-reverse: \"wraps items from right-to-left if they are in a row, ...
[]
"tests": [ "assert(quotient === 2.2, 'message: The variable <code>quotient</code> should equal <code>2.2</code>');", "assert(/4.40*s*/s*2.*0*/.test(code), 'message: You should use the <code>/</code> operator to divide 4.4 by 2');", <del> "assert(code.match(/quotient/g).length === 3, 'message: The quotient variable should only be assigned once');" </del> <ins> "assert(code.match(/quotient/g).length === 1, 'message: The quotient variable should only be assigned once');" </ins> ], "type": "waypoint", "challengeType": 1,
[ "<!-- 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 Dec...
[]
```js <del> const largestPrimeFactor = (number)=>{ </del> <ins> const largestPrimeFactor = (number) => { </ins> let largestFactor = number; <del> for(let i = 2;i<largestFactor;i++){ if(!(largestFactor%i)){ largestFactor = largestFactor/i; largestPrimeFactor(largestFactor); } </del> <ins> for (let i = 2; i <= Math.sqrt(largestFactor); i++) { if (!(largestFactor % i)) { let factor = largestFactor / i; let candidate = largestPrimeFactor(factor); return i > candidate ? i : candidate; } </ins> } return largestFactor; } ```
[ "<!-- 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 last test times out on the given problem and needs to either be removed or replaced with a smaller number. Add a Link to the page with ...
[]
## Description <section id='description'> Besides GET, there is another common HTTP verb, it is POST. POST is the default method used to send client data with HTML forms. In REST convention, POST is used to send data to create new items in the database (a new user, or a new blog post). You don’t have a database in this project, but you are going to learn how to handle POST requests anyway. <del> In these kind of requests, the data doesn’t appear in the URL, it is hidden in the request body. This is a part of the HTML request, also called payload. Since HTML is text-based, even if you don’t see the data, it doesn’t mean that it is secret. The raw content of an HTTP POST request is shown below: </del> <ins> In these kind of requests, the data doesn’t appear in the URL, it is hidden in the request body. The body is a part of the HTTP request, also called the payload. Even though the data is not visible in the URL, this does not mean that it is private. To see why, look at the raw content of an HTTP POST request: </ins> ```http POST /path/subpath HTTP/1.0
[ "Describe your problem and how to reproduce it: The challenge says: It should be “HTTP request”, not “HTML request”. Also I don’t get the point in the third sentence “Since HTML is text-based, even if you don’t see the data, it doesn’t mean that it is secret”. What does HTML being text-based have to do with not see...
[]
import ToolPanel from './Tool-Panel'; import TestSuite from './Test-Suite'; <del> import { challengeTestsSelector } from '../redux'; </del> <ins> import { challengeTestsSelector, isChallengeCompletedSelector } from '../redux'; </ins> import { createSelector } from 'reselect'; import './side-panel.css'; const mapStateToProps = createSelector( <ins> isChallengeCompletedSelector, </ins> challengeTestsSelector, <del> tests => ({ </del> <ins> (isChallengeCompleted, tests) => ({ isChallengeCompleted, </ins> tests }) );
[ "In the new beta (currently at ), it would be great if a challenge page indicated somehow when the challenge has already been completed. Currently, since user inputed code is not saved, there is no indication on a challenge page that it has already been completed.\nWe need a check mark in the title or a badge or to...
[]
<br /> <br /> **Projects**: [Mean-Variance-Standard Deviation Calculator](https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-projects/mean-variance-standard-deviation-calculator), [Demographic Data Analyzer](https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-projects/demographic-data-analyzer), [Medical Data Visualizer](https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-projects/medical-data-visualizer), [Page View Time Series Visualizer](https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-projects/page-view-time-series-visualizer), [Sea Level Predictor](https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-projects/sea-level-predictor) #### 9. Information Security Certification - [Information Security with HelmetJS](https://learn.freecodecamp.org/information-security/information-security-with-helmetjs)
[ "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 c...
[]
A <code>version</code> is one of the required fields of your package.json file. This field describes the current version of your project. Here's an example: ```json <del> "version": "1.2", </del> <ins> "version": "1.2.0", </ins> ``` </section>
[ "I noticed this while looking at another issue. Glitch is giving me an error when using version \"1.0\" in my file. It only seems to work when I use a third number: \"1.0.0\" - I'm not sure if this has always been the case since I don't think it threw this error in the past. But suggests to use a two digit version....
[]
"<code>});</code>" ], "tests":[ <del> "assert.deepEqual(array, [1,2,3,4], 'message: You should have removed all the values from the array that are greater than 4.');", </del> <ins> "assert.deepEqual(array, [1,2,3,4,5], 'message: You should have removed all the values from the array that are greater than 5.');", </ins> "assert(editor.getValue().match(/array.filters*(/gi), 'message: You should be using the filter method to remove the values from the array.');", "assert(editor.getValue().match(/[1,2,3,4,5,6,7,8,9,10]/gi), 'message: You should only be using <code>.filter</code> to modify the contents of the array.');" ],
[ "Assignment: Let's remove all the values greater than five Assert: You should have removed all the values from the array that are greater than 4. problem arises if user includes 5 in result set" ]
[]
Are you interested in contributing to our open source projects used by nonprofits? <del> Also, check out https://www.freecodecamp.org/contribute/ for some fun and convenient ways you can contribute to the community. </del> <ins> Also, check out https://contribute.freecodecamp.org/ for some fun and convenient ways you can contribute to the community. </ins> Happy coding,
[ "I got all the certs on .dev and got this email... ! The link should be updated to" ]
[]
```js var ourStr = "I come first. " + "I come second."; <del> // ourStr is "I come first. I come second." </del> <ins> // ourStr is "I come first. I come second." </ins> ``` </section>
[ "<!-- 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: Example on the page has a double space instead of a single. var ourStr = \"I come first.\" + \"I come second.\" // ourStr is \"I come first...
[]
<section id="description"> Sass中的<code>@if</code>指令对于测试特定情况很有用 - 它就像JavaScript中的<code>if</code>语句一样。 <blockquote> @mixin make-bold($ bool){ <br> @if $ bool == true { <br> font-weight:bold; <br> } <br> } </blockquote>就像在JavaScript中一样, <code>@else if</code>和<code>@else</code>测试更多条件: <blockquote> @mixin text-effect($ val){ <br> @if $ val == danger { <br>红色; <br> } <br> @else if $ val == alert { <br>颜色:黄色; <br> } <br> @else if $ val == success { <br>颜色:绿色; <br> } <br> @else { <br>颜色:黑色; <br> } <br> } </blockquote></section> ## Instructions <del> <section id="instructions">创建一个名为<code>border-stroke</code>的<code>mixin</code> ,它接受一个参数<code>$val</code> 。 <code>mixin</code>应使用<code>@if</code> , <code>@else if</code>和<code>@else</code>检查以下条件: <blockquote>光 - 1px纯黑色<br>中等 - 3px纯黑色<br>重 - 6px纯黑色<br>没有 - 没有边界</blockquote></section> </del> <ins> <section id="instructions">创建一个名为<code>border-stroke</code>的<code>mixin</code> ,它接受一个参数<code>$val</code> 。 <code>mixin</code>应使用<code>@if</code> , <code>@else if</code>和<code>@else</code>检查以下条件: <blockquote>光 - 1px纯黑色<br>中等 - 3px纯黑色<br>重 - 6px纯黑色 </blockquote> 如果<code>$val</code>不是<code>light</ code>,<code>medium</code>,或者<code>heavy</code>,则边框应该设置为<code>none</code>。 </section> </ins> ## Tests <section id='tests'>
[ "<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Issue Description Following the given instructions. The test will fail for the border-stroke($val) { $val === light { border: 1px solid black; } if $val === medium { border: 3px solid bl...
[]
overflow-y: auto; scrollbar-width: auto; /* lang menu should always be full height */ <del> height: 19.9rem; </del> } /* main menu must be at least as tall as lang menu (when displayed)
[ "The language selection menu is not intuitive about the no. of available options. It's a bit paradoxical at the moment: You will not notice additional options until you start scrolling while being on top of the options. You will not start scrolling until you know there are additional options. to '/learn' on 'Menu' ...
[]
"<div class='hidden-xs row media-stories'>" + "<div class='media'>" + "<div class='media-left'>" + <del> "<a href='/'" + data[i].author.username + "'>" + </del> <ins> "<a href='/" + data[i].author.username + "'>" + </ins> "<img class='img-news' src='" + data[i].author.picture + "'/>" + "</a>" + "</div>" +
[ "Task no. 7, says: \"You can view the portfolio pages of any camper who has posted links or comments on Camper News. Just click on their photo.\" However, clicking a photo simply licks back to the homepage. Clicking their username links to their profile. So the instruction needs to be updated.\nThank you for findin...
[]
Now you can start the code to fight monsters. To keep your code organized, your `fightDragon` function has been moved for you to be near the other `fight` functions. <del> Below your `weapons` array, define a `monsters` variable and assign it an array. Set that array to have three objects, each with a `name`, `level`, and `health` property. The first object's values should be `slime`, `2`, and `15`, in order. The second should be `fanged beast`, `8`, and `60`. The third should be `dragon`, `20`, and `300`. </del> <ins> Below your `weapons` array, define a `monsters` variable and assign it an array. Set that array to have three objects, each with a `name`, `level`, and `health` properties. The first object's values should be `slime`, `2`, and `15`, in order. The second should be `fanged beast`, `8`, and `60`. The third should be `dragon`, `20`, and `300`. </ins> # --hints--
[ "There is a typo in Step 108, the word is single while it should be . Here is the typo in step 102, there is a missing code block in this line it should be this in step 81, there are three missing code blocks in these line they should be If you would like to fix this issue, please make sure you read , we prioritize...
[]
Create a rule that targets both `.one` and `.two` and increase their `blur` effect by 1 pixel. <del> Here's an example of a rule that increases the `blur` of two elements: ```css h1, p { filter: blur(3px); } ``` </del> # --hints-- <del> You should have a `.one, .two` selector. </del> <ins> You should have a `.one, .two` selector list. </ins> ```js const oneTwo = new __helpers.CSSHelp(document).getStyle('.one, .two');
[ "It would make more sense for step 34 to have the filter syntax example, instead of it showing up in the next step. Explain and show the syntax. 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]\nYes, that totally needs to be do...
[]
title, description, superBlock, <ins> block, </ins> translationPending } },
[ "Describe your problem and how to reproduce it: In the challenges/projects that don't use editor, link text at the top in the contain some additional text, for example Challenges that have editor on page don't seem to have this problem. Add a Link to the page with the problem: If possible, add a screenshot here (yo...
[]
<label>Do you have any questions:</label> </div> <div class="answer"> <del> <textarea rows="5" cols="24"> Who is flexbox... </textarea> </del> <ins> <textarea rows="5" cols="24" placeholder="Who is flexbox..."></textarea> </ins> </div> --fcc-editable-region-- </div>
[ "<!-- 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 final instructions for this step say: \"Then, give the placeholder text describing an example answer.\" Since the instruc...
[]
export default function hardGoToEpic(action$, _, { location }) { return action$.pipe( ofType(types.hardGoTo), <del> tap(({ payload = HOME_PATH }) => { </del> <ins> tap(({ payload }) => { </ins> location.href = payload; }), ignoreElements()
[ "While Gatsby allows us to create globals in we also make use of for that purpose. We should DRY this out and use one ( seems the best). See" ]
[]
"description": [ "<code>data structures</code> have <code>properties</code>. For example, <code>strings</code> have a property called <code>.length</code> that will tell you how many characters are in the string.", "For example, if we created a variable <code>var firstName = "Charles"</code>, we could find out how long the string "Charles" is by using the <code>firstName.length</code> property.", <del> "Use the <code>.length</code> property to count the number of characters in the <code>lastNameLength</code> variable." </del> <ins> "Use the <code>.length</code> property to count the number of characters in the <code>lastName</code> variable." </ins> ], "tests": [ "assert((function(){if(typeof(lastNameLength) !== "undefined" && typeof(lastNameLength) === "number" && lastNameLength === 8){return(true);}else{return(false);}})(), 'lastNameLength should be equal to eight.');",
[ "Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. The last paragraph: Should read:" ]
[]
assert.equal(allSongs[1].duration, "4:15"); ``` <del> The second object in your `allSongs` array should have an `src` property set to the string `"https://cdn.freecodecamp.org/curriculum/js-music-player/can't-stay-down.mp3"`. </del> <ins> The second object in your `allSongs` array should have a `src` property set to the string `"https://cdn.freecodecamp.org/curriculum/js-music-player/can't-stay-down.mp3"`. </ins> ```js assert.equal(allSongs[1].src, "https://cdn.freecodecamp.org/curriculum/js-music-player/can't-stay-down.mp3");
[ "I noticed that we are using both \"a attribute\" and \"an attribute\" in challenge descriptions. And we even use both in the same challenge (): <img width=\"596\" alt=\"Screenshot 2024-05-21 at 22 44 29\" src=\"\"I think both are acceptable, since the articles depend on how we pronounce \"src\" (\"es-ar-see\" vs \...
[]
// eval test string to actual JavaScript // This return can be a function // i.e. function() { assert(true, 'happy coding'); } <del> // eslint-disable-next-line no-eval const test = eval(testString); </del> <ins> const testPromise = new Promise((resolve, reject) => // To avoid race conditions, we have to run the test in a final // document ready: $(() => { try { // eslint-disable-next-line no-eval const test = eval(testString); resolve({ test }); } catch (err) { reject({ err }); } }) ); const { test, err } = await testPromise; if (err) throw err; </ins> if (typeof test === 'function') { await test(e.getUserInput); }
[ "<!-- 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: your code 'Run the Tests' it passes all your tests, again click on 'Run the Tests' time, it will show an error. Add a Link to the page with...
[]
}; const StepPreview = ({ <del> disableIframe }: Pick<PreviewProps, 'disableIframe'>) => { </del> <ins> disableIframe, previewMounted }: Pick<PreviewProps, 'disableIframe' | 'previewMounted'>) => { </ins> return ( <Preview className='full-height'
[ "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 ...
[]
while (done !== count) { done++; rows.push(padRow(done, count)); <del> if (done === count) { </del> <ins> if (done === count) { </ins> continueLoop = false; } }
[ "In the JS Beta project to build a pyramid gen., steps 82 and 83 both show an if statement block in the code editor that is not correctly indented within the while loop it is in. This may confuse new learners if they are relying on the indents to understand the logic and should be fixed to keep the presented code i...
[]
When you use the `relative` value, the element is still positioned according to the normal flow of the document, but the `top`, `left`, `bottom`, and `right` values become active. <del> Instead of `static`, give you `.cat-head` a position of `relative`, and leave both `top` and `left` properties as they are. </del> <ins> Instead of `static`, give your `.cat-head` a position of `relative`, and leave both `top` and `left` properties as they are. </ins> # --hints--
[ "Here's the last paragraph in the instructions: Notice that where is says \"... give you .cat-head...\" should actually be \"... give your .cat-head ...\" N/A N/A ! Device: Laptop OS: Windows 10 Browser: Chrome Version: 116.0.5845.111 Didn't see a better way to report a spelling issue directly from the website.\nTh...
[]
import { certMap } from '../../resources/cert-and-project-map'; import { completedChallengesSelector } from '..'; import { <ins> certTypes, certTypeIdMap } from '../../../../config/certification-settings'; import { </ins> updateUserFlagComplete, updateUserFlagError, validateUsernameComplete,
[ "Describe the bug I have completed the necessary requirements to get the Legacy Full Stack Certification, whenever I click on the claim certification button, it displays nothing, leaving the page as it is, I emailed the support team about this, they agreed i've fulfilled the requirements to get Legacy Full Stack ce...
[]
<section id='solution'> ```js <del> // solution required </del> <ins> const createPerson = (name, age, gender) => { "use strict"; return { name, age, gender }; }; </ins> ``` </section>
[ "<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --1) Add any code into the challenge field (other than a valid solution) that will not result in a syntax error. 2) Run the tests Expected result: The test should fail Actual result: The t...
[]
This demonstrates an unusual property of 142857: it is a divisor of its right-rotation. <del> Find the last 5 digits of the sum of all integers $n$, $10 &lt; n &lt; 10100$, that have this property. </del> <ins> For integer number of digits $a$ and $b$, find the last 5 digits of the sum of all integers $n$, $10^a &lt; n &lt; 10^b$, that have this property. </ins> # --hints-- <del> `numberRotations()` should return `59206`. </del> <ins> `numberRotations(2, 10)` should return `98311`. </ins> ```js <del> assert.strictEqual(numberRotations(), 59206); </del> <ins> assert.strictEqual(numberRotations(2, 10), 98311); ``` `numberRotations(2, 100)` should return `59206`. ```js assert.strictEqual(numberRotations(2, 100), 59206); </ins> ``` # --seed--
[ "The 100 should be a superscript in the last line of this challenge. N/A Should say We may also consider better mathematical formatting? No response All No response\nSeems like it has been like this for a while: I will open this up to first timers. The expected fix is to use MathJax (KaTeX-like) to render the follo...
[]
} .video-quiz-options { <del> background-color: var(--tertiary-background); </del> <ins> background-color: var(--primary-background); </ins> } /* remove bootstrap margin here */
[ "<img width=\"492\" alt=\"Screen Shot 2020-05-28 at 1 29 28 PM\" src=\"https://user-\"<img width=\"511\" alt=\"Screen Shot 2020-05-28 at 1 28 37 PM\" src=\"https://user-\"<hr<img width=\"518\" alt=\"Screen Shot 2020-05-28 at 1 53 35 PM\" src=\"https://user-\"\nthanks for catching the code blocks in the answer secti...
[]
} button { <del> outline: none; </del> cursor: pointer; text-decoration: none; background-color: var(--light-yellow);
[ "The default CSS provided for the Calorie Counter in step 1 has the property set to for the element. I'm going to assume this was just an oversight, and not because you all are trying to cause me an early death by raising my blood pressure. Remove the property completely from the element. No response N/A No respons...
[]
```js const meta = [...document.querySelectorAll('meta')]; <del> const target = meta?.find(m => !m?.getAttribute('name') && !m?.getAttribute('content') && m?.getAttribute('charset') === 'UTF-8'); </del> <ins> const target = meta?.find(m => !m?.getAttribute('name') && !m?.getAttribute('content') && m?.getAttribute('charset')?.toLowerCase() === 'utf-8'); </ins> assert.exists(target); ```
[ "The value for is case-insensitive. Not sure if I missed any, but here are case-sensitive ones I found. Case sensitive curriculumchallengesenglish14-responsive-web-design-22learn-accessibility-by-building-a-quiz Case sensitive curriculumchallengesenglish14-responsive-web-design-22learn-css-animation-by-building-a-f...
[]
<del> require('dotenv').config(); </del> <ins> const env = require('../config/env'); </ins> const { createFilePath } = require('gatsby-source-filesystem');
[ "Is there any reason not to put the real and in ? I reflexively put in a dummy key when I set this up, but now that I revisit this, that seems like a mistake.\nYes, actually it broke the .dev build unsurprisingly , I think noticed it and reported in the team chat. My bad for not catching this previously. The real f...
[]
"Create an <code>ordered list</code> of the the top 3 things cats hate the most.", "HTML has a special element for creating ordered lists, or numbered-style lists.", "Ordered lists start with a <code>&#60;ol&#62;</code> element. Then they contain some number of <code>&#60;li&#62;</code> elements.", <del> "For example: <code>&#60;ol&#62;&#60;li&#62;hydrogen&#60;/li&#62;&#60;li&#62;helium&#60;/li&#62;&#60;ol&#62;</code> would create a numbered list of "hydrogen" and "helium"." </del> <ins> "For example: <code>&#60;ol&#62;&#60;li&#62;hydrogen&#60;/li&#62;&#60;li&#62;helium&#60;/li&#62;&#60;/ol&#62;</code> would create a numbered list of "hydrogen" and "helium"." </ins> ], "tests": [ "assert($('ul').length > 0, 'You should have an <code>ul</code> element on your webpage.')",
[ "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\"CatPhot...
[]
"knip": "npx -y knip@1 --include files", "knip:all": "npx -y knip@1", "prelint": "pnpm run -F=client predevelop", <del> "lint": "npm-run-all create:shared -p lint:*", </del> <ins> "lint": "NODE_OPTIONS="--max-old-space-size=7168" npm-run-all create:shared -p lint:*", </ins> "lint:challenges": "cd ./curriculum && pnpm run lint", "lint:js": "eslint --cache --max-warnings 0 .", "lint:ts": "tsc && tsc -p shared && tsc -p api",
[ "Linting fails on local environment in some cases. Issue did not reproduce on GitPod. update-email to the root directory Execution fails with the message under Linting should be successful No response Device: Macbook Air M2 OS: MacOSThis issue was originally raised in Discord: Thread created with the full error log...
[]
"description": [ "Sometimes you want to add <code>a</code> elements to your website before you know where they will link.", "This is also handy when you're changing the behavior of a link using <code>jQuery</code>, which we'll learn about later.", <del> "Replace your <code>a</code> element's <code>href</code> attribute with a <code>#</code>, also known as a hash symbol, to turn it into a dead link." </del> <ins> "Replace the value of your <code>a</code> element's <code>href</code> attribute with a <code>#</code>, also known as a hash symbol, to turn it into a dead link." </ins> ], "tests": [ "assert($("a").attr("href") === "#", 'Your <code>a</code> element should be a dead link with a <code>href</code> attribute set to "#".')"
[ "Says: Replace your a element's href attribute with a #, also known as a hash symbol, to turn it into a dead link. I think it is kind of unclear - would potentially be better as \"Replace the value of your a element's....\" Tripped me up at first. Submitting a pull request for the change" ]
[]
export function getGuideUrl({ forumTopicId, title = '' }) { title = encodeURIComponent(title); return forumTopicId <del> ? `${forumLocation}/t/${forumTopicId}` </del> <ins> ? `https://forum.freecodecamp.org/t/${forumTopicId}` </ins> : `${forumLocation}/search?q=${title}%20in%3Atitle%20order%3Aviews`; }
[ "Now it points to a Chinese forum post and shows nothing when people click \"Get a Hint\" button in the challenge of Chinese curriculum, for example, (). <!-- A clear and concise description of what you want to happen. --We may translate the hints into Chinese and other languages on Crowdin.\nIt should be possible ...
[]
## Description <section id='description'> <del> Now you've seen all the basic operations for JavaScript objects. You can add, modify, and remove key-value pairs, check if keys exist, and iterate over all the keys in an object. As you continue learning JavaScript you will see even more versatile applications of objects. Additionally, the optional Advanced Data Structures lessons later in the curriculum also cover the ES6 <dfn>Map</dfn> and <dfn>Set</dfn> objects, both of which are similar to ordinary objects but provide some additional features. Now that you've learned the basics of arrays and objects, you're fully prepared to begin tackling more complex problems using JavaScript! </del> <ins> Now you've seen all the basic operations for JavaScript objects. You can add, modify, and remove key-value pairs, check if keys exist, and iterate over all the keys in an object. As you continue learning JavaScript you will see even more versatile applications of objects. Additionally, the Data Structures lessons located in the Coding Interview Prep section of the curriculum also cover the ES6 <dfn>Map</dfn> and <dfn>Set</dfn> objects, both of which are similar to ordinary objects but provide some additional features. Now that you've learned the basics of arrays and objects, you're fully prepared to begin tackling more complex problems using JavaScript! </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. --In \"\" it mentions: I do not see those lessons anywhere. Is there an hidden module somewhere I don't know of? Or is that text that is a legacy of the previous curriculum? Browser Name: ...
[]
.night .landing-page #top-right-nav li > a, .night #top-right-nav li > span { color: #fff; } <ins> .night .landing-page a { color: #006400; } .night .landing-page a:hover { color: #001800; } </ins> /* End night mode override */ .black-text {
[ "<!-- 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: At the moment, the clickable area of footer links are spanning the full width of their parent div. I'm not sure if this is on purpose, but ...
[]
# --description-- <del> Start your `HTMLString` with a new line, then create a `label` element. Give that element the text `Entry # Name`, using your template literal syntax to replace `#` with the value of `entryNumber`. </del> <ins> Inside your template literal, create a `label` element and give it the text `Entry # Name`. Using your template literal syntax, replace `#` with the value of `entryNumber`. </ins> # --hints-- <del> Your `HTMLString` variable should start with a new line. ```js assert.match(code, /HTMLStrings*=s*`n/); ``` You should add a `label` element on the new line. </del> <ins> You should have a `label` element inside your template literal. </ins> ```js assert.match(code, /HTMLStrings*=s*`ns*<label>.*</label>/);
[ "The test for Step 44 does not pass as it should when the user creates a newline with a newline literal, and not by pressing the enter key on their keyboard and making the string extend by a line. The challenge should report successful, as the created label has a newline before it. ! ! Device: Desktop, Arch linux, ...
[]
## --text-- <del> What Python library has the `.read_html()` method we can we use for parsing HTML documents and extracting tables? </del> <ins> What Python library has the `.read_html()` method we can use for parsing HTML documents and extracting tables? </ins> ## --answers--
[ "! the sentence needs to be fixed removing the second \"we\" 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 instructi...
[]
- Seed the database ```bash <del> pnpm run seed </del> <ins> pnpm run seed:certified-user </ins> ``` - Develop the server and client
[ "I had a facepalm moment when I was working on a set of Playwright tests. The tests passed locally but failed in CI, and turned out I was seeding my DB with demo user () while we seed CI with certified user (): The failure was expected then, because the tests were working with different user data. I'm now wondering...
[]
## --text-- <del> Which of the following describes the affect of a `using` statement? </del> <ins> Which of the following statements is true about showing/removing the curly braces for code blocks associated with an `if` statement? </ins> ## --answers-- <del> Affects only the first code block in the code file. </del> <ins> The curly braces can't be removed from the code block for `else if` and `else` statements. </ins> --- <del> Affects only the current code block in the code file. </del> <ins> If the curly braces are removed from the code blocks of an `if-elseif-else`, the white space must also be removed. </ins> --- <del> Affects all of the code in the code file. </del> <ins> Always choose a style that improves readability. </ins> ## --video-solution--
[ "The \"Control Variable Scope and Logic Using Code Blocks in C#\" in the \"Add Logic to C# Console Applications\" has an question that doesn't really feel quite right for this section. The question is \"Which of the following describes the affect of a statement?\". The thing is statements aren't covered in the foun...
[]
# --description-- <del> Arrays have a `.some()` method. Like the `.filter()` method, `.some()` accepts a callback function which should take an element of the array as the argument. The `.some()` method will return `true` if the callback function returns `true` for at least one element in the array. Here is an example of a `.some()` method call to check if any element in the array is an uppercase letter. ```js const arr = ["A", "b", "C"]; arr.some(letter => letter === letter.toUpperCase()); ``` </del> Add a `someeven` property to your `spreadsheetFunctions` - use the `.some()` method to check if any element in the array is even. # --hints--
[ "In the building a spam filter project's step 's instructions, we are told: \"Remember that arrays have a .some() method. \" However, we cannot remember as it was not taught. In fact it is not actually taught until step 100 of the building a spreadsheet project as far as I'm aware: I suggest that the part of lesson...
[]
"challenges": [ { "id": "bb000000000000000000001", <del> "title": "Trigger Click Events with jQuery", </del> <ins> "title": "Trigger Click Events with jQuery", </ins> "description": [ "In this section, we'll learn how to get data from APIs. APIs - or Application Programming Interfaces - are tools that computers use to communicate with one another.", "We'll also learn how to update HTML with the data we get from these APIs using a technology called Ajax.",
[ "[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\nTrabajando en esta" ]
[]
"lint:ts": "tsc && tsc -p config && tsc -p tools/ui-components && tsc -p utils && tsc -p api", "lint:prettier": "prettier --list-different .", "reload:server": "pm2 reload api-server/ecosystem.config.js", <ins> "preseed": "npm-run-all create:*", </ins> "seed": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seed-demo-user", "seed:certified-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seed-demo-user certified-user", "serve:client": "cd ./client && pnpm run serve",
[ "In chapter, we have files that run scripts when the is finished, it use and for this, we can do the same here to solve the issues related to installing needed files, copy and stuff a like, and provide a easier way to setup the curriculum for newer developers. This should stop issues which these PRs try to solve, l...
[]
return true; } }))).some(v => v); <ins> console.error = oldConsoleError; </ins> assert(fails, 'Test suit does not fail on the initial contents'); });
[ "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:" ]
[]
## --seed-contents-- ```js ``` # --solutions--
[ "An empty solution seed with the following format does not parse correctly in Crowdin: ! Adding an empty new-line between the backtick lines will parse correctly in Crowdin: ! The following files have empty seeds with the first format and need a blank line : JavaScript / Basic JavaScript comment your javascript cod...
[]
# --solutions-- ```js <del> function countOnline(usersObj) { let online = 0; for(let user in usersObj){ if(usersObj[user].online) { online++; </del> <ins> function countOnline(allUsers) { let numOnline = 0; for(const user in allUsers){ if(allUsers[user].online) { numOnline++; </ins> } } <del> return online; </del> <ins> return numOnline; </ins> } ```
[ "This seed code can lead to a bit of confusion because the global variable name and parameter name are pretty similar What about isn't my favorite if someone has another idea. I just don't like when the type isn't strictly needed. No response All No response\ncan I work on this if anyone is not working?\nThis issue...
[]
<ins> name: 'Unhide Specific String' description: "Updates a specific string to be not hidden" runs: using: 'node12' main: './index.js' inputs: filename: description: 'name of file with specific string to hide' required: true string-content: description: 'text content of string to unhide' required: true </ins>
[ "The challenge title of challenge Use && for a More Concise Conditional is not translatable on Crowdin ! (the greyed out text is for not translatable strings) An other challenge where the title is translatable ! this is the link for crowdin file: markdown file for the challenge:\nmind taking a look?\nI have manuall...
[]
## Translate the File <del> ![Image - Editor View](./images/crowdin/editor.png) </del> <ins> ![Image - Editor View](https://contribute.freecodecamp.org/images/crowdin/editor.png) </ins> Crowdin separates a document into translatable "strings", usually sentences. Each string is translated individually. Referring to the image above:
[ "! Our local images currently do not render in the translated documentation views. This is due to the use of a relative link, which breaks with the new path generated for i18n pages. A couple of potential fixes: Use an absolute link (<filename). This, IMHO, is the most effective. Have translators fix the link in th...
[]
const addCodeOne = i18next.t('forum-help.add-code-one'); const addCodeTwo = i18next.t('forum-help.add-code-two'); const addCodeThree = i18next.t('forum-help.add-code-three'); <del> const altTextMessage = `### ${whatsHappeningHeading}nn### ${camperCodeHeading}nn${warning}nn${tooLongOne}nn${tooLongTwo}nn${tooLongThree}nn```textn${addCodeOne}n${addCodeTwo}n${addCodeThree}n```nn${endingText}`; </del> <ins> const altTextMessage = `### ${whatsHappeningHeading}nn${camperCodeHeading}nn${warning}nn${tooLongOne}nn${tooLongTwo}nn${tooLongThree}nn```textn${addCodeOne}n${addCodeTwo}n${addCodeThree}n```nn${endingText}`; </ins> const titleText = window.encodeURIComponent( `${i18next.t(
[ "The help post now has this header: ! which is It should have only one set of hashtags.\nCould you clarify where you see this? I don't seem to have this issue on my end.\nI did not specify, sorry, it's for posts that have the following message" ]
[]
Fulfill the user stories and pass all the tests below to complete this project. Give it your own personal style. Happy Coding! <ins> **Note:** Be sure to add `<link rel="stylesheet" href="styles.css">` in your HTML to link your stylesheet and apply your CSS </ins> # --hints-- You should have a `main` element with an `id` of `main`
[ "With the new format, a lot of people are not linking their css files to the HTML document. It is coming up a lot on the forum. Especially for those that are going through the Legacy curriculum. I think we should add a message underneath the sample projects, to remember to link the CSS file. Proposed change: Rememb...
[]
import Link from '../../../components/helpers/Link'; import './challenge-title.css'; <ins> import GreenPass from '../../../assets/icons/GreenPass'; </ins> const propTypes = { children: PropTypes.string,
[ "In the new beta (currently at ), it would be great if a challenge page indicated somehow when the challenge has already been completed. Currently, since user inputed code is not saved, there is no indication on a challenge page that it has already been completed.\nWe need a check mark in the title or a badge or to...
[]
"For example, if you wanted to make a text input field required, you can just add the word "required" within your <code>input</code> element use: <code>&#60;input type='text' required&#62;</code>" ], "tests": [ <del> "assert($('input').prop('required'), 'Your text field have the property of being required.')", "assert($('[placeholder]').length > 0, 'Your text field should have the placeholder text of "cat photo URL".')" </del> <ins> "assert($('input').prop('required'), 'Your text field should have the property of being required.')", "assert(new RegExp('cat photo URL').test($('input').prop('placeholder')), 'Your text field should have the placeholder text of "cat photo URL".')" </ins> ], "challengeSeed": [ "<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",
[ "Spelling error: The waypoint requirements say, \"You should have three li elements on within your ol element.\" I think \"within\" is the better choice here.", "Typo on the first test \"your text field have the property of being required\". Also, the second test passes even if the placeholder text field is empty...
[]
"cheerio": "~0.20.0", "classnames": "^2.1.2", "compression": "^1.6.0", <del> "connect-mongo": "~1.3.2", </del> <ins> "connect-mongo": "^1.3.2", </ins> "cookie-parser": "^1.4.0", "csurf": "^1.8.3", "debug": "^2.2.0",
[ "A caret symbol, needs to be . So the result should look like this: . Please review before opening a PR, thank you!\nHi there - can I take this one? I'm new to contributing to FCC and this issue seems like a great way to get everything set up and working properly to help out more in the future." ]
[]
<h2 className='black-text'>D3.js</h2> </Col> </Row> <ins> <hr /> </ins> <Spacer /> <ins> <h3> freeCodeCamp is a donor-supported tax-exempt 501(c)(3) nonprofit organization (United States Federal Tax Identification Number: 82-0779546) </h3> <p className='large-p'> Our mission: to help people learn to code for free. We accomplish this by creating thousands of videos, articles, and interactive coding lessons - all freely available to the public. We also have thousands of freeCodeCamp study groups around the world. </p> <p className='large-p'> Donations to freeCodeCamp go toward our education initiatives, and help pay for servers, services, and staff. You can{' '} <a className='large-p underlined-link' href='https://donate.freecodecamp.org/' rel='noopener noreferrer' target='_blank' > make a tax-deductible donation here </a> </p> .<Spacer /> </ins> <BigCallToAction /> <Spacer /> <Spacer />
[ "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." ]
[]
End of preview.

No dataset card yet

Downloads last month
203