jiebi/CodeConvo huggingface dataset:
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. !. It has to control if the user has really removed the btn-default class. You can in the screenshot that it accepts the code even though i have not inserted btn-default in the removeClass() function
Thanks Confirmed, challenge is marked completed with incorrect answer

Discussion:
], "tests": [ "assert($(".btn-default").length === 0, 'Remove the <code>btn-default</code> class from all of your <code>button</code> elements.')", <del> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')" </del> <ins> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')", "assert(editor.match(/.[vs]*removeClass[sv]*([sv]*('|")s*btn-defaults*('|")[sv]*)/gm), 'Only remove the <code>btn-default</code> class.')" </ins> ], "challengeSeed": [ "fccss",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. 4th paragraph reads: "Use bracket notation to find the first character in a the firstLetterOfLastName variable." The "a" is not necessary

Discussion:
"<code>Bracket notation</code> is a way to get a character at a specific <code>index</code> within a string.", "Computers don't start counting at 1 like humans do. They start at 0.", "For example, the character at index 0 in the word "Charles" is "C". So if <code>var firstName = "Charles"</code>, you can get the value of the first letter of the string by using <code>firstName[0]</code>.", <del> "Use <code>bracket notation</code> to find the first character in a the <code>firstLetterOfLastName</code> variable.", </del> <ins> "Use <code>bracket notation</code> to find the first character in the <code>firstLetterOfLastName</code> variable.", </ins> "Try looking at the <code>firstLetterOfFirstName</code> variable declaration if you get stuck." ], "tests": [
Change:
Challenge has an issue. The Challenge is marked as complete even if the required tasks are not completed successfully. Refer to the screenshot: ! Just adding the removeClass(without any parameters) on the jQuery selector marks the task as complete. Thank you. :smile:
I have the same issue but for me i can go to the next challenge although not all tests passed. !
Dear camper, your issue is a duplicate and already fixed: Please see .

Discussion:
], "tests": [ "assert($(".btn-default").length === 0, 'Remove the <code>btn-default</code> class from all of your <code>button</code> elements.')", <del> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')" </del> <ins> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')", "assert(editor.match(/.[vs]*removeClass[sv]*([sv]*('|")s*btn-defaults*('|")[sv]*)/gm), 'Only remove the <code>btn-default</code> class.')" </ins> ], "challengeSeed": [ "fccss",
Change:
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 !

Discussion:
"title": "Generate Random Whole Numbers within a Range", "difficulty":"9.9829", "description":[ <del> "We can use a certain mathematical expression to get a random number between between two numbers.", </del> <ins> "We can use a certain mathematical expression to get a random number between two numbers.", </ins> "<code>Math.floor(Math.random() * (max - min + 1)) + min</code>", "By using this we can control the output of a random number." ],
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Example: if (1 == 2) { //should be === return(true); } else { return(false); } Let's use if and else statements to make a coin-flip game. Create an if-else statement to return heads if the flip var is zero and to return tails if it's not.

Discussion:
"We can use if statements in JavaScript to only execute code if a certain condition is met.", "if statements require some sort of boolean condition to evaluate.", "Example:", <del> "<code> if (1 == 2) {</code>", </del> <ins> "<code> if (1 === 2) {</code>", </ins> "<code>&thinsp;&thinsp;return(true);</code>", "<code>}</code>", "<code>else {</code>",
Change:
Challenge has a minor spelling error. The HTML5/CSS Waypoint 63: Use RGB values to Color Elements has a minor typo the term 'rbg' is referenced instead of 'rgb'. !

Discussion:
"description": [ "Another way you can represent colors in CSS is by using <code>rgb</code> values.", "RGB values look like this: <code>rgb(0, 0, 0)</code> for black and <code>rgb(255, 255, 255)</code> for white.", <del> "Instead of using six hexadecimal digits like you do with hex code, with <code>rbg</code> you specify the brightness of each color with a number between 0 and 255.", </del> <ins> "Instead of using six hexadecimal digits like you do with hex code, with <code>rgb</code> you specify the brightness of each color with a number between 0 and 255.", </ins> "If you do the math, 16 times 16 is 256 total values. So <code>rgb</code>, which starts counting from zero, has the exact same number of possible values as hex code.", "Let's replace the hex code in our <code>body</code> element's background color with the RGB value for black: <code>rgb(0, 0, 0)</code>" ],
Change:
Challenge has a minor typo. Step 8 reads "[...] if you don't haven't built any websites before [...]" when it should simply read "[...] if you haven't built any websites before [...]". Additionally, the code styling from step 12 appears to be bleeding over into steps 13 - 16, so the text for those steps is improperly styled. !

Discussion:
"Here are the <a href='http://en.wikipedia.org/wiki/User_story' target='_blank'>user stories</a> you must enable, and optional bonus user stories:", "<span class='text-info'>User Story:</span> As a user, I can access all of the portfolio webpage's content just by scrolling.", "<span class='text-info'>User Story:</span> As a user, I can click different buttons that will take me to the portfolio creator's different social media pages.", <del> "<span class='text-info'>User Story:</span> As a user, I can see thumbnail images of different projects the portfolio creator has built (if you don't haven't built any websites before, use placeholders.)", </del> <ins> "<span class='text-info'>User Story:</span> As a user, I can see thumbnail images of different projects the portfolio creator has built (if you haven't built any websites before, use placeholders.)", </ins> "<span class='text-info'>Bonus User Story:</span> 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 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.",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. "There are many ways to add and add and remove properties from objects." Should probably read as: "There are many ways to add and remove properties from objects."

Discussion:
"title": "Manipulate JavaScript Objects", "difficulty":"9.9823", "description":[ <del> "There are many ways to add and add and remove properties from objects.", </del> <ins> "There are many ways to add and remove properties from objects.", </ins> "For example, we can add properties to objects like this:", "<code>myObject.myProperty = "myValue";</code>", "We can also delete them like this:",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. "Random numbers are useful for creating random behaviours and games." May be more clear as: "Random numbers are useful for creating random behavior."

Discussion:
"title": "Generate Random Fractions with JavaScript", "difficulty":"9.9827", "description":[ <del> "Random numbers are useful for creating random behaviours and games.", </del> <ins> "Random numbers are useful for creating random behavior.", </ins> "JavaScript has a <code>Math.random()</code> function that generates a random decimal number.", "Use <code>Math.random()</code> to get <code>myFunction</code> to return a random number." ],
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Left side error checking seems wrong !
I couldn't get this to work until I entered the following: //Not hello world /(asterisk)Still not hello world(asterisk)/ Note that the /(asterisk) and (asterisk)/, apparently, have to be on the same line. Using Chrome 45.0.2454.85 on Mac OS 10.10.5.

Discussion:
"Try creating one of each." ], "tests":[ <del> "assert(editor.getValue().match(/(//)...../g), 'Create a <code>//</code> style comment that contains at least five letters');", "assert(editor.getValue().match(/(/*)...../g), 'Create a <code>/* */</code> style comment that contains at least five letters.');", "assert(editor.getValue().match(/(*/)/g), 'Make sure that you close the comment with a <code>*/</code>');" </del> <ins> "assert(editor.getValue().match(/(//)...../g), 'Create a <code>//</code> style comment that contains at least five letters');", "assert(editor.getValue().match(/(/*)[wW]{5,}(?=*/)/gm), 'Create a <code>/* */</code> style comment that contains at least five letters.');", "assert(editor.getValue().match(/(*/)/g), 'Make sure that you close the comment with a <code>*/</code>');" </ins> ], "challengeSeed":[ ],
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. the instructions call for a property of engine, the test is looking for engines. <img width="1043" alt="screen shot 2015-08-18 at 12 49 26 pm" src=""

Discussion:
"assert(typeof((new MotorBike()).seats) === 'number', '<code>seats</code> should be have a <code>engines</code> attribute set to a number.');" ], "challengeSeed":[ <del> "// Let's add the properties engine and seats to the car in the same way that the property wheels has been added below. They should both be numbers.", </del> <ins> "// Let's add the properties engines and seats to the car in the same way that the property wheels has been added below. They should both be numbers.", </ins> "var Car = function() {", "  this.wheels = 4;", "  this.engines = 1;",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. The last paragraph: Should read:

Discussion:
"description": [ "<code>data structures</code> have <code>properties</code>. For example, <code>strings</code> have a property called <code>.length</code> that will tell you how many characters are in the string.", "For example, if we created a variable <code>var firstName = "Charles"</code>, we could find out how long the string "Charles" is by using the <code>firstName.length</code> property.", <del> "Use the <code>.length</code> property to count the number of characters in the <code>lastNameLength</code> variable." </del> <ins> "Use the <code>.length</code> property to count the number of characters in the <code>lastName</code> variable." </ins> ], "tests": [ "assert((function(){if(typeof(lastNameLength) !== "undefined" && typeof(lastNameLength) === "number" && lastNameLength === 8){return(true);}else{return(false);}})(), 'lastNameLength should be equal to eight.');",
Change:
In order to pass the test for this waypoint, the comment for the slash-start-start-slash type of commenting has to be on the same line as the first slash-star, otherwise it doesn't work. ! Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Dear camper, your issue is a duplicate: Please see .

Discussion:
"Try creating one of each." ], "tests":[ <del> "assert(editor.getValue().match(/(//)...../g), 'Create a <code>//</code> style comment that contains at least five letters');", "assert(editor.getValue().match(/(/*)...../g), 'Create a <code>/* */</code> style comment that contains at least five letters.');", "assert(editor.getValue().match(/(*/)/g), 'Make sure that you close the comment with a <code>*/</code>');" </del> <ins> "assert(editor.getValue().match(/(//)...../g), 'Create a <code>//</code> style comment that contains at least five letters');", "assert(editor.getValue().match(/(/*)[wW]{5,}(?=*/)/gm), 'Create a <code>/* */</code> style comment that contains at least five letters.');", "assert(editor.getValue().match(/(*/)/g), 'Make sure that you close the comment with a <code>*/</code>');" </ins> ], "challengeSeed":[ ],
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Wants an array with a string and number. If you make the number the first element in array, it tells you that's wrong IE: var myArray = [12, "hi"]; The first item in myArray should be a string The Directions make no mention of the string having to be first
Thanks Would "Now let's create a new array called myArray that contains both a string and a number (in that order)." make this clearer for you? Or do you have a better suggestion?

Discussion:
"description": [ "With JavaScript <code>array</code> variables, we can store several pieces of data in one place.", "You start an array declaration with an opening bracket, end it with a closing bracket, and put a comma between each entry, like this: <code>var sandwich = ["peanut butter", "jelly", "bread"]</code>.", <del> "Now let's create a new array called <code>myArray</code> that contains both a <code>string</code> and a <code>number</code>.", </del> <ins> "Now let's create a new array called <code>myArray</code> that contains both a <code>string</code> and a <code>number</code> (in that order).", </ins> "Refer to the comments if you get stuck." ], "tests": [
Change:
Challenge has an issue. You can complete the waypoint by simply calling removeClass() on all of the button elements without specifically removing "btn-default". !
Dear camper, your issue is a duplicate and already fixed: Please see .

Discussion:
], "tests": [ "assert($(".btn-default").length === 0, 'Remove the <code>btn-default</code> class from all of your <code>button</code> elements.')", <del> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')" </del> <ins> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')", "assert(editor.match(/.[vs]*removeClass[sv]*([sv]*('|")s*btn-defaults*('|")[sv]*)/gm), 'Only remove the <code>btn-default</code> class.')" </ins> ], "challengeSeed": [ "fccss",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Code broken: assert(editor.getValue().match(/(//)...../g), 'Create a // style comment that contains at least five letters'); Create a // style comment that contains at least five letters Should only show; Create a // style comment that contains at least five letters
Dear camper, your issue is a duplicate: Please see .

Discussion:
"Try creating one of each." ], "tests":[ <del> "assert(editor.getValue().match(/(//)...../g), 'Create a <code>//</code> style comment that contains at least five letters');", "assert(editor.getValue().match(/(/*)...../g), 'Create a <code>/* */</code> style comment that contains at least five letters.');", "assert(editor.getValue().match(/(*/)/g), 'Make sure that you close the comment with a <code>*/</code>');" </del> <ins> "assert(editor.getValue().match(/(//)...../g), 'Create a <code>//</code> style comment that contains at least five letters');", "assert(editor.getValue().match(/(/*)[wW]{5,}(?=*/)/gm), 'Create a <code>/* */</code> style comment that contains at least five letters.');", "assert(editor.getValue().match(/(*/)/g), 'Make sure that you close the comment with a <code>*/</code>');" </ins> ], "challengeSeed":[ ],
Change:
Challenge has an issue. right now, whenever the camper write the removeClass() function -even before specifying the class he/she wants to be removed-. the application automatically marks the challenge as completed. The reason: when the parameter isn't specified to removeClass() function it removes ALL classes of the selected element, which means that the "btn-default" class (as required by the challenge) is going to be removed but the problem is that it will remove all other classes at the same time. I think the test should make sure that other classes still to the element while "btn-default" is removed. !
Same thing happened to me just now, using Google Chrome on Windows 10.
Dear camper, your issue is a duplicate and already fixed: Please see .

Discussion:
], "tests": [ "assert($(".btn-default").length === 0, 'Remove the <code>btn-default</code> class from all of your <code>button</code> elements.')", <del> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')" </del> <ins> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')", "assert(editor.match(/.[vs]*removeClass[sv]*([sv]*('|")s*btn-defaults*('|")[sv]*)/gm), 'Only remove the <code>btn-default</code> class.')" </ins> ], "challengeSeed": [ "fccss",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Expected passing code: $("button").removeClass("btn-default"); Exercise automatically passes with: $("button").removeClass();
Well, technically removes the class. :)
Yep technically it works but removeClass() removes all class whereas removeClass('btn-default') is more specific. Just a minor thing.
Dear camper, your issue is a duplicate and already fixed: Please see .

Discussion:
], "tests": [ "assert($(".btn-default").length === 0, 'Remove the <code>btn-default</code> class from all of your <code>button</code> elements.')", <del> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')" </del> <ins> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')", "assert(editor.match(/.[vs]*removeClass[sv]*([sv]*('|")s*btn-defaults*('|")[sv]*)/gm), 'Only remove the <code>btn-default</code> class.')" </ins> ], "challengeSeed": [ "fccss",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. the challenge was marked as finished even with just $("button").removeClass it should be marked as finished with $("button").removeClass("btn-default");
Reference to Spec says specifically However this works as well According to spec should not be possible, only . Also does not check wether was removed only from elements, as described above.
Dear camper, your issue is a duplicate and already fixed: Please see .

Discussion:
], "tests": [ "assert($(".btn-default").length === 0, 'Remove the <code>btn-default</code> class from all of your <code>button</code> elements.')", <del> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')" </del> <ins> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')", "assert(editor.match(/.[vs]*removeClass[sv]*([sv]*('|")s*btn-defaults*('|")[sv]*)/gm), 'Only remove the <code>btn-default</code> class.')" </ins> ], "challengeSeed": [ "fccss",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. First target your div element with the id target3 by using the $("#target3") selector. div needs changing to button.
This is a duplicate of issue .

Discussion:
"difficulty": 3.04, "description": [ "You can also target elements by their id attributes.", <del> "First target your <code>div</code> element with the id <code>target3</code> by using the <code>$("#target3")</code> selector.", </del> <ins> "First target your <code>button</code> element with the id <code>target3</code> by using the <code>$("#target3")</code> selector.", </ins> "Note that, just like with CSS declarations, you type a <code>#</code> before the id's name.", "Then use jQuery's <code>.addClass()</code> function to add the classes <code>animated</code> and <code>fadeOut</code>.", "Here's how you'd make the <code>button</code> element with the id <code>target6</code> fade out: <code>$("#target6").addClass("animated fadeOut")</code>."
Change:
Challenge has an issue. In the second sentence, Remember when we used the class to make the button grow fill the entire row? --remove the word "grow".

Discussion:
"title": "Use Spans for Inline Elements", "difficulty": 2.105, "description": [ <del> "You can use use spans to create inline elements. Remember when we used the <code>btn-block</code> class to make the button grow fill the entire row?", </del> <ins> "You can use use spans to create inline elements. Remember when we used the <code>btn-block</code> class to make the button fill the entire row?", </ins> "This image illustrates the difference between <code>inline</code> elements and <code>block-level</code> elements:", "<img class="img-responsive" src="https://www.evernote.com/l/AHTFU358y71AV6mokPeuTEgrZVdUJ4A8v3AB/image.png" alt="An "inline" button is as small as the text it contains. In this image, it's centered. Below it is a "block-level" button, which stretches to fill the entire horizontal space.'>", "By using the <code>span</code> element, you can put several elements together, and even style different parts of the same element differently.",

"title": "Target the Parent of an Element Using jQuery", "difficulty": 3.13, "description": [ <del> "Every HTML elements has a <code>parent</code> element from which it <code>inherits</code> properties.", </del> <ins> "Every HTML element has a <code>parent</code> element from which it <code>inherits</code> properties.", </ins> "For example, your <code>jQuery Playground</code> <code>h3</code> element has the parent element of <code>&#60;div class="container-fluid"&#62</code>, which itself has the parent <code>body</code>.", "jQuery has a function called <code>parent()</code> that allows you to access the parent of whichever element you've selected.", "Give the parent of the <code>#target1</code> element background-color of red.",