jiebi/CodeConvo huggingface dataset:
In module, currently, the instruction says: Write an directive that goes through a list: and assigns each variable to a class, where the part changes for each item. Each class should set the the respective color. In order to avoid any sort of ambiguity and to make instructions more clear, I think the instructions should be as follows: Write an directive that goes through a list: and assigns each variable to a class, where the part changes for each item to the respective color. Each class should set the to the respective color as well. In module, the instructions should be as follows: Write an directive that goes through a list: and assigns each variable to a class, where the part changes for each item to the respective color. Each class should set the to the respective color as well. <img width="521" alt="image" src=""- Device: Laptop OS: macOS 13.0.1 Browser: Chrome Version: 107.0.5304.110
The test is expecting to use 49 in the slice. Which seems like could have been an error….It should be 50 The test is expecting to use 49 in the slice. Which seems like could have been an error….It should be 50 No response Device: [Laptop] OS: [Windows 10] Browser: [ Chrome] No response
Yes, you are correct. The test is incorrect. I will go ahead and open this up for contribution for the community. Please read through the guidelines first. We do not assign issues. If you are interested in working on this, then work on the issue and create a PR. Several changes need to be made Here is the first file that needs to be updated For step , you will need to update these two tests here to use the correct value of 50 for the slice method. You will also need to update the seed code for steps 28 and 29. Remember that step 29 also has the complete solution which needs to be updated as well Happy coding
Describe your problem and how to reproduce it: Anchor links such is not working properly in several languages. For sure is not working in: Russian, Spanish, Chinese languages. Add a Link to the page with the problem: Tell us about your browser and operating system: Browser Name: Chrome Browser Version: Version 74.0.3729.169 (Official Build) (64-bit) Operating System: Windows 10 Pro 1809 If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box): !
These 3/4 PRs (exlude one - which I PR'd to my own forked-repo) may close this issue. Please review them.
The following code passes all the challenge's tests, but it is incorrect (it fails to find if is the last element of The code above should not pass the challenge. ! Device: Macbook Pro OS: 10.13.6 Browser: Firefox Version: 97.0.1
Checking against the solution on the forum, it appears that should return . We could add a test to the challenge that checks this, which would resolve this issue.
Yes, that should be all it takes to resolve this issue.
I'm going to go ahead and open this up for first time contributors. A PR to resolve this issue will: Add a test to that asserts returns . If you are interested in working on this issue, we recommend starting with our , and you are welcome to join our if you have any questions.
can I do the code in python ?
No. Our challenges run on Javascript. In this case, you don't need to write a new impl of the algorithm or anything. You just need to add an additional test case that matches the one given above.
Sure, unless wants to take this, I will
Describe your problem and how to reproduce it: Clicking on any of the case study links under the developer ethics guide in ~any language~ will all lead to the Software Engineering Ethics Research Institute (SEERI) homepage. Add a Link to the page with the problem: Tell us about your browser and operating system: Browser Name: Chrome Browser Version: Operating System: Mac OS If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box): ! It seems as if the Ethical Cases tab on their website is the was probably where the case studies used to live but has since been replaced by an empty template. I can hop onto this issue if y'all have ideas on how to proceed - find new case studies or get rid of these links?
I'd say google the links, maybe they've moved to a new place. If you cannot find anything, I think we would need new links but also some discussion on the issue before we change links to new studies. Go ahead and take this up if you want
i am a first timer contributor i would like to fix this if you can just show where to begin
We'd absolutely welcome you help on this issue but we're waiting for a reply from . In the meantime, have a look and check for issues which do not already have a PR made. Also make sure you read out contributor's documents properly in the /docs directory.
Okay, I will look into this!
It seems that the case studies are no longer on the site, but I've found a list of similar case studies at another . Also, the first link on the page also seems as if it's supposed to lead to an ethics code, but that has
If the new links look fine to you, go ahead and make different PRs for each language and replace the links
English links are in the pull request below, but if approved, translations will be needed!
We are no longer excepting translations for the existing curriculum, so don't worry about creating PRs for the other languages.
There is a typo in step 87 of Building a Cipher: Fix the typo in the following file:
This issue is open to first-time code contributors to this repository. The file that you should be updating is linked in the original post. 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.
Is someone working on this issue? If not, I want to work on it.
We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labelled with or are open for contributions. Please make sure you read . We prioritize contributors following the instructions in our guide. Join us in or if you need help contributing - our community will be happy to assist you.
<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Describe your problem and how to reproduce it: Bug - Test for below code fails with error: checkSign should use multiple conditional operators. Screenshot -1: ! Screenshot - 2: ! How to reproduce It. Instead of Error: “checkSign should use multiple conditional operators.” Error should be: Using multiple ternary operators in statement-if-true part of ternary operator is not best practice. (Increasing clarity of error message) Add a Link to the page with the problem: Link to ; Link to reporting bug on forum:
I agree that some tweaking makes sense. I'd would help if we can capture the fact that the test fails if a) you aren't using a multiple ternary or b) the ternary isn't in the expected format.
I do not think this is what the challenge asks for: This is the code from the docs: What you have constructed is: I agree, you have accomplished_ the task. However, the expected implemented logic is of the form: So, perhaps we should change the challenge instructions to be more specific as to the format...
Sir, please note: this repository is of . Thank You for your reply.
, haha. Yes, I am well aware. I linked to the Mozilla documentation to retrieve an example of Multiple Conditional Ternary Operators. My point is still entirely valid.
` Please try the above code in this . Please check what is required to pass the challenge.
, I have, and I understand exactly why this issue was created. I am pointing out that the format of your solution is not what is expected, which is clearly seen in the example given in the lesson: I agree, you have accomplished the task. However, the expected implemented logic is of the form: Your solution does not contain logic.
Sir the condition to win the challenge is: Use multiple conditional operators in the checkSign function to check if a number is positive, negative or zero. The function should return "positive", "negative" or "zero". We should Use Multiple Conditional (Ternary) Operators.
Perhaps the error message should be "... multiple conditional operators in the recommended format."
And perhaps adding a note along the lines of "It's is a best practice to format the multiple conditional operators so that each condition is on a separate line, as shown in the example, for readability."
"It's is a best practice to format the multiple conditional operators so that each condition is on a separate line, as shown in the example, for readability." I would be for adding a note similar.
Closed? Was an update to the description merged?
It is not possible to implement if/else if/else logic using ternary Operator. But the task can be accomplished. No, the expected implemented logic is of the form:
Expected solution (one of 6, very similar to your final answer): If-else version A ternary, or multiple ternary, always can be written with if-else. The challenge and the description is accurate. We just want to add a clarifying comment or two to emphasize the best practice formatting for readability.
Nevermind.
It looks to me like adding clarifying comments is the best solution. So, let's leave this open until a PR gets merged.
I'd like to jump on this, if possible. I'm a first-timer but really excited to learn!
Go for it, This should be a good issue for a first-timer. I recommend taking a look at the , and if you get stuck ask away in the
Clicking on link in the code preview (for example on "The Garfield Files") opens up web page with all three modules again (Coding Challenge, Code field, Code preview). ! ! I don't know, if this is challenge specific.  Link to the page with the problem: Tell us about your browser and operating system: Browser Name: Firefox Browser Version: Firefox for Linux Mint 1.0 Operating System: Linux Mint 18.3
This is due to how the rendering engine for our curriculum works. If you try this on a stand alone webpage, it won't happen.
Thank you for the explanation May I ask, how I could open it on a stand alone web page? Could we maybe improve the issue, by inserting a dead link instead of leaving it empty?
When I say stand alone web page I mean the you copy the html part out from the FCC paste it in another new file on you PC and run. What we can do is make a PR so that the href contains and not , that fixes it
That is a valuable piece of information, thank you! I will create the PR immediately.
If I click on a link to a certificate from my settings page, it opens in the same tab. If I click on one from the timeline on my portfolio, it opens in a new tab. We could probably make this consistent. I believe I made the timeline links open in a new tab because there's no nav on the cert pages, so the only way to get back to the site is with the browsers back button. I believe I have also heard an argument that they should open in the same tab so I'm not sure what the better way to go is.
sir.. i would like to solve this i contribute??
please go ahead . No assignment is necessary as described in our . The first comprehensive PR will be considered for review.
So should it open in a new tab or in the same tab? what should happen?
same question as shold happen??
I will double check with the dev team and get back to you.
My vote was to open them in a new tab - like I said, there's no nav on the certs so you have to use the browsers back button to get back to the website.
I agree
I was told, "If the user donates on the certificate, the redux store will not be updated on the other tab and would need a refresh". So, I think that for now, we should open them in the current tab - unless someone has a better solution to that.
Could you clarify this? If the user donates on the certificate opened on a new tab, the redux store will not be opened on the original (settings) tab? This does not sound much like a problem. In fact, I would have said that is expected behaviour, from past experience.
So If a user donates on their certificate the store on that tab gets updated (isDonating: true). When the user goes back to the previous tab to work on the challenges, she will see the donation modal. (unless refresh). Solutions: 1) keep a navigation on the certs and keep them in the same tab 2) open certs in new tab but sync state across tabs, Might find this one helpful.
What is the chosen path to solve this issue? Or am I missing something?
We have not come to an agreement regarding the way to move forward yet. The options are listed . Once we reach an agreement, we should make the experience consistent across the app.
In the Responsive Web Design challenge there are these sentences As I don't think these colors are keywords, I propose to remove the backticks for translation purposes
Bit of a weird one, tbh. Those all are html color codes, but they're really just being used as names for colors. Anyways, it seems reasonable to stop using them as keywords, honestly.
I mean in this specific use case, considering also the table in the description with the hsl codes does not have the colors in backticks. And ok there are the name of the classes, but better needing to do something like " (ciano)" than keeping the colors untranslatable everywhere else imo
Sure, I agree that they shouldn't be keywords. I was just speculating as to why they're currently keywords.
Some users are encountering the error in the linked video. See the forum for more discussion. All Console error messages should clear so users can run code No response various No response
If I revert the change from it seems to fix it.
I am also facing this issue while doing javascript datastructures and algorithms course. The console errors are stuck and the solution is to refresh the page everysingle time.
I also face this issue while doing a JavaScript data structures and algorithms course. The console errors are stuck and the solution is to refresh the page every single time.
Thanks for tracking that down, it was defintiely the culprit.
In the multi-file editor, if the preview pane is toggled off and then on again, any output in the console will be cleared. Granted, the user can always check their code again to get the console output back. But I'm assuming this is not intended behavior? Any page using the multi-file editor the Survey Form in the new RWD the Console button so it is showing below the preview. the tests. the Preview button to hide the preview. the Preview button again to show the preview. that the console output resets. Console output should not reset if the preview pane is toggled off/on. No response N/A No response
Here is what I tried, so anyone in the future save time: Changing lowerJaw to JSX didn't help. TabPane change display to , but React doesn't care and preserve the state. if you turn to JSX, so react preserve the state, it won't render at all. monaco wants it to be an element. I don't know if this helps, but I personally think if become JSX, then React can do its thing and preserve the state. I have no idea how to make monaco accept JSX instead of Element, so I am going to stop there, maybe someone else the same issue. Here is the file with the issue Here is the react-wrapper for the monaco, maybe it does have a way to do it
I have looked it more up And I don't think, it is possible to inject JSX element inside the editor. I am maybe wrong, but the easiest solution, is to have the editor in instruction and lowerjaw in different tab, is that possible?
I think the console output is not related to the editor per say. We just need to investigate output, consoleOutputSelector, and consoleOut state in redux store and see at what point it gets reset.
In step 53 of the Building a Cafe Menu project: Adding by mistake three p elements inside a single article element (instead of three different article elements), I received an unhelpful hint message. Code: Hint: I think that the hint should say something like: You should add three new article elements.
I don't think this hint is necessary wrong or needs to change - there's a test that makes sure there's no spaces between the elements. It fails and gives that message. It just gives the message for the first test that fails. The idea then would be to use the hint to try and solve the step. If you remove the spaces, as the hint suggests, you will pass the step. Although, because I did not add the three new elements, it should not have passed. I think we should just add another hint and test, probably near the top of the tests - maybe the first test, that checks that three new article elements were and we can use the suggestion as the hint. Then, that would be the first test to fail, and you would get the hint about the number of article elements.
<section<h2Desserts</h2<article class="item"<p class="dessert"Donut</p<p class="price"1.50</p<p class="dessert"Cherry Pie</p<p class="price"2.75</p<p class="dessert"Cheesecake</p<p class="price"3.00</p<p class="dessert"Cinnamon Roll</p<p class="price"2.50</p</article</section
Challenge has an issue. User Agent is: <codeMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36</code. Please describe how to reproduce this issue, and include links to screenshots if possible. content: ""; // when you addany extra space outside the empty string will not pass this challenge. Can't you add any whitespace?
I believe this is by intention, rather than being a bug. You can, but you would do so using a few different means such as margin, padding, or positioning depending on the situation and what you are trying to accomplish. The content attribute of the :before and :after attributes would not interpret arbitrary white space in the way I believe you are asking.
I see what you mean, the tests are too strict. I could fix this if a moderator approves that the tests need to be changed.
We just launched the new curriculum and learning platform. Please take a look at it: Do you still think this challenge is confusing or overly hard? If so, we would welcome improvements to this challenge.
I will look into the tests tomorrow.
You're the man. Thanks! Please keep us posted
I will prepared this and a couple of others for first timers. If the issue is not taken in a couple of days, I will come back and fix them. Let me know if you want me to fix them immediately The location of the test that needs to be changed: the new line should be: "testString": "assert((/.heart:befores?{[sS]content:s?""s?;/gi), 'The <codecontent</codeof the <codeheart:before</codeselector should be an empty string.');"
FYI on the issues page it encourages fist timers to search for the "good first issue" label which does not exist. It should say "first timers welcome" !
Does the issue still exist if not then I would like to work on it?
sorry for the late response. Yes it is open.
could you link me to the page where you're seeing this?  Then I can update it.
It is on the issues page when I sign in with my moderator account.
please review my PR regarding this issue.
for step 38 here: the new user needs to set up an SSH key to push to github. the key is given by C9, but it's not clear to me how to add it to github, a simple copy /paste to my SSH keys in my account isn't working. This should be clarified for new users of c9. Not sure if it's needed for every c9 workspace or just once, but I guess github is seeing c9 as a new computer?
Here is a set of instructions that worked for me: In the bottom left of your C9 dashboard is a section called “Add-on Services”. Click “activate” next to the “GitHub” icon (if you haven’t already). When the pop up appears, tell it to allow access to your account. This should complete the link between GitHub account and your C9 account. While still on the dashboard, look to the right under “Account Settings” for the link “Show your SSH key”. Click on it, and copy the value which appears. Go to the GitHub SSH settings page, and click “Add SSH Key” Enter the title “C9″, paste the SSH Key into the “Key” box, and click “Add Key”.
Excellent. Thank you for pointing this out. I'll add this.
<img width="993" alt="screen shot 2015-10-23 at 3 08 25 pm" src=""in this challenge you are supposed to change the first line: h2 class="red-text"CatPhotoApp</h2into.... this next line. h2 class="red-text text-center"CatPhotoApp</h2however if you just put in h2 class="text-center"CatPhotoApp</h2it sends you through and says you're awesome and stuff, however you lose the red text in the process. I'm new to FreeCodeCamp and I know this isn't a huge issue, I just wanted to contribute.
<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Describe your problem and how to reproduce it: The challenges prior to this method use the match() method to determine regex tests, in this there is a sudden use of the test method. There should be a small description to be provided to the user so that he/she can understand the difference between the two, also the challenge requires the use of the test method in place of match, so a beginner might be replacing the test with match only to be thrown with an error. Alternatively, the guide can provide the description necessary. I can open a PR and do the modifications. Add a Link to the page with the problem: Tell us about your browser and operating system: Browser Name: Not Browser Specific Browser Version: Not Browser Specific Operating System: Not OS Specific If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box): <img width="1160" alt="screenshot 2019-02-08 at 1 32 33 am" src="https://user-"<img width="623" alt="screenshot 2019-02-08 at 1 32 47 am" src="https://user-"
Really that requirement is just to make sure you don't change any line besides the one that says .
Yes but then again, in the next challenge, a user maybe inclined to try the test method as well. Causes a bit of ambiguity.
I specifically remember being confused by '.test()' because FCC just threw it in there without an explanation, so I think 's concerns are valid.
On checking through some stack overflow, i have observed that method will return a boolean true or false on whether a regex matches a string or not, whereas a method will return the matching strings or a . So it would be worthwhile to add a note to explain the use of test in contrast to match in this particular challenge. any thoughts ?
The first challenge in the Regular Expressions section introduces the method, so they've definitely had a chance to learn about it. That said, the instructions do talk about while the tests require you to use , so it is a little muddled.
It wouldn't hurt to remind someone that exists, so I think using it as part of the challenge is perfectly fine. In light of that, all I would change is the description. If you're still interested in working on this, I'd recommend modifying the description (the examples in particular) to use .
I have never modified a challenge before, but I have been looking into it and would love to try to help out. I am working on it right now, if that's alright.
Challenge has an issue. User Agent is: <codeMozilla/5.0 (Macintosh; Intel Mac OS X ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.99 Safari/537.36</code. Please describe how to reproduce this issue, and include links to screenshots if possible. My code: There's a typo in the top comment. Instead of reading "Let's create an object with a two functions." it should read "Let's create an object with two functions."