<div class=\"col-xs-4\"> element.\", \"Bootstrap uses a responsive grid system, which makes it easy to put elements into rows and specify each element's relative width. Most of Bootstrap's classes can be applied to a div element.\", \"Here's a diagram of how Bootstrap's 12-column grid layout works:\",
\",
\", \"Note that in this illustration, we use the col-md-* class. Here, \"md\" means \"medium\", and \"*\" is a number specifying how many columns wide the element should be. In this case, we're specifying how many columns wide an element should be on a medium-sized screen, such as a laptop.\", \"In the Cat Photo App that we're building, we'll use col-xs-*, where \"*\" is the number of columns wide the element should be, and \"xs\" means \"extra small\", like an extra-small mobile phone screen.\", \"The row class is applied to a div, and the buttons themselves can be wrapped within it.\"", "pos": ["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.\nThanks for the report, the copy has been updated.", "This isn't exactly a bug, but in the description for the challenge, there is an image that shows how bootstrap lays out elements on a page. This image is way too small to see or read any of the text in the image, and there doesn't seem to be a good way to get a larger version of the image.\nThanks, we've updated the copy to have the image link to the specific section of the bootstrap website!", "One of the requirements are not fulfilled (Wrap your all of your checkboxes inside one div with the class \"row\".) even though the codes have fulfilled the requirement. Per checking my code 3 times, I know I have fulfilled the requirement. Kindly check and see if this is just an error on my part. Thank you.", " assert(code.match(/...arr/)); assert(code.match(/...s*arr/)); ``` # --seed--", "pos": ["On , the task is to use the spread operator to copy an array. JS semantics allow the spread operator to have whitespace between it and the object it is being applied to. The following is valid: However, in the challenge, any whitespace between the operator and the value will cause the test to fail. The issue is with the test regex here: Which should probably be amended to: NOTE: this issue was , I am submitting it on their behalf. Whitespace between the spread operator and the object it is being applied to should not cause the test to fail. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response\nLooks like a good beginner friendly fix to me\nThanks for opening this issue. This looks like something that can be fixed by \"first-time\" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing."], "neg": []}
{"query": "\"assert.deepEqual(myArray, [0,1,2,3,4], 'message: myArray should equal [0,1,2,3,4].');\" ], \"challengeSeed\":[ rect elements. User Story #15: The rect elements in the legend should use at least 4 different fill colors. User Story #16: I can mouse over an area and see a tooltip with a corresponding id=\"tooltip\" which displays more information about the area. data-year property that corresponds to the data-year of the active area. data-year property that corresponds to the data-year of the active area. Here is the dataset you will need to complete this project: https://raw.githubusercontent.com/freeCodeCamp/ProjectReferenceData/master/global-temperature.json You can build your project by forking this CodePen pen. Or you can use this CDN link to run the tests in any environment you like: https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js Once you're done, submit the URL to your working project with all its tests passing.", "pos": ["This project has two user stories that are listed as !\nThank you, for spotting this. This is an easy fix; Here is the culprit file:\nhi , Can I go ahead with this?\nHello , As you are considered a Contributor (made at least 1 contribution), I suggest you leave this open to first timers. Thank you, for your understanding.\nHey I figured I'll mention here. I was not aware that we could not do it ourselves. I apologize for the inconvenience.\nHi can I work on this? I am a first-timer\nHi , I think this issue has already been picked up. Feel free to claim an issue with label .\nI think that I sent it through but I'm unsure if I did it correctly. It might still need someone with Write access to accept the edits?\nI can check it for you\nHi I'm unsure if I am doing this correctly but I have a pending pull request. It needs approval to be submitted.\nHello , sorry, things are quite busy. You have done what you needed to, and, as it stands, your PR is approved. Thank you, for your patience.\nOk thanks for the heads up!", "It flashes the form fields for a second and then is blank between \"Update your profile here:\" and \"Actions\" headings. Here's the console error: TypeError: Cannot read property 'toLowerCase' of undefined at at at at l.$eval () at l.$digest () at l.$apply () at l () at O () at () That looks like it's on the $() on line 49. The JSON from my /account/api doesn't have a user.profile.username key. Maybe it would be a simple fix of piping? () '';\nWhich method did you use to sign up for freecodecamp? It's an issue of your username not existing.\nSigned up with email.\nHow long ago did you sign up for FCC? On Mon Jan 12 2015 at 11:40:50 AM Justin Rogers wrote:\nAround December 8th. Am I the only document without a username in the db?"], "neg": []}
{"query": " require('dotenv').config({ path: `${__dirname}/../../.env` }); const core = require('@actions/core'); const { getFiles } = require('../../utils/files'); const { getStrings, changeHiddenStatus } = require('../../utils/strings'); const filename = core.getInput('filename'); const stringContent = core.getInput('string-content'); const hideString = async (projectId, fileName, string) => { const fileResponse = await getFiles(projectId); const targetFile = fileResponse.find(el => el.path.endsWith(filename)); if (!targetFile) { core.setFailed(`${fileName} was not found.`); return; } const stringResponse = await getStrings({ projectId, fileId: targetFile.fileId }); const targetString = stringResponse.find(el => el.data.text === string); if (!targetString) { core.setFailed(`${string} was not found.`); return; } await changeHiddenStatus(projectId, targetString.data.id, false); console.log('string unhidden!'); }; const projectId = process.env.CROWDIN_PROJECT_ID; hideString(projectId, filename, stringContent); ", "pos": ["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 manually marked the string as translatable today. After our workflows run tomorrow, I will confirm the string is still translatable - if it is not, I will investigate further.\nReopen if still and issue.\nthis actually happened again with last update\nJust to add that this is also happening in pt-BR. The entry is blocked for translation. I suspect this has to do with the double ampersand.\nHello, we are a group of researchers developing machine learning techniques to locate issues suitable for newcomers, and our model consider this issue as likely a \"good first issue\". May we recommend you to label it as \"good first issue\" so newcomers know where to choose? Thank you!\nthanks but it is not - this needs to be done through Crowdin pipeline, will need to do it, again"], "neg": []}
{"query": "# --description-- \"Install Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.how-to-npm with this command: npm install -g git-it\", \"Install git-it with this command: npm install -g git-it\", \"Now start the tutorial by running git-it.\", \"Note that you can resize the c9.io's windows by dragging their borders.\", \"Make sure that you are always in your project's \"workspace\" directory. You can always navigate back to this directory by running this command: cd ~/workspace.\",", "pos": ["Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. step 9 says Install how-to-npm with this command: npm install -g git-it. it looks like we are installing something called git-it instead of how-to-npm. As before, if I am incorrect please disregard this issue and just close. Just trying to do what I can for you guys. Love this site!\nHey thanks for posting an issue! It looks like you are right! I believe the step should say\nThat's what it looked like to me to. It seems that the command was copied from the next page when you do actually have to install how-to-npm. Btw, now that I have done a lot of the free code camp challenges, how would I go about starting to contribute to the project? I would love to help out with the code or issues or anything really.\nAwesome! Just jump right in :smile:! Maybe start with putting in a pull request for this issue? Feel free to ping me in gitter if you want to chat about this further (so as to not pollute this issue with conversation)\nDear camper, your issue is related to: Please see .\nI checked when I was creating the pull request to fix this issue and it seems that the how-to-npm part of it is already fixed."], "neg": []}
{"query": "); ``` `knapsackUnbounded([{ name:\"panacea\", value:3000, weight:0.3, volume:0.025 }, { name:\"ichor\", value:1800, weight:0.2, volume:0.015 }, { name:\"gold\", value:2500, weight:2, volume:0.002 }], 35, 0.35)` should return `75300`. `knapsackUnbounded([{ name:\"panacea\", value:3000, weight:0.3, volume:0.025 }, { name:\"ichor\", value:1800, weight:0.2, volume:0.015 }, { name:\"gold\", value:2500, weight:2, volume:0.002 }], 35, 0.35)` should return `75900`. ```js assert.equal(", "pos": ["Describe your problem and how to reproduce it: One of the tests in this challenge has wrong result, both in test code and description. It says: This isn't correct. For example: knapsack having 11 panacea, 3 ichor and 15 gold has value , while being within the weight and value constrains: This seems to be case of precision issue. Multiplication input item weights, volumes and max values for those parameters, to start operations without decimals, makes result as it should be, also for the problematic test. Add a Link to the page with the problem:\nYes, it seems you are right - do you want to propose a solution?\nYes, sorry. The least invasive way to correct the seems to be to multiply in function, by the same factor, initial items weights, volumes, and in the first recursive call multiply and . This is enough to make calculations on integers and get correct answers. I don't know if just such change would be okay or if more desirable would be more elaborate rewrite of solution. Or at least changing to / and renaming some variables to better names.\nwould you be willing to open a PR for it so that the challenge can be changed? you can also contribute to the guide by opening a topic in the #subforum category in the forum\nDefinitely yes, although I need advice which approach here would be preferred. Considering that the sample solution in code is just used for internal testing and just small change to it can fix the issue."], "neg": []}
{"query": "# --description-- Promises are most useful when you have a process that takes an unknown amount of time in your code (i.e. something asynchronous), often a server request. When you make a server request it takes some amount of time, and after it completes you usually want to do something with the response from the server. This can be achieved by using the `then` method. The `then` method is executed immediately after your promise is fulfilled with `resolve`. Here\u2019s an example: Promises are most useful when you have a process that takes an unknown amount of time in your code (i.e. something asynchronous), often a server request. When you make a server request it takes some amount of time, and after it completes you usually want to do something with the response from the server. This can be achieved by using the `then` method. ```js Promise.prototype.then(onFulfilled, onRejected) ``` The `then` method schedules callback functions for the eventual completion of a Promise - either fulfillment or rejection. One of the `onFulfilled` and `onRejected` handlers will be executed to handle the current promise's fulfillment or rejection. When the promise is fulfilled with `resolve` the `onFulfilled` handler is called. ```js myPromise.then(result => {", "pos": ["I realize it is probably just an oversimplification but the part that may need correction is. I think this should say the handler is called when the promise becomes fulfilled. Or something to that effect. More precise verbiage. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] Forum: Specs/MDN:\nI'd say something like: I think mentioning the might get confusing.\nThe thing is, it takes two callbacks. An and the optional . So we may have to make the distinction. The name is just the spec definition. It might be less confusing if we show the signature. I pretty much just stole the text from MDN. I think we are far enough into the curriculum that a little technical lingo isn't the worst. It might be a bit verbose although it explains it better if you ask me.\nI could go with that, yeah."], "neg": []}
{"query": "\"Bonus User Story: As a user, I navigate to different sections of the webpage by clicking buttons in the navigation.\", \"Don't worry if you don't have anything to showcase on your portfolio yet - you will build several apps on the next few CodePen challenges, and can come back and update your portfolio later.\", \"There are many great portfolio templates out there, but for this challenge, you'll need to build a portfolio page yourself. Using Bootstrap will make this much easier for you.\", \"Note that CodePen.io overrides the Window.open() function, so if you want to open windows using jquery, you will need to target invisible anchor elements like this one: \"Note that CodePen.io overrides the Window.open() function, so if you want to open windows using jQuery, you will need to target invisible anchor elements like this one: <a target='_blank'>.\", <a target='_blank'>.\", \"Remember to use Read-Search-Ask if you get stuck.\", \"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 from fellow campers, click this button and paste in a link to your CodePen project.
Click here then add your link to your tweet's text\"", "pos": ["Challenge has an issue. User Agent is: const pathPrefix = returnUrl.pathname.split('/')[0]; const pathPrefix = returnUrl.pathname.split('/')[1]; return _normalizeParams({ returnTo: returnUrl.href, origin, pathPrefix }); }", "pos": ["If I am signed in as a user while on and log out, I am redirected to the english home page. redirects to the chinese page.\nwrong endpoint in server code? Thats what I would assume, but am not sure how to locate where the correct endpoint would be placed in the code.\nHere is the endpoint: and most likely the issue is with the redirect \"predictor\" utility: However we would want to confirm the cause before we open this up for contributions.\nyes, that's the issue. To fix it we can grab the from and combine that with to get the desired redirect.\nShould that be done in the getRedirectParams function or should the path be put together from the data set returned by getRedirectParams in\nYou need to construct the URL from the values you get from the as a consumer of the function and not change its existing behavior. In simple terms the change is required within the endpoint handler.\nThat makes sense.\nI got the codebase installed locally is there a way to run just\nNot sure what you mean by running only one file? The API server is an express based application (Loopback 3). You need to start up at least the api-server app. If you want to do that, you should be able to do that by navigating to directory and using the run-script commands in its\nI'm trying to figure out what gets passed in pathPrefix, from getRedirectParams, when one signs out from the Spanish page. But when running the site locally, switching to Espanol leads to a \"This site can't be reached\" error. Just for clarity's sake, I realize now that is not meant to be run alone and I am using the \"npm run develop\" command to try and recreate this bug locally. Is this a bad approach?\nAh - right. Sorry about sending you on a goose-chase. When you build locally, we do not have a way yet to develop both and at the same time alongside the API app. I am going to untag this from help-wanted and assign this instead. Oliver, you should be able to test / reproduce and recommend a fix on our staging instance - not sure because this may be needing access for \"close to prod\" type setup.\nI was just in the process of going through the steps, when you commented Mrugesh!", "I'll leave them here for the curious: Unfortunately testing locally is quite a pain, because we use since is entirely separate from . It's a bit of a slow, memory intensive process, but you can do this: in your .env file Then you can go to"], "neg": []}
{"query": "\"Here's the anatomy of a CSS class:\", \"
\", \"You can see that we've created a CSS class called \"blue-text\" within the <style> tag.\", \"You can apply a class to an HTML element like this: \"You can apply a class to an HTML element like this: <h2 class=\"blue-text\">CatPhotoApp<h2>\", <h2 class=\"blue-text\">CatPhotoApp</h2>\", \"Note that in your CSS style element, classes should start with a period. In your HTML elements' class declarations, classes shouldn't start with a period.\", \"Instead of creating a new Style tag, try removing the h2 style declaration from the existing style element, and replace it with the class declaration for \".red-text\".\" ],", "pos": ["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: myRegex should return
true for the string Franklin D. Roosevelt testString: assert(myRegex.test('Franklin D. Roosevelt')); testString: myRegex.lastIndex = 0; assert(myRegex.test('Franklin D. Roosevelt')); - text: Your regex myRegex should return true for the string Eleanor Roosevelt testString: assert(myRegex.test('Eleanor Roosevelt')); testString: myRegex.lastIndex = 0; assert(myRegex.test('Eleanor Roosevelt')); - text: Your regex myRegex should return false for the string Franklin Rosevelt testString: assert(!myRegex.test('Franklin Rosevelt')); testString: myRegex.lastIndex = 0; assert(!myRegex.test('Franklin Rosevelt')); - text: You should use .test() to test the regex. testString: assert(code.match(/myRegex.test(s*myStrings*)/)); - text: Your result should return true.", "pos": ["Link to the challenge: Adding a global flag to the regular expression has the test fail for the first two assertions. This can be confusing considering also how the challenge is introduced, since the code snippet explaining the concept shows the global flag being used. Update the code snippet introducing the challenge: However, since the global flag should not affect the outcome of the test (to what I can ascertain), a better suggestion would be to update the test itself, to account for its presence.\nThanks for the detailed report! I think it would make sense to do both. The isn't necessary, so it should not be there and it's not wrong, so we should not reject it.\nIt might be better to remove the global flag from the challenge example unless we also explain how and give some info on . I think in order to really know if we should fail the test when using the global flag we would have to consider how the code is supposed to run. Are we \"emulating\" that each is being run in isolation or are they executed one after the other.\nAgreed. This challenge focuses on teaching the user about groups - the use of over seem incidental to me, as does the presence of the flag. Also, the challenge asks you to make sure so it's only asking you to use against once.\nBut it is when the test is called multiple times on the same regex. Isn't this kind of the same as when users use global variables which end up causing the user's code to fail for all tests except the first because the the global variable does not get reset each time?\nI'm dumb - I'd completely failed to realise it's being run twice, once in the user's code and again in the tests. You're quite right and PR fixes that.\nChallenge: Fails with: Passes with:\nThe example/seed code moves to 14. I guess one easy option would be to change the example string to something like \"Fun with regular expressions!\", that should let all the tests pass and accept the global flag. The problem is if the camper uses a different string to test the regex it may fail. So we might just have to reset before running the tests.\nI assumed it would be the exact same fix as what Tom did:\nyep, that's what I concluded. I think we can apply Tom's fix in , rather than modifying the tests. Either works, but that should be more concise."], "neg": []}
{"query": "\"Wait for the workspace to finish processing and select it on the left sidebar, below the Create New Workspace button.\", \"Click the \"Start Editing\" button.\", \"In the lower right hand corner you should see a terminal window. In this window use the following commands. You don't need to know what these mean at this point.\", \"Run this command: \"Install npm install how-to-npm -g\", \"Now start this tutorial by running npm install how-to-npm@2.0.0.\", how-to-npm with this command: npm install how-to-npm -g\", \"Now start the tutorial by running how-to-npm.\", \"Note that you can resize the c9.io's windows by dragging their borders.\", \"Make sure that you are always in your project's \"workspace\" directory. You can always navigate back to this directory by running this command: cd ~/workspace.\", \"Note that you can only add dist tags to the specific version numbers published in steps 8 and 10. If you receive a 403 or 404 error, run how-to-npm and try again.\",", "pos": ["One of the instructions has the following: start this tutorial by running npm install how-to-npm it says to run the npm tutorial by typing 'npm install how-to-npm but you are actually supposed to just type 'how-to-npm'"], "neg": []}
{"query": "```yml tests: - text: Your code should add one s tag to the markup. testString: assert($('s').length == 1, 'Your code should add one testString: assert($('s').length == 1); - text: A s tag to the markup.'); s tag should wrap around the Google text in the h4 tag. It should not contain the word Alphabet. testString: assert($('s').text().match(/Google/gi) && !$('s').text().match(/Alphabet/gi), 'A testString: assert($('h4 > s').text().match(/Google/gi) && !$('h4 > s').text().match(/Alphabet/gi)); - text: Include the word Alphabet in the s tag should wrap around the Google text in the h4 tag. It should not contain the word Alphabet.'); h4 tag, without strikethrough formatting. testString: assert($('h4').html().match(/Alphabet/gi), 'Include the word Alphabet in the testString: assert($('h4').html().match(/Alphabet/gi)); ```", "pos": ["", "pos": ["! 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 (h4 tag, without strikethrough formatting.'); The The positionData variable holds a 3-dimensional (3D) array. Use a D3 method to find the maximum value of the z coordinate (the third value) from the arrays and save it in the output variable. Note
Fun fact - D3 can plot 3D arrays. positionData array holds sub arrays of x, y, and z coordinates. Use a D3 method to find the maximum value of the z coordinate (the third value) from the arrays and save it in the output variable. ## Tests", "pos": [" ", "pos": ["", "pos": ["The function used in the code, named : Instructions mention function: \"Because returns a function, your function ultimately returns an array of function references...\" Instruction should mention function, not function. No response Device: Laptop OS: Windows 10 Browser: Chrome No response\nThanks for opening this issue. This looks something that can be fixed by \"first time\" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.\ncan you assign me this issue?\nWe typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labelled with or are open for contributions. Please make sure you read . We prioritize contributors following the instructions in our guide. Join us in or if you need help contributing - our community will be happy to assist you."], "neg": []}
{"query": "], 'id' ); return updatedExisting; return { updated: updatedExisting, isNewCompletionCount: updatedExisting.length - completedChallenges.length }; } function isTheSame(val1, val2) {", "pos": ["Completing projects from the settings page, submitting a url, dose not increment the points a user has. We need to push a new timestamp to the users array.\nHi I can help out with this. Am I correct in thinking that this should be done in the file? If so, I'll look at for some guidance."], "neg": []}
{"query": "--yellow-light: #ffc300; --yellow-dark: #4d3800; --blue-light: rgb(153, 201, 255); --blue-light-translucent: rgb(153, 201, 255, 0.3); --blue-dark: rgb(0, 46, 173); --blue-dark-translucent: rgb(0, 46, 173, 0.3); --green-light: #acd157; --blue-mid: #198eee; --purple-mid: darkviolet;", "pos": ["If I try to select text with my mouse so I can copy/paste it or something - the selected text has the same background as the rest of the page. Making it difficult to see what is selected, and frustrating to try and select, well anything. ! This seems to occur across the entire site. Perhaps it was intentional or something, but I don't think it's a good ux. Note: the text does actually get selected, so you can still copy/paste it. Tested on Chrome and Firefox\nGood catch. It'll be this PR: which didn't scope the change to challenge descriptions. I'll put together a quick fix. Edit: nevermind, it's just that has to be passed four values, not two. I don't quite understand how this ever worked."], "neg": []}
{"query": "li • Understand that they will build your project using JavaScript frameworks (as opposed to older or proprietary tools) li • Keep your expectations high. Our students' goal is to produce work that's up to your standards h3 If you're OK with these terms, great! We'd love to help you! Fill in this form and we'll get right back to you. form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST') form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST', novalidate='novalidate', name='nonprofitForm') input(type='hidden', name='_csrf', value=_csrf) .form-group label(class='col-sm-2 control-label', for='name') Your name label(class='col-sm-2 control-label', for='name') Your name * .col-sm-8 input.form-control(type='text', name='name', id='name') input.form-control(type='text', name='name', id='name', autocomplete=\"off\", ng-model='name', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.name.$invalid && nonprofitForm.name.$error.required && !nonprofitForm.name.$pristine\") alert(type='danger') span.ion-close-circled(id='#name-error') | Your name is required. .form-group label(class='col-sm-2 control-label', for='email') Your email label(class='col-sm-2 control-label', for='email') Your email * .col-sm-8 input.form-control(type='text', name='email', id='email') input.form-control(type='text', name='email', id='email', autocomplete=\"off\", ng-model='email', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.email.$invalid && nonprofitForm.email.$error.required && !nonprofitForm.email.$pristine\") alert(type='danger') span.ion-close-circled(id='#email-error'). Your email is required. .form-group label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. * .col-sm-8 textarea.form-control(type='text', name='message', id='message', rows='7') textarea.form-control(type='text', name='message', id='message', rows='7', autocomplete=\"off\", ng-model='message', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.message.$invalid && nonprofitForm.message.$error.required && !nonprofitForm.message.$pristine\") alert(type='danger') span.ion-close-circled(id='#message-error') | Your message is required. .form-group .col-sm-offset-2.col-sm-8 button.btn.btn-primary(type='submit') button.btn.btn-primary(type='submit', ng-disabled='nonprofitForm.$invalid') span.ion-paper-airplane | Submit | Submit No newline at end of file", "pos": ["it should be --important <-- instead of import Learn Bash Scripting by Building Five Programs False. An important operator in that menu is =~. It allows for pattern matching. Using the same syntax but with this operator, check if hello contains the pattern el. ! Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response\nI'll fix this! Just for reference, I will be fixing this issue in repository.\nHey guys! I'm getting this error when typing in the terminal. Anyone know how to fix? I created a seperate branch that is up to date.\nFor generating file, the coderoad cli requires for the version branch to exist locally. Detailed guidelines how to contribute to these tutorials can be found on Please refer to the parts about making changes on the branch. Thank you and happy coding!\nPerfect. I have the typo fixed and ill make that branch work with coderoad. Thank you for your patience", " # --description-- Now you will practice listening for the correct form of `do.` Listen carefully to how Tom asks about Maria's job as a team lead. Now you will practice listening for the correct form of `do`. Listen carefully to how Tom asks about Maria's job as a team lead. # --instructions--", "pos": ["The fill-in-the-blank sentence doesn't match what the character says. The written sentence is: The character says: Note the \"the\", instead of \"our\". No response Device: all OS: all Browser: all Version: all No response\nThank you for reporting the issue. Note for maintainers: Step 54 () uses \"our\" instead of \"the\" in the quiz. I think it's fine as-is since there isn't associated audio/caption text, but I'd vote updating it, too, for consistency. This issue is open to first-time code contributors to this repository. Requirements: In Change the text in the tag from to In Change the text in the tag from to Change the fill-in-the-blank text from to Change the backtick placement in the description text from ` In Change the text of the answers from to Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.\nHi I've created a PR addressing these changes."], "neg": []}
{"query": "# --description-- Add another `p` element with the text `Total Carbohydrate 37g 13%`. Like before, use `span` elements to make the text `Total Carbohydrate` and `13%` bold. Also add an additional `span` element to wrap the `Total Carbohydrate 37g` text in a span element so to have it aligned to the left, and `13%` to the right. Below your last `p` element, add another `p` element with the text `Total Carbohydrate 37g 13%`. Like before, use `span` elements to make the text `Total Carbohydrate` and `13%` bold. Also add an additional `span` element to wrap the `Total Carbohydrate 37g` text in a span element to have it aligned to the left, and `13%` to the right. # --hints--", "pos": ["The instructions do not state clearly where the new element should be . I believe they are relying on the fact that the previous two steps a element to the end of the div and thus they assume the user will continue this trend in step 55. But I just ran into a forum post that the element after the div, so I'm not sure that's a safe assumption. Step 54 tells the user to add the element \"Below your last element\" and I think we should do the same thing here. N/A Change the beginning of the instructions to read: \"Below your last element, add another element with the text...\" No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response\nQuick question, do you think we have a typo in the instruction as well?\nYes, you're correct. The phrase \"so to have it aligned to the left\" can be revised to \"to have it aligned to the left\" for a better concise expression.\nWhen will be waiting for triage label removed\nThanks for opening this issue. This looks like something that can be fixed by \"first-time\" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: A pull request which resolves this issue should: Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.\nHi, do you think the sentence could be made more effective by removing the redundant phrase 'span element' that occurs twice in the same line?\nI agree that the \"in a span element\" part is redundant and should be removed, but I'm not sure about the extra comma there as it makes the sentence disjointed. We might want to just ditch the commas altogether:\nAgreed. Two commas seem to break the sentence unnecessarily. I already raised a PR () suggesting the removal of the redundant part, which was not merged. Should I push changes in the same PR, or create a new one?"], "neg": []}
{"query": "const Project = ({ challenge }: { challenge: ChallengeWithCompletedNode }) => ( {challenge.title} Inside your `select` element, add the following five `option` elements with these corresponding values for the option text and `value` attribute: Inside your `select` element, add the following five `option` elements with these corresponding values for the `option` text and `value` attribute: **Value Attributes:**", "pos": ["There are some small issues that need to be fixed in the following files: optionfor elementsinline\"Check your code\" String` This looks like something that can be fixed by \"first-time\" code contributors to this repository. The files you should look at to work on a fix are those linked above. Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.\nHi I'd like to work on this issue. Thanks\nHey We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labelled with or are open for contributions. Please make sure you read . We prioritize contributors following the instructions in our guide. Join us in or if you need help contributing - our community will be happy to assist you."], "neg": []}
{"query": "userSelector, isOnlineSelector, isServerOnlineSelector, showCodeAllySelector, userFetchStateSelector } from '../../redux/selectors';", "pos": ["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:
assert.match(code, /ifs*(s*keys.rightKey.presseds*&&s*isCheckpointCollisionDetectionActives*)s*{s*(.*?)s*}/); assert.match(code, /ifs*(((s*keys.rightKey.presseds*&&s*isCheckpointCollisionDetectionActives*)|(s*isCheckpointCollisionDetectionActives*&&s*keys.rightKey.presseds*)))s*{s*(.*?)s*}/); ``` # --seed--", "pos": ["step 78 of the platformer game project wants the user to type: but if we type the checks in reverse like: It is not accepted. Stumbled on this one because to me writing the long variable name first is easier because I copy and paste it directly from the step and then I spend a little longer looking up how to tell the right key is pressed so I put that second. Since the order of conditions is not specified though in the step, the check should not be so picky. (see above) less strict checking when the order of comparisons in the if makes no difference to the result (or please specify that order matters in the instructions or the hint) No response N/A please note that step 80 has the same issue as well:"], "neg": []}
{"query": "import { wrapHandledError } from '../utils/create-handled-error'; const authRE = /^/auth//; const confirmEmailRE = /^/confirm-email$/; const newsShortLinksRE = /^/n/|^/p//; const publicUserRE = /^/api/users/get-public-profile$/; const publicUsernameRE = /^/api/users/exists$/; const resubscribeRE = /^/resubscribe//; const showCertRE = /^/certificate/showCert//; // note: signin may not have a trailing slash const signinRE = /^/signin/; const statusRE = /^/status/ping$/; const unsubscribedRE = /^/unsubscribed//; const unsubscribeRE = /^/u/|^/unsubscribe/|^/ue//; const updatePaypalRE = /^/donate/update-paypal/; const _whiteListREs = [ authRE, confirmEmailRE, newsShortLinksRE, publicUserRE, publicUsernameRE, resubscribeRE, showCertRE, signinRE, statusRE, unsubscribedRE, unsubscribeRE, updatePaypalRE", "pos": ["These should be available without any access tokens: [x] Used for public profile views. [x] Used for confirming and email. [x] Health Check"], "neg": []}
{"query": "import { CompletedChallenge } from '../../redux/prop-types'; import { getSolutionDisplayType } from '../../utils/solution-display-type';
import './solution-display-widget.css'; import '@freecodecamp/ui/dist/base.css'; interface Props { completedChallenge: CompletedChallenge;", "pos": ["contains a single CSS rule: This rule is not needed as the underline of the is already turned off by the component library. Remove Remove the class from\nThis issue is open for contribution. Please make sure you read our as well as our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing."], "neg": []}
{"query": "if (this.state.downloadURL) { URL.revokeObjectURL(this.state.downloadURL); } this.props.close(); } render() {", "pos": ["Describe the bug If you complete a challenge, navigate back (taking you to the curriculum), then open a new challenge the success modal will still be open. To Reproduce Steps to reproduce the behavior: to the challenge -enter the success modal back to that the modal is still present Expected behavior The modal should be closed every time you leave a challenge. Screenshots !"], "neg": []}
{"query": "- HOME_LOCATION=http://$DOCKER_HOST_LOCATION:8000 - API_LOCATION=http://$DOCKER_HOST_LOCATION:3000 volumes: - .:/app - node_modules:/app/node_modules - client_node_modules:/app/client/node_modules - server_node_modules:/app/api-server/node_modules - curriculum_node_modules:/app/curriculum/node_modules - challenge_md_parser_node_modules:/app/tools/challenge-md-parser/node_modules - seed_node_modules:/app/tools/scripts/seed/node_modules - client_plugin_nav_data_node_modules:/app/client/plugins/fcc-create-nav-data/node_modules - .:/app:delegated - node_modules:/app/node_modules:delegated - client_node_modules:/app/client/node_modules:delegated - server_node_modules:/app/api-server/node_modules:delegated - curriculum_node_modules:/app/curriculum/node_modules:delegated - challenge_md_parser_node_modules:/app/tools/challenge-md-parser/node_modules:delegated - seed_node_modules:/app/tools/scripts/seed/node_modules:delegated - client_plugin_nav_data_node_modules:/app/client/plugins/fcc-create-nav-data/node_modules:delegated working_dir: /app/api-server command: npm run develop ports:", "pos": ["Is your feature request related to a problem? Please describe. Building project using docker on macOS is notoriously slow, after some googling, I found that there's some ways to boost the performance of this process. I post the link to the posts I read in here just in case someone want some reference Here's the link to performance comparison Here's the GitHub issue related to the subject In a nutshell, building project with docker on mac is unbearably slow, so, I use flag when run docker, here's the screenshot on how I modified my docker- to make the build process from almost forever to just a few second: (I still modify a section but there's no enough space to include that to the screenshot, anyway, you can tell from the preview pane on the upper right) ! Describe the solution you'd like So, I suggest include this change to yaml file in the project, or(see next) Describe alternatives you've considered Add an extra notice to , letting those who use mac be aware this issue and let them know how to alleviate the pain. PS: I'm also happy to help with this issue\nSure, the docker setup guide has not seen much love lately. Its intial intention was to remove the friction of installing the services like MongoDB, etc. However, it has become painfully slow when setting up from scratch. Please feel free to open a PR for benifit of everyone.\nThanks for the response! So, which option do you recommend? modify the docker- file and make the PR add a new notice in the contribution guide for those who run the project from scratch PS: thanks to the usage of flag , I never hear those crazy fan noise from my old MBP anymore and the CPU usage of the docker is really low now~\nLets start by adding the flag like you have tested. We could merge the PR and keep it under observation for a few days. We could add a warning or remove/overhaul the docker setup if the flags break something, later.\nHey, man, thanks for the advice and sorry for not keeping the update or work on it for several days, I'm currently dealing with some life emergency, and magically, the only thing that can let me feel less painful or pain-free is immerse myself in the world of coding how crazy!", "Anyway, I just opened a PR and hopefully that can help a lot of people using mac and try to build the project from docker~ PS: I kind of favor adding a note on the guide to remind those with mac to do the flag thing when they build the project, because slow building only happen on mac I think, although this could lead to problems like forgot to remove the flag in the file when they commit so they push to the remote and cause a lot of conflicts... Anyway, adding this flag while building on PC or Linux shouldn't cause any problem I think, because means the change between host and container is not in sync immediately... hmm... sounds like a problem... but for more on it I think you should consult the docker doc I posted above\nHey Benjamin. Hope that you are hanging in well. Stay strong and I wish you the very best in whatever you are dealing with. Keep doing what you love. Thanks a lot for the PR, and your contributions during these hard times. I will take a look at the PR and will check your recommendations. I hope you have a great day ahead. Goodluck.\nThank you so much for the kind words you said, you have no idea what they means to me during this time... thank you!!!! And I am really grateful that I am able to find peace inside the world of code... Also, there seems some problems of the cypress testing of my pr.... dang it... anyway, I will have a look on it as well later. Thank you guys! Stay safe! And have a great day!\nHey I'm glad you're able to find some peace, that's some good news. As for the cypress testing, don't worry about it - I'll investigate. It's almost certainly not your code. It looks like a old bug that I thought I'd squashed."], "neg": []}
{"query": ")}`} onChange={this.handleInputChange} data-index={node.value} style={{ width: `${ blankAnswers[node.value].length * 11 + 11 }px` }} size={blankAnswers[node.value].length} aria-label={t('learn.blank')} /> );", "pos": ["In the fill in the blank challenges, the size of the blanks are based on the number of characters in that blank. It's 11px per letter, plus an additional 11px buffer - This works pretty good, but sometimes you get a word with really wide letters and it doesn't fit: 3 !== 3 3 !== '3' 4 !== 3 3 !== 3 // false 3 !== '3' // true 4 !== 3 // true ```
In order, these expressions would evaluate to `false`, `true`, and `true`. # --instructions-- Add the strict inequality operator to the `if` statement so the function will return the string `Not Equal` when `val` is not strictly equal to `17`", "pos": ["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 \"3\" == 3 // true instead of the screenshot attached. # --description--", "pos": ["The fill-in-the-blank sentence doesn't match what the character says. The written sentence is: The character says: Note the \"the\", instead of \"our\". No response Device: all OS: all Browser: all Version: all No response\nThank you for reporting the issue. Note for maintainers: Step 54 () uses \"our\" instead of \"the\" in the quiz. I think it's fine as-is since there isn't associated audio/caption text, but I'd vote updating it, too, for consistency. This issue is open to first-time code contributors to this repository. Requirements: In Change the text in the tag from to In Change the text in the tag from to Change the fill-in-the-blank text from to Change the backtick placement in the description text from ` In Change the text of the answers from to Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.\nHi I've created a PR addressing these changes."], "neg": []}
{"query": "function* logToConsole(channel) { yield takeEvery(channel, function*(args) { yield put(updateLogs(args)); yield put(updateLogs(escape(args))); }); }", "pos": ["I stumbled upon this issue when playing around with the challenge. If a user wanted to see what the output of the final variable (the converted version of the string) to the FCC console, it does not get rendered showing the converted entities. You can see in the screenshot below that the browser console has the correct values but the FCC console does not show the same thing. ! I am guessing there are several other challenges where the user would not see the HTML code and would instead send the rendered version in the FCC console."], "neg": []}
{"query": "challenge: ChallengeWithCompletedNode; }) => ( - [Start MongoDB and seed the database](how-to-setup-freecodecamp-locally.md#step-3-start-mongodb-and-seed-the-database) - [Start MongoDB and seed the database](how-to-setup-freecodecamp-locally.md#step-3-start-mongodb-and-seed-the-database). In order for Playwright tests to work, be sure that you use the `pnpm run seed:certified-user` command. - [Start the freeCodeCamp client application and API server](how-to-setup-freecodecamp-locally.md#step-4-start-the-freecodecamp-client-application-and-api-server)", "pos": ["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 if we should recommend developing with over in general. If we are okay with this, we will need to update the following section of the :
```js // The global variable var fixedValue = 4;
const incrementer = val => val + 1; // Only change code below this line function incrementer (fixedValue) { return fixedValue + 1; // Only change code above this line } ``` ", "pos": ["\", \"\", \"cat photos\", \"\", \"\", \"\", \"\", \"
let max = Infinity; const [result, vals] = [[], [2, 15, 3, 7, 12, 7, 10, 90]]; vals.forEach((val) => test.insert(val)); for (let i = 0; i < vals.length; i++) { const curHeap = test.print(); const arr = curHeap[0] === null ? curHeap.slice(1) : curHeap; if (!isHeap(arr, 0, arr.length - 1)) { return false; let max = Infinity; const [result, vals] = [[], [9, 3, 5, 2, 15, 3, 7, 12, 7, 10, 90]]; vals.forEach((val) => test.insert(val)); for (let i = 0; i < vals.length; i++) { const curHeap = test.print(); const arr = curHeap[0] === null ? curHeap.slice(1) : curHeap; if (!isHeap(arr, 0, arr.length - 1)) { return false; } const removed = test.remove(); if (!vals.includes(removed)) return false; if (removed > max) return false max = removed; result.push(removed); } const removed = test.remove(); if (!vals.includes(removed)) return false; if (removed > max) return false max = removed; result.push(removed); } for (let i = 0; i < vals.length; i++) { if (!result.includes(vals[i])) { return false; } } return true for (let i = 0; i < vals.length; i++) { if (!result.includes(vals[i])) { return false; } } return true; })() ); ```", "pos": ["A wrong solution is accepted at coding-interview-prep/data-structures/remove-an-element-from-a-max-heap challenge The test case for The remove method should remove the greatest element from the max heap while maintaining the max heap property should not pass. The next example shows that, the function does not maintain the max heap properly: Device: [Laptop] OS: [ Windows 10] Browser: [Chrome] Version: [121.0.6167.86]\nOK, I have make it."], "neg": []}
{"query": "} function handleRunRequest(data: PythonRunEvent['data']) { if (ignoreRunMessages) return; const code = (data.code.contents || '').slice(); // TODO: use reset-terminal for clarity? postMessage({ type: 'reset' }); const { runPython, getResetId, globals, printException } = initRunPython(); // use pyodide.runPythonAsync if we want top-level await try { runPython(code); } catch (e) { const err = e as PythonError; // the formatted exception is printed to the terminal printException(); // but the full error is logged to the console for debugging console.error(err); const resetId = getResetId(); // TODO: if a user raises a KeyboardInterrupt with a custom message this // will be treated as a reset, the client will resend their code and this // will loop. Can we fix that? Perhaps by using a custom exception? if (err.type === 'KeyboardInterrupt' && resetId) { // If the client sends a lot of run messages, it's easy for them to build // up while the worker is busy. As such, we both ignore any queued run // messages... ignoreRunMessages = true; // ...and tell the client that we're ignoring them. postMessage({ type: 'stopped', text: getResetId() }); if (ignoreRunMessages) return; const code = (data.code.contents || '').slice(); // TODO: use reset-terminal for clarity? postMessage({ type: 'reset' }); const { runPython, getResetId, globals, printException } = initRunPython(); // use pyodide.runPythonAsync if we want top-level await try { runPython(code); } catch (e) { const err = e as PythonError; // the formatted exception is printed to the terminal printException(); // but the full error is logged to the console for debugging console.error(err); const resetId = getResetId(); // TODO: if a user raises a KeyboardInterrupt with a custom message this // will be treated as a reset, the client will resend their code and this // will loop. Can we fix that? Perhaps by using a custom exception? if (err.type === 'KeyboardInterrupt' && resetId) { // If the client sends a lot of run messages, it's easy for them to build // up while the worker is busy. As such, we both ignore any queued run // messages... ignoreRunMessages = true; // ...and tell the client that we're ignoring them. postMessage({ type: 'stopped', text: getResetId() }); } } finally { getResetId.destroy(); printException.destroy(); globals.destroy(); } } finally { getResetId.destroy(); printException.destroy(); globals.destroy(); } catch (e) { // This should only be reach if pyodide crashes, but it's helpful to log // the error in case it's something else. console.error(e); void resetPyodide(); } }", "pos": ["Pyodide can crash when adding or method to the class, while NOT trying to write invalid code. I'm mentioning intent, because it can be encountered when attempting to write correct code. ing instance of the class. or method to the class. On each key pressed, code will execute, including the newly written method. So when we are writing the method: Then starting writing inside of the brackets: . Code will be execute also when it's . That's when it will crash hard: Further changes to code will bring up in browser's console: With example challenge to the at the bottom of code. to class definition, add boilerplate: writing between brackets: on the right crashes at the point when it's . Ideally omitting the crashing part. After the crash window needs to be reloaded to make pyodide on the right work again. Tests still appear to work correctly. Recursive function going into maximum call stack size exceeded does not crash pyodide. I've tested example class from above on , it does not crash pyodide."], "neg": []}
{"query": "You should import the `Lobster` font. ```js assert(new RegExp('googleapis', 'gi').test(code)); assert($('link[href*=\"googleapis\" i]').length); ``` Your `h2` element should use the font `Lobster`.", "pos": [" # --description--", "pos": ["Change \"You are Sarah\" to \"You're Sarah\" in step 150, 154, and 155 of Learn Greetings in your First Day at the Office. The change is to match the caption text. (The text isn't visible on the Task 155 page, but in the code.) Change \"You are Sarah\" to \"You're Sarah\" in the following files:\nWe introduce contraction form in task 1 () so I assume we would want to use contractions in later tasks. But I'll wait for the curriculum team to confirm before opening this issue up for contribution. (If we don't want to use contraction in these tasks, the caption text should be updated to match the fill the blank text.)"], "neg": []}
{"query": "# --instructions-- There is a component in the code editor that is trying to render a `name` property from its `state`. However, there is no `state` defined. Initialize the component with `state` in the `constructor` and assign your name to a property of `name`. There is a component in the code editor that is trying to render a `firstName` property from its `state`. However, there is no `state` defined. Initialize the component with `state` in the `constructor` and assign your name to a property of `firstName`. # --hints--", "pos": ["A user wondering why his solution passed. I then realized the 2nd test test is not working as intended. The user is supposed to assign a string to a property of . The user's solution assigns an uninitialized variable as a property. The purpose of the test is to make sure the user assigns a string value to a prop named , but the test still allows the user to pass as the prop's value and the test passes. Not sure why, but assigning an uninitialized property to ends up assigned an empty string to it. This of course passes the test requirement but defeats the purpose of the learning here. I suggest changed the required property name to something like , so if a user does something like this, all of the tests will fail. Test in question: The second test should fail because the property of should be undefinedbecause it was not initialized by the user's code. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response\nAfter a bit of research, it appears that assigning as a property that is uninitialized is the same as writing: = { } Since the window has no name, it is just an empty string."], "neg": []}
{"query": "assert(document.querySelector('img')); ``` Your `img` element should have an `src` attribute. You have either omitted the attribute or have a typo. Make sure there is a space between the element name and the attribute name. Your `img` element should have a `src` attribute. You have either omitted the attribute or have a typo. Make sure there is a space between the element name and the attribute name. ```js assert(document.querySelector('img').src);", "pos": ["I noticed that we are using both \"a attribute\" and \"an attribute\" in challenge descriptions. And we even use both in the same challenge (): const sciCompPyBase = '/learn/scientific-computing-with-python/' + 'scientific-computing-with-python-projects'; const sciCompPyBase = '/learn/scientific-computing-with-python'; const dataAnalysisPyBase = '/learn/data-analysis-with-python/data-analysis-with-python-projects'; const machineLearningPyBase =", "pos": ["Describe the bug Clicking on the certification project name results in both in settings and from the view certification page. ! To Reproduce Steps to reproduce the behavior: to either or (note that you must replace in the link) on a certification project name 404 Page Not Found"], "neg": []}
{"query": "\"
$(document).ready(). Esta funci\u00f3n hace que todo el c\u00f3digo dentro de ella se ejecute s\u00f3lo hasta que nuestra p\u00e1gina ha sido cargada.\", \"Hagamos que nuestro bot\u00f3n \"Get message\" cambie el texto del elemento con clase message.\", \"Antes de poder hacer esto, tenemos que implementar un evento de pulsaci\u00f3n dentro de nuestra funci\u00f3n $(document).ready(), a\u00f1adiendo este c\u00f3digo:\", \"$(\"#getMessage\").on(\"click\", function(){\", \"\", \"});\" ] }, { \"id\": \"bc000000000000000000001\", message to say \"Here is the message\".\",", "pos": ["[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"], "neg": []}
{"query": "Return an array with the current date in the formats: ['2007-11-23', 'Sunday, November 23, 2007'] ['2007-11-23', 'Friday, November 23, 2007'] ## Instructions", "pos": [" ", "pos": ["There's a typo in the PR template on line 14. The word additional is misspelled. !"], "neg": []}
{"query": "const createOnClick = navigate => e => { e.preventDefault(); gtagReportConversion(); return navigate(`${apiLocation}/signin`); };", "pos": ["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."], "neg": []}
{"query": "{ name: 'keywords', content: metaKeywords.join(', ') } ]} > We will notify the community moderators' team, and a send copy of this report to your email:{' '} {email}. this report to your email: {email}
We may get back to you for more information, if required.
h1 element visible on your page by uncommenting it.')\", \"assert($('h2').length > 0, 'Make your h2 element visible on your page by uncommenting it.')\", \"assert($('p').length > 0, 'Make your p element visible on your page by uncommenting it.')\", --> that ends the comment.')\" -->.')\" ], \"challengeSeed\": [ \"\", \"\", ` tag and Crowdin has caught that.", "pos": ["! 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 ( **Hint** Refer to the example code in the text editor if you get stuck. # --hints-- `myArray` should be an `array`.", "pos": ["", "pos": ["Change \"You are Sarah\" to \"You're Sarah\" in step 150, 154, and 155 of Learn Greetings in your First Day at the Office. The change is to match the caption text. (The text isn't visible on the Task 155 page, but in the code.) Change \"You are Sarah\" to \"You're Sarah\" in the following files:\nWe introduce contraction form in task 1 () so I assume we would want to use contractions in later tasks. But I'll wait for the curriculum team to confirm before opening this issue up for contribution. (If we don't want to use contraction in these tasks, the caption text should be updated to match the fill the blank text.)"], "neg": []}
{"query": "code[class*='language-'], pre[class*='language-'] { border-radius: 0; border: none; } pre {", "pos": ["Unnecessary borders are displayed around each line in the solution code of certification projects. For example: to someone's certification page on 'View' ('View Code') to see the solution code Each line in the solution code should not have borders around it ! Device: Laptop OS: Windows 10 Browser: Chrome Version: 114.0.5735.199 (Official Build) (64-bit) The border seems to be in\nHi the borders on the code doesnt seem to be a good UX. I would like to take up this issue.\nHello! I would like to work on this issue. Seems to be a quick fix.\nHey. Contributions are very welcome. Please take a look at to get started.\n! Would this sample look better ?\nI have fixed the issue and created a pull request . Please review it and let me know if there are any concerns.\nTo solve the issue move the properties in , to CSS selector that affects the challenges' layout, or doesn't affect the setting layout.\nSimply removing the border property in fixes the issue ! ! Is it fine if done this way? I have reverted the changes I made to the bootstrap file back to its original form.\nHow can we find those code files from the repo ? If the particular link to the file is not provided in the issue.\nHello I would like to request to be assigned to fix this\nHi! I would like to take up this issue"], "neg": []}
{"query": "# --description-- Move the right eye into position with a `position` property of `absolute` a `top` of `54px`, and a `left` of `134px`. Move the right eye into position with a `position` property of `absolute`, a `top` of `54px`, and a `left` of `134px`. # --hints--", "pos": ["this sentence is missing a comma after \"absolute\". This looks like something that can be fixed by \"first-time\" code contributors to this repository. You should look at the file linked above. Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing."], "neg": []}
{"query": "You can use the built-in function `print()` to print the output of your code on the terminal. Functions are reusable code blocks that you can call (run) when you need them. To call (or invoke) a function, you just need to write a pair of parentheses next to its name. You will learn more about functions very soon. Functions are reusable code blocks that you can call, or invoke, to run their code when you need them. To call a function, you just need to write a pair of parentheses next to its name. You will learn more about functions very soon. For now, go to a new line and add an empty call to the `print()` function. You should not see any output yet.", "pos": ["The second paragraph of the instructions (shown below) uses parentheses twice.
\"monaco-editor\": \"^0.17.1\", \"monaco-editor\": \"^0.18.1\", \"monaco-editor-webpack-plugin\": \"^1.7.0\", \"nanoid\": \"^1.2.2\", \"prismjs\": \"^1.17.1\",", "pos": ["Describe the bug When viewing any challenge in Firefox, I can scroll in the instructions/theory part of the window, but the scrolling does not work in the code editor. I have tried with an external mouse as well as with the Trackpad in my Mac. In the same computer and with the same devices it works perfectly using Chrome. To Reproduce to any challenge. to scroll inside the code editor. does not work. Expected behavior It should scroll. Desktop: macOS 10.14.6 Mozilla Firefox 69.0.3 Additional context So far, to scroll in Firefox I have to click and drag the side scrolling bar in order to navigate the code. I think I'm only having this issue since the last redesign, but I may be wrong on this.\nI've noticed this for quite a while - but I don't recall if it was present before the latest redesign.\nI am also experiencing this problem as of the update. Windows 10 desktop Firefox 69.0.3 External mouse with a scroll wheel In order to scroll I have to find the very small and hard to see scroll bar inside the code editor and click+drag\nHaving the same issue as you Might take a dig in the code/inspector and see what's up.\nIt looks like a possible bug with the monaco editor (we are using monaco-editor\": \"^0.17.1\") I confirmed the bug locally first and I then updated to the latest version of monaco and the scroll works again in Firefox. So it has been fixed. I'm just not sure how involved it is for us to update the editor?\nThanks for digging into this and finding the updates. I think we should be able to update monaco-editor itself which we have as a dep: But the issue right now is to confirm if react-monaco-editor is going to play along as well: I think I could not bump it last time I was trying to update it. Opening up for investigation and fix. A PR is most welcome, or any pointers are welcome as well.\nI am also experiencing this problem after the update. MacOS 10.14.6 Firefox 69.0.3 Both external mouse with a scroll wheel and Macbook Pro trackpad cannot scroll the code window however Chrome and Safari browser does not have this problem.\nI was able to update to both and .", "I updated react-monaco to 0.18.1 and react-monaco-editor to 0.31.0, did a few challenges locally and didn't see any immediate issues from the editor update. A PR would just be a chore update to and package- correct?\nThanks for reporting, please use the voting feature instead of confirming further. We know this is a confirmed bug, more so in an underlying library that we have little control over. We are working on a solution. Keeping the thread free for solutions will help.\nYes please. You are the rockstar."], "neg": []}
{"query": "], [ \"http://i.imgur.com/sfsidp6.jpg\", \"El texto \"Volverse bueno programa requiere tiempo.\"\", \"El texto \"Volverse bueno programando requiere tiempo.\"\", \"Volverse bueno programando requiere tiempo. No esperar\u00edas derrotar a un maestro del ajedrez despu\u00e9s de jugar por 3 meses. No esperes crear el pr\u00f3ximo Facebook despu\u00e9s de programar 3 meses.\", \"\" ],", "pos": ["[X] Learn how Free Code Camp Works [X] Create a GitHub Account and Join our Chat Rooms [X] Configure your Code Portfolio [X] Join a Campsite in Your City [X] Learn What to Do If You Get Stuck"], "neg": []}
{"query": "```js assert.strictEqual( (function () { bob.setFirstName('Haskell'); return bob.getFullName(); _test_bob.setFirstName('Haskell'); return _test_bob.getFullName(); })(), 'Haskell Ross' );", "pos": ["A user can fail with correct code because the tests secretly rely upon global variables accessible to the user. This code fails because the user has the correct solution but deleted the instantiation of the object. Tests should instantiate any data they need. We should update the seed code to We should then add and modify the test suite to use instead of . No response All No response\nHello, Just to clarify, did you want to add in the user code block? Because I noticed when I attempted to reproduce the bug you encountered that two test cases still passed, despite not being initialized in the user's code. I checked the lesson's markdown file and found out that those two test cases did have their own initialized. I was thinking of adding to all the test cases instead. For reference, here's the code for one of the test cases that still passed, despite the bug.\nThose tests initiate their own values so they are fine. I'm talking about the tests that fail if users modify their seed code to not have the object initialization. The new variable would go into a new --after-user-code-- part; that's not currently present. Just adding this new variable inside of the seed creates the exact same problem. Note - this issue isn't marked as ready for contributions yet. Maybe we should review if the tests logic too to see if they are independent\nOpening this up for contribution.\nHi assign this issue for branch bugfix/. I have resolved it, need to create PR for same\nWe don't assign issues. The first PR that fully covers the issue will be accepted.\nHi ok !! I have raised PR . thanks for reply."], "neg": []}
{"query": " {t('learn.fill-in-the-blank')}
{/* what we want to observe is ctrl/cmd + enter, but ObserveKeys is buggy and throws an error if it encounters a key combination, so we have to pass in the individual keys to observe */} {splitSentence.map((s, i) => {", "pos": ["The English curriculum was as an upcoming change. A new \"Fill in the blank\" style challenge was created for it. When you go to one of these challenges and try to type an , it doesn't show up (sometimes). If you type it really quickly after a different character, it does show up. I'm quite sure the hotkeys are interfering - if you turn them off, the problem goes away. The is the one that we noticed, but there could be other characters that have this issue as well. Fill in the blank style challenges the codebase with the upcoming changes shown to one of the fill in the blank challenges: http://localhost:8000/learn/a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/right to type an in the blank, it doesn't work of keyboard shortcuts in settings, it does work All keys to work all the time. Related discussion:"], "neg": []}
{"query": "\"title\": \"Generate Random Whole Numbers within a Range\", \"difficulty\":\"9.9829\", \"description\":[ \"We can use a certain mathematical expression to get a random number between between two numbers.\", \"We can use a certain mathematical expression to get a random number between two numbers.\", \"Math.floor(Math.random() * (max - min + 1)) + min\", \"By using this we can control the output of a random number.\" ],", "pos": ["Challenge has an issue. \"We can use a certain mathematical expression to get a random number between between two numbers.\" double between Best regards. misuta !"], "neg": []}
{"query": "| passport-linkedin-oauth2 | Sign-in with LinkedIn plugin. | | passport-oauth | Allows you to set up your own OAuth 1.0a and OAuth 2.0 strategies. | | request | Simplified HTTP request library. | | lodash | Handy JavaScript utlities library. | | lodash | Handy JavaScript utilities library. | | uglify-js | Dependency for connect-assets library to minify JS. | | mocha | Test framework. | | chai | BDD/TDD assertion library. |", "pos": ["The updated topic banner on the is covering up a couple of the table headers here
On each player's turn, the player removes one or more stones from the piles. However, if the player takes stones from more than one pile, the same number of stunes must be removed from each of the selected piles. On each player's turn, the player removes one or more stones from the piles. However, if the player takes stones from more than one pile, the same number of stones must be removed from each of the selected piles. In other words, the player chooses some $N > 0$ and removes:", "pos": ["! there is written stUnes instead of stOnes This looks something that can be fixed by \"first time\" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing."], "neg": []}
{"query": "const { close, isOpen, isSignedIn, submitChallenge, handleKeypress, message,", "pos": ["I'm testing beta. Describe the bug When submitting a challenge using Ctrl+Enter it automatically completes also the following challenge. To Reproduce Steps to reproduce the behavior: a logged out user to the first challenge it Ctrl+Enter marks as solved also the following challenge and you can go ahead Expected behavior It should solve the current challenge and present the following one. Screenshots As you can see I can submit multiple challenges: ! Desktop (please complete the following information): OS: Ubuntu Browser Firefox Version 69.0.1 Additional context I've been able to reproduce it on but I could skip only one challenge. On my local dev I managed to skip 4.\nI've digged a bit on this issue, and I think the problem is somehow related to this line: As this is triggered also when I'm submitting the finished challenge. If I comment that line out everything works fine, meaning I can Ctrl+Enter to run the tests and submit and the bug disappear. I'm going to dig a bit more, but does that makes any sense to you?\nThanks for testing our beta version and reporting this! You rock. /cc\nThanks It looks like I didn't test the logged out behaviour. so, what do we want to happen for logged out users? The issue I see is that it currently says 'Submit and go to the next challenge', but clearly they can't submit. For now, do we just want them to see the same as logged in users (and quietly not submit)?\nHere is what I would do: ! Of course the modal should close as well like you mentioned. The signin button can link to same as the home page CTA. And we could remove from the first button\nTurns out it's not working properly even when the user is logged in. I think it's a race condition between and . was quite right, the problem is on that line. It shouldn't be called if the modal is open since it's listening to as well.\nyes I think it's with the in the editor and the in the . I can give a further look later if you wish.\nThanks for the offer but I think (with your help!) I've fixed it. It seemed only fair, since I introduced the bug.\nExcellent!\nRelease on its way, should be available within the hour."], "neg": []}
{"query": "import PropTypes from 'prop-types'; import { reduxForm } from 'redux-form'; import { FormFields, BlockSaveButton, BlockSaveWrapper } from './'; import { FormFields, BlockSaveButton, BlockSaveWrapper, formatUrlValues } from './'; const propTypes = { buttonText: PropTypes.string,", "pos": ["Describe the bug Submitting the solution link as \"\" produces an error. Submitting \"\" does not. Whenever we submit a solution link \"\" it is appended with \"/api/\" so resultant solution gives \"Not Found/Timeout error\" and the same link submitted without \"/\" like \"\" gives solution as accepted. To Reproduce Steps to reproduce the behavior: to on 'solution input box' \"https://freecodecamp-\" solution gets accepted. \"https://freecodecamp-\" error Expected behavior This should be tackled as Chrome appends \"/\" by default to any domain URL you copy, so people who would copy URL from search bars will get URLs appended with \"/\" hence producing wrong results. This file shows the testString is directly appended with \"/api\" without checking if the input URL contains \"/\" at the end or not. Screenshots ! Desktop (please complete the following information): OS: Ubuntu 18 Browser: Google Chrome Version 73.0.3683.75\nI am not having this problem - my project will pass the tests with or without the trailing https://fcc-manage-npm- and https://fcc-manage-npm- both pass for me in chrome Can you share a share a screen shot of the error?\nUpdated\nhmm, it's strange that my project will give a good response when that string is appended but not yours https://fcc-manage-npm- - package as response https://freecodecamp- - not found as response not sure what is causing this - the only difference seems to be that I'm using glitch and you're using heroku in fact mine will work like this... https://fcc-manage-npm- so maybe how the two websites process a route or something? can they do that? glitch strips out the extra or something? weird Either way - I think a solution like you suggested would probably work - check if the submitted URL ends in a and remove it if it's there. This same problem probably occurs throughout the whole backend area all over the place.\nWeird, would u check with an alternative hosting if the problem persists? If the problem persists the last solution would be stripping the las from input url\nDid you try this Above is the actual link processed in the test with an appended , It gives a response with the same as it is shown in the screenshot I posted. So I guess the problem is with the routing of Heroku."], "neg": []}
{"query": "font-size: 1.5rem; } .donation-modal .btn-link:focus { outline-width: 1px; outline-style: solid; } @media screen and (max-width: 991px) { .donation-icon-container { margin: 30px;", "pos": ["Describe the bug The popup modal for becoming a sponsor cannot be closed by just using the keyboard. To Reproduce Steps to reproduce the behavior: some challenges which triggers the modal Expected behavior The modal closes when pressing the Esc key The modal closes when clicking somewhere outside of the modal I can navigate to the \"Ask me later\" button with the tab key to close the modal Screenshots ! Desktop (please complete the following information): OS: Ubuntu Browser: chrome and firefox Version: Latest Smartphone (please complete the following information): Unknown\nThis is by design to the best of my knowledge. I would defer to Quincy for a confirmation.\nThanks for reporting that the \"ask me later\" link should be accessible by tab but you're correct - it isn't. We will fix this. We decided not to have escape key / clicking outside of the modal to dismiss this modal (like we do with other modals) since the goal is to get people to actually slow down and consider donating to our nonprofit - not to just mash the escape key."], "neg": []}
{"query": "assert(document.querySelectorAll('.characters > div')?.length === 4); ``` Your two new `div` elemnts should have the `class` set to `blue`. Your two new `div` elements should have the `class` set to `blue`. ```js const divs = document.querySelectorAll('.characters > div');", "pos": ["There is a typo in learn-intermediate-css-by-building-a-picasso-painting, is used instead of . Here is the typo 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. Sometimes we may get more than one pull requests. We typically accept the most quality contribution, followed by the one that is made first. Happy contributing.\ncan i take this up\nfeel free to open pull request after you have read the guidelines"], "neg": []}
{"query": "} ::selection { background-color: rgba(var(--highlight-color), 0.3); background-color: var(--selection-color); } @media (max-width: 500px) {", "pos": ["If I try to select text with my mouse so I can copy/paste it or something - the selected text has the same background as the rest of the page. Making it difficult to see what is selected, and frustrating to try and select, well anything. ! This seems to occur across the entire site. Perhaps it was intentional or something, but I don't think it's a good ux. Note: the text does actually get selected, so you can still copy/paste it. Tested on Chrome and Firefox\nGood catch. It'll be this PR: which didn't scope the change to challenge descriptions. I'll put together a quick fix. Edit: nevermind, it's just that has to be passed four values, not two. I don't quite understand how this ever worked."], "neg": []}
{"query": "## Description A side effect of the sort method is that it changes the order of the elements in the original array. In other words, it mutates the array in place. One way to avoid this is to first concatenate an empty array to the one being sorted (remember that concat returns a new array), then run the sort method. A side effect of the sort method is that it changes the order of the elements in the original array. In other words, it mutates the array in place. One way to avoid this is to first concatenate an empty array to the one being sorted (remember that slice and concat return a new array), then run the sort method. ## Instructions", "pos": ["Feature Request: Add as valid method to clone/copy array and as an alternative to Link to challenge: I often use () to return an array copy, as this is what MDN recommends. When I was working on this challenge I could not get it to pass, even though my solution was returning the correct answer. The challenge ONLY accepts answers that use the format [].concat(arr). The wording in the challenge is clear, but experience from earlier challenges hava been lenient as long as you provide a valid solution. Other reasons: When googling for array copying the top result from MDN recommends slice.()MDN's Array page recommends using () for array copying opinion, is more readable than\nYou have to also view the test text as part of the instructions for the challenges. In this case, one of the the challenge test expects you to use the method. It even mentions the method in the Description section of the challenge. Always read the test text to make sure you understand what is being asked of you.\nIf anyone working on this issue? I would like to take care of this. In my opinion, has a point in that the test should allow .slice() if the effect is the same - we know that many times people can solve a problem in multiple ways, and that should be ok. Please let me know. I can either clarify the text so that the user knows to use concat, or I can modify both the description and the test so that .slice(0) is accepted ( I am inclining more towards the second option though).\nI bring it up since alternative solutions has been accepted previously in the corriculum. As long as the final solution is correct. It was frustrating to have the tests fail even though the output was correct.\nI normally would agree, but the description mentioned and the test case specifically tells you to use\nDoes it have to be specifically .concat() though? The test seems to be about learning mutation and which functions have side effects and how to work around that. We learn about both concat and slice earlier on, and it seems arbitrary to only accept concat. If the point of the challenge is to learn about concat that's fair. I'd recommend mentioning that .slice() is also an option, but ask to use .concat() still.", "If the point is avoiding mutation and being aware that certain methods like .sort() will have side effects on the original array. Then I don't understand why it's so strict.\nand After thinking a bit more about your points, I agree this challenge could be updated to allow any valid method for copying the array (, , , ) and other possible ways not mentioned. While looking at the challenge tests, I also realized someone could still technically hard-code the final return value, so I created a PR to address your concerns and attempt to not allow hard coding of the final array returned."], "neg": []}
{"query": "You are provided sentences with some missing words, like nouns, verbs, adjectives and adverbs. You then fill in the missing pieces with words of your choice in a way that the completed sentence makes sense. Consider this sentence - It was really **____**, and we **____** ourselves **____**. This sentence has three missing pieces- an adjective, a verb and an adverb, and we can add words of our choice to complete it. We can then assign the completed sentence to a variable as follows: Consider this sentence: ```md It was really ____, and we ____ ourselves ____. ``` This sentence has three missing pieces- an adjective, a verb and an adverb, and we can add words of our choice to complete it. We can then assign the completed sentence to a variable as follows: ```js const sentence = \"It was really \" + \"hot\" + \", and we \" + \"laughed\" + \" ourselves \" + \"silly\" + \".\";", "pos": ["The following sentence in the Word Blanks lesson should have a code block (three backticks) surrounding the code section which is directly referring to the completed code block below it on the page. Instead of: Consider this sentence - It was really , and we ourselves . It should say: Consider this sentence - The sentence has been translated because of the missing code blocks (and will not make sense as it's a direct reference to the actual code shown below it) The sentence with the blanks should be in a code block that does not wrap. (three backticks above and below it) Instead of: Consider this sentence - It was really , and we ourselves . It becomes: Consider this sentence - No response n/a No response\nQuestion for those in the know. Do we have a way to keep content from being translated that doesn't involve using the triple back tick code block? I would be cool to use sr-only text \"Blank\" (or something similar) for those underlines to represent missing text. But we can't do that using the code blocks since they are wrapped in a .\nDo they get wrapped in a if they're inline code?\nIt looks like they are just wrapped in strong tags in crowdin at least. I don't see a pre tag.\npre sounds like a plausible idea. We should go ahead with that.\nThe challenge require the sentence to not be translated, and element don't stop translation, it gives the choice to the translation to translate or not, which isn't ideal. Here is the file, to solve this issue, change the structure of the sentence to md It was really , and we ourselves . ` If you would like to fix this issue, please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our prolific contributors will guide you through this.\nnope, but we can open an issue for this yes\nCan you assign me this issue\nOnly issues with the or label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute, and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the"], "neg": []}
{"query": "button1.onclick = buyHealth; button2.onclick = buyWeapon; button3.onclick = goTown; } --fcc-editable-region--", "pos": ["In step 41 of the RPG project in the JS beta curriculum, the instruction states: Change the property of the to be \"You enter the store.\". I believe this sentence is not 100% clear without either removing the word \u201cthe\u201d in front of or adding the word \u201cvariable\u201d to the right of . As it is, the sentence misleads a bit because it says \u201cthe \u201d which makes it sound like it is referring to some text somewhere, instead of the text variable. so either: Change the property of to be \"You enter the store.\". or Change the property of the variable to be \"You enter the store.\". will be clearer. Please look at questions posted on the forum for examples of people missing the point of the request with the current wording. I personally prefer the second one. N/A N/A N/A Example of confused learner:"], "neg": []}
{"query": "} if (provider === 'email') { return User.findOne$({ where: { email } }) return User.findOne$({ where: { email: new RegExp(email.replace('.', '.'), 'i') } }) .flatMap(user => { return user ? Observable.of(user)", "pos": ["I can't change my email address on the settings page. Anyone one else want to confirm this?\nHappy to help on this - I poked around a bit and believe I've found the source of the bug. Also glad to point you in that direction if you prefer to handle this since you've already assigned it to yourself.\nSure, thing go for a PR if you have something ready.\nI have a WIP PR ready - cool if I open that?\nDo it you can use draft mode if it's not ready.", "Describe the bug TL;DR \u2013 first signed up with GitHub (which has email # 1 set as primary). Lately changed the email on FCC to email # 2 and since then unable to log in using any of the available methods. I have two emails: .domain On GitHub, I have the first one as a primary email and the second one as a secondary. IIRC, I first signed up to FCC with GitHub, so the letters were going to my first email. Then I set my email at FCC to the second one and this is where the fun begins. What happens when I try to log in using different methods: As you can see, no method allows me to log into my original account. Email bindings shown in each of the accounts: My session cookie is still present in one of the browsers and when I try to change the email back to # 1, it says that it is already bound to another account, which is fair enough.\nDoes something need to be clarified? It's not a \"Help\" issue, it's a bug report.\nWhat if you try to change your email to some other email - then go to the browser that's still logged in with the original account, and change the email back to - or if you're still logged in on a browser with your original account, maybe change the email to a new email and see if that will allow you on to your original account. It doesn't get to the root of the problem, but it may get you back on to your original account.\nHi Thanks for your report. Can you send me an email with details of your emails. I'll fix up your account, and investigate the root cause and possible fix there on.\nI no longer have this session. I've sent an email, the subject is as the name of the issue.\nI can see that we indeed have two accounts for each of your emails listed in the email. For all intents and purposes, we only use email as the primary identifier of your account. So, it literally depends on what a provider returns us as an email address to lookup and sign you into the account. For example: First email: Changed email: Scenario 1: When you sign-in through email, you must use your changed email \"\", using the old email will indeed create a new account for \"\". We do not track old emails per account as a measure of privacy.", "Scenario 2: When you sign-in through social providers like GitHub, they should be returning us the changed email, or indeed it will simply create a new account for the email they returned to us. We do not bind email to social provider again for privacy reasons. Essentially by design, we will create or return an account as per the authentication method used.\nWell, the thing is \u2013 there are now three accounts. The original one is .\nOkay, I found the issue. Thanks for the additional information. This indeed is a validation bug, when someone changes email. So, when you entered your email on the update form in settings: You entered something like: , this was stored on our DB as is without sanitising it to lowercase. And the providers will always return lowercase emails. We unfortunately treated this incorrectly. If you are okay, I am going to delete your 'new accounts' and restore the email that you intended as per the change lower-cased, which should give you access back to your original account. As for the fix, I'll audit the code and get back to you.\nI don't use them, so yeah.\nthanks for confirming, I have updated the email to be lowercased on your original account and removed the new accounts. Can you test this and let me know, if it's all fixed.\nYep, it's working.\nThe fix for this is dependent on"], "neg": []}
{"query": "\"Vamos a darle un id \u00fanico a cada uno de nuestros elementos div que tienen la clase well.\", \"Recuerda que puedes darle a un elemento un id como el siguiente:\", \"<div class=\"well\" id=\"center-well\">\", \"Dale al pozo de la izquireda el id left-well. Al pozo de la derecha, dale un id de right-well.\" \"Dale al pozo de la izquireda el id left-well. Al pozo de la derecha, dale un id right-well.\" ] }, {", "pos": ["[ ] Use Responsive Design with Bootstrap Fluid Containers [ ] Make Images Mobile Responsive [ ] Center Text with Bootstrap [ ] Create a Bootstrap Button [ ] Create a Block Element Bootstrap Button [ ] Taste the Bootstrap Button Color Rainbow [ ] Call out Optional Actions with Button Info [ ] Warn your Users of a Dangerous Action [ ] Use the Bootstrap Grid to Put Elements Side By Side [ ] Ditch Custom CSS for Bootstrap [ ] Use Spans for Inline Elements [ ] Create a Custom Heading [ ] Add Font Awesome Icons to our Buttons [ ] Add Font Awesome Icons to all of our Buttons [ ] Responsively Style Radio Buttons [ ] Responsively Style Checkboxes [ ] Style Text Inputs as Form Controls [ ] Line up Form Elements Responsively with Bootstrap [ ] Create a Bootstrap Headline [ ] House our page within a Bootstrap Container Fluid Div [ ] Create a Bootstrap Row [ ] Split your Bootstrap Row [ ] Create Bootstrap Wells [ ] Add Elements within your Bootstrap Wells [ ] Apply the Default Bootstrap Button Style [ ] Create a Class to Target with jQuery Selectors [ ] Add ID Attributes to Bootstrap Elements [ ] Label Bootstrap Wells [ ] Give Each Element a Unique ID [ ] Label Bootstrap Buttons [ ] Use Comments to Clarify Code\nWorking on this one"], "neg": []}
{"query": "\"assert.deepEqual(inventory([], [[2, 'Hair Pin'], [3, 'Half-Eaten Apple'], [67, 'Bowling Ball'], [7, 'Toothpaste']]), [[2, 'Hair Pin'], [3, 'Half-Eaten Apple'], [67, 'Bowling Ball'], [7, 'Toothpaste']]);\", \"assert.deepEqual(inventory([[0, 'Bowling Ball'], [0, 'Dirty Sock'], [0, 'Hair pin'], [0, 'Microphone']], [[1, 'Hair Pin'], [1, 'Half-Eaten Apple'], [1, 'Bowling Ball'], [1, 'Toothpaste']]), [[1, 'Bowling Ball'], [1, 'Dirty Sock'], [1, 'Hair pin'], [1, 'Half-Eaten Apple'], [1, 'Microphone'], [1, 'Toothpaste']]);\" ] }, { \"_id\": \"a2f1d72d9b908d0bd72bb9f6\", \"name\": \"Make a Person\", \"difficulty\": \"3.12\", \"description\": [ \"Fill in the object constructor with the methods specified in the tests.\", \"Those methods are getFirstName(), getLastName(), getFullName(), setFirstName(), setLastName(), and setFullName().\", \"These methods must be the only available means for interacting with the object.\", \"There will be some linting errors on the tests, you may safely ignore them. You should see undefined in the console output.\" ], \"challengeEntryPoint\": \"var bob = new Person('Bob Ross');\", \"challengeSeed\": \"var Person = function(firstAndLast) {n return firstAndLast;rn};\", \"tests\": [ \"expect(Object.keys(bob).length).to.eql(6);\", \"expect(bob instanceof Person).to.be.true;\", \"expect(bob.firstName).to.be.undefined();\", \"expect(bob.lastName).to.be.undefined();\", \"expect(bob.getFirstName()).to.eql('Bob');\", \"expect(bob.getLastName()).to.eql('Ross');\", \"expect(bob.getFullName()).to.eql('Bob Ross');\", \"bob.setFirstName('Happy');\", \"expect(bob.getFirstName()).to.eql('Happy');\", \"bob.setLastName('Trees');\", \"expect(bob.getLastName()).to.eql('Trees');\", \"bob.setFullName('George Carlin');\", \"expect(bob.getFullName()).to.eql('George Carlin');\" ] } ]", "pos": ["
Click here to view more cat photos.
--fcc-editable-region--