repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
freecodecampfreecodecamp | learn advanced array method by build a statistic calculator step 35 update example in the instruction | Bug | describe the issue intsruction say here s an example that get the small number from an array math min 1 9 11 3 0 5 the give example however have nothing to do with an array it be an example with the number give as input parameter affect page your code expect behavior two option I guess either will do 1 rephrase this part here s an example that get the small number from an array 2 change the example itself by include actual array js const array1 2 3 1 console log math min array1 expect output 1 screenshot no response system device laptop os window 10 browser chrome additional context no response |
freecodecampfreecodecamp | update strict test for todo app step 5 | Bug | describe the issue the code doesn t pass if you open the curly brace affect page your code const taskdata let currenttask expect behavior I expect to pass I be assume code would be put into this object at a later time this be the expect solution const taskdata let currenttask screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | focus indicator fail contrast standard | Bug | describe the issue when move keyboard focus to an element in our challenge list the background colour change combine with the focus indicator result in a contrast ratio less than 3 1 this issue appear to only occur in light mode affect page pick a superblock any superblock step to reproduce pick a superblock expand a block section tab to move focus to a challenge list item see that the background colour and border both change expect behavior contrast need to meet standard screenshot example contrast image demonstrate the keyboard focus selection indicator in the c superblock system naomio additional context thank to emma for catch this |
freecodecampfreecodecamp | code pass when outside the body element | Bug | describe the issue despite the code be write outside both the body and html element the code pass affect page your code catphotoapp cat photo see more cat photo in our gallery expect behavior the code should not pass and an error should be throw to bar the user from move to the next step screenshot screenshot 2024 01 23 162239 system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | certify user be miss new javascript certification | Help Wanted | the mock user certify user be miss the certification for the new javascript curriculum |
freecodecampfreecodecamp | incorrect capitalization for logical or operator in rpg game | Bug | describe the issue in the step that introduce the logical or operator we be use incorrect capitalization the hint text will need to be update as well here be the update description md description the player should hit if either math random 2 or if the player s health be less than 20 at the end of your return statement use the logical or operator and check if health be less than 20 the logical or operator will use the first value if it be truthy that be anything apart from nan null undefined 0 0 0n and false otherwise it will use the second value for example num 10 num 20 update hint text all of the follow piece of hint text should be update too md your ismonsterhit function should use the logical or operator md your logical or operator should use health 20 as the fallback value affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | add code example for shift method in rpg game | Bug | describe the issue when the shift method be introduce in the rpg game a few people be use the incorrect syntax as evidence in these forum post they be try to do something like this js inventory shift sellweapon the only other array method they learn early be the push method and so that be probably why they think they need to pass in a value for the shift method this confusion can be fix by add a small code example here be the update description description the shift method on an array remove the first element in the array and return it js const number 1 2 3 const firstnumber number shift return 1 use the shift method to take the first element from the inventory array and assign it to your currentweapon variable affect page screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | unclear instruction | Bug | describe the issue the instruction in this challenge be unclear they talk of a new line and most user end up use the new line character which win t pass it d be well if literal linebreak be use as the keyword consider that some user be complete beginner in js affect page your code const htmlstre entry entrynumber name expect behavior the code should display the use of the new line when console screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update regex test for platformer game step 82 to accept multiple valid solution | Bug | describe the issue in every the rule section be require to be wrap in parenthesis even though it doesn t effect the functionality affect page your code if collisiondetectionrule every rule rule player velocity y 0 return expect behavior I expect to pass this be what the checker be actually ask for if collisiondetectionrule every rule rule player velocity y 0 return screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | grammatical error in challenge project debug a c console application use visual studio code | Bug | describe the issue hello on the challenge project debug a c console application use visual studio code the question be which of the follow option can be use set a breakpoint in visual studio code the word to be miss between use and set affect page your code n a expect behavior I believe the question should be which of the follow option can be use to set a breakpoint in visual studio code screenshot no response system device all os all browser all version all additional context no response |
freecodecampfreecodecamp | learn intermediate oop by build a platformer game step 78 too strict regex check | Bug | describe the issue the regex use to check the statement in this step be too strict it require the number of space between player position y and to be atleast one I be stick in this for quite some I get to know about this issue only after open the github page for this particular step affect page your code expect behavior it should accept any number of space between player position y and the fix be to add a star after s so that it can accept any number of space in this line assert match code const s collisiondetectionrule s s s player position y s s player height s s platform position y s s screenshot wrong screenshot from 2024 01 21 12 36 41 correct screenshot from 2024 01 21 12 37 15 system device laptop os pop os browser microsoft edge version additional context no response |
freecodecampfreecodecamp | penguin do not fly they swim learn css transform by build a penguin step 86 | Bug | describe the issue on the 86th step of the learn css transform by build a penguin course in the responsive web design certification this fun fact be show fun fact penguin can not fly without wing I believe this be a mistake because even with wing penguin can not fly however they need they to swim affect page your code n a expect behavior in my opinion the fun fact should be replace with fun fact penguin can not swim without wing screenshot no response system device all os all browser all version all additional context on step 93 the wing be call flipper which be actually the correct word we might want to consolidate the use of the word flipper |
freecodecampfreecodecamp | learn intermediate oop by build a platformer game step 42 strict test | Bug | describe the issue these 2 if statement be functionally equivalent and yet one pass and the other do not pass take I over a half hour and make I a very sad panda if key rightkey press player position x 400 if key rightkey press true player position x 400 the problem be that later the key be define with press as false which make you assume you need to check if it be true though you do not and that be horribly confusing and stupid affected page your code if key rightkey press player position x 400 if key rightkey press true player position x 400 expect behavior I expect to pass and be do with this in 2 minute or less screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | fix client skip editor onchange when challenge be reset | Bug | checklist x I have read and follow the contribution guideline x I have read and follow the how to open a pull request guide how to open a pull request x my pull request target the main branch of freecodecamp x I have test these change either locally on my machine or gitpod close 49475 possibly skip editor onchange when challenge be in reset state more detail issuecomment 1901090587 |
freecodecampfreecodecamp | fix misleading instruction in todo app step 46 | Bug | describe the issue step instruction state check if the user make change while try to edit a task by verify that the titleinput value be not equal to currenttask title the dateinput value be not equal to currenttask date and the descriptioninput value be not equal to currenttask description write the code that actually do this use the logical and operator result in an error that say your forminputvaluesupdate variable should check if titleinput value be not equal to currenttask title or dateinput value be not equal to currenttask date from the context of what be be ask it be clear that the logical or operator should indeed be use to check whether any rather than all of the field value have be modify affect page your code const forminputvaluesupdate titleinput value currenttask title dateinput value currenttask date descriptioninput value currenttask description expect behavior instruction should say to check if the user make change while try to edit a task by verify that the titleinput value be not equal to currenttask title the dateinput value be not equal to currenttask date or the descriptioninput value be not equal to currenttask description rather than and screenshot system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | button not display | Bug | describe the issue I be take the calorie counter lesson and step 28 win t show the button I have try disable extension use different browser and clear browser cache I even delete website datum but still no positive response also the instruction and editor be all go affect page your code const caloriecounter document getelementbyid calorie counter const budgetnumberinput document getelementbyid budget const entrydropdown document getelementbyid entry dropdown const addentrybutton document getelementbyid add entry const clearbutton document getelementbyid clear const output document getelementbyid output let iserror false function cleaninputstre str const regex s g expect behavior I expect the button and instruction to show up screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | fix test for declare a variable step in rpg game | Bug | describe the issue we recently a lot of update to this project so the step number in the main branch don t match up with what be currently on production here be the correct file you need to look at we have this issue report on the forum if you try to use the wrong variable name like this js var something then the hint text tell you this md don t forget the semi colon at the end of the line it look like the third test here will need to be update you should declare a variable name xp js assert match code xp affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | build a cash register certification project final user story description ask for a status close but only pass with a status of open | Bug | describe the issue the final user story for this certification project ask for the follow when price be 19 5 the value in the cash element be 20 cid be penny 0 5 nickel 0 dime 0 quarter 0 one 0 five 0 ten 0 twenty 0 one hundred 0 and the purchase btn element be click the value in the change due element should be status closed quarter 0 dime 0 nickel 0 penny 0 5 however you can only get the test to pass if you return the follow status open quarter 0 dime 0 nickel 0 penny 0 5 the example project here give the same wrong open output when the script value be edit to reflect the user story I have attach a screenshot of that in the section below affect page your code const cash document getelementbyid cash const pricetext document getelementbyid price const changedue document getelementbyid change due const purchasebutton document getelementbyid purchase btn let price 19 5 let cid penny 0 5 nickel 0 dime 0 quarter 0 one 0 five 0 ten 0 twenty 0 one hundred 0 let tendervalue penny 0 01 nickel 0 05 dime 0 10 quarter 0 25 one 1 00 five 5 00 ten 10 00 twenty 20 00 one hundred 100 00 let isopen true purchasebutton addeventlistener click onpurchase pricetext textcontent price price tofixe 2 changedue textcontent change due 0 00 const fixprecision input parsefloat input tofixe 2 function onpurchase e e preventdefault const cashamount parsefloat cash value if cashamount price alert customer do not have enough money to purchase the item else if cashamount price changedue textcontent no change due customer pay with exact cash else changedue textcontent composechangedue calculatechange cashamount function calculatechange amount const sorteddrawer cid slice 0 reverse const draweramount calculatetotalcid let changeamount amount price let changecomp console log draweramount changeamount check drawer if draweramount changeamount return undefined if draweramount changeamount isopen false make change for let tender in sorteddrawer const tendername sorteddrawer tender 0 const tendervalue tendervalue tendername let tenderamount sorteddrawer tender 1 const cidindex cid indexof sorteddrawer tender console log isopen tendername tendervalue changeamount if isopen tendervalue changeamount changecomp tendername 0 while changeamount tendervalue tenderamount tendervalue changeamount tendervalue tenderamount tendervalue tenderamount fixprecision tenderamount changecomp tendername changecomp tendername tendervalue changecomp tendername tendervalue changeamount fixprecision changeamount const returncondition changeamount 0 return returncondition changecomp undefine function calculatetotalcid const total cid reduce a b a b 1 0 return fixprecision total function composechangedue change let string status isopen open close if change undefined string status insufficient fund return string const entry object key change entry foreach entry const substre entry fixprecision change entry string substre console log string return string trim expect behavior the final user story pass with an output of status closed quarter 0 dime 0 nickel 0 penny 0 5 screenshot image system device pc os window 11 browser mozilla firefox version 121 0 additional context I think this user story in general need a look at I can not figure out a valid reason it be ask for the output status closed quarter 0 dime 0 nickel 0 penny 0 5 rather than status closed penny 0 5 my assumption be that it want all possible kind of tender that could be use to make change be display even if there be none of they present that s a rather obtuse train of thought there and have no consistency with the rest of the user story imo if this be the case I think the criterion for how open and close output differ need to be outline at the top of the challenge |
freecodecampfreecodecamp | fix test to allow for multiple correct solution for step 97 oop game | Bug | step 97 consistency be an important lesson for camper and the lesson themselves do not have consistent code format requirement paste image 20240117105003 in the above picture the code fail it be functionally similar to the above code where we do a similar thing to draw the platform it be fail though because the callback parameter be wrap in parenthesis if I remove parenthesis it pass normally I wouldn t put parenthesis around a single parameter but other javascript lesson require parenthesis a similar code preference need to be set across exercise as this level of consistency be often expect from team member in the field these exercise be actively work against develop consistency in a single document the fcc exercise auto formatter add parenthesis so fcc s format code wouldn t pass paste image 20240117105347 |
freecodecampfreecodecamp | fix incorrect terminology for step 78 81 in oop game | Bug | step 79 the instruction be really confusing and could be rephrase paste image 20240116112831 I don t think what be refer to as a conditional be a what people be go to think of as a conditional it be just a boolean expression that be be ask for no action or assignment be be give depend on truthiness of the expression it seem like it be look for an if switch ternary or bare conditional and I believe only ternary or a bare conditional can be place inside of an array not be nest inside of iife which be knowledge a novice probably win t have the difference although small be that a condition take an action base on the result of a boolean expression no conditional action be be take so it be just an expression might ask for the first element in the array to be a boolean expression of the sum of the player s y position height and y velocity great than or equal to the platform s y position there be various step that follow that refer to boolean expression as conditional the concern be people learn incorrect terminology and get mixed up in the field |
freecodecampfreecodecamp | learn regular expression by build a spam filter step 15 pass with incomplete code | Bug | describe the issue challenge pass with regex that s only partially fulfil requirement from instruction expect solution be javascript const dollarregex 0 9 dollar I however challenge can be complete with only the 0 9 part affect page your code javascript const dollarregex 0 9 I expect behavior challenge should not pass when regex check just if number be include screenshot no response system n a additional context no response |
freecodecampfreecodecamp | typo in step 11 of new javascript cert learn localstorage by build a todo app challenge | Bug | describe the issue instruction text say findindex be an array method that let find the index of the first element in an array that satisfy a give testing function follow the style of previous similar statement in the course let find should probably say let you find affect page your code expect behavior let you find instead of let find screenshot no response system device laptop os window 11 browser chrome version 120 additional context no response |
freecodecampfreecodecamp | clarify instruction for step 28 of music player project | Bug | describe the issue we have a lot of confusion on the forum about the purpose of the playsong function in this step here be the current direction you need to hook up the playsong function to a click event listener so the song will start play when the play button be click add a click event listener to the playbutton element then use arrow syntax to pass in a callback with an empty pair of curly brace that first sentence of hook up the playsong function to the event listener make it seem like that be go to be part of the solution a well wording for the description should be this update instruction md description in previous step you build out the functionality for play a song now you need to add the functionality to the play button so that it will play the current song when it be click on use the addeventlistener method and pass in a click event for the first argument and an empty callback function with arrow syntax for the second argument ex thought on the update direction before it be open up for contribution affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update test for step 91 of spreadsheet project to accept multiple solution | Bug | describe the issue the expect solution for step 91 be the follow js if value include element i d value startswith element value evalformula value slice 1 however the direction don t mention use the slice method the first argument for your evalformula call need to be the content of the cell which you store in value however the content start with an character to trigger the function so you need to pass the substring of value start at index 1 since the direction mention pass the substring of the value then a camper could write this and then be surprised to learn that the slice method be expect js element value evalformula value substre 1 we should update instruction here to let camper know that there be an expected solution or update the test to allow for multiple valid solution open to hear thought affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | clarify instruction for step 81 of spreadsheet project | Bug | describe the issue we receive this comment on the forum concern the hint text for step 81 of the spreadsheet project improve message in check code dialog the code js const tonumberlist args args split map el parsefloat el be errore because map doesn t need a callback parameter but just a reference to callback and I think that be a good opportunity to reinforce an early point the instruction say declare a tonumberlist function which take an args parameter and return the result of split the args by comma and map the result array to parsefloat but it doesn t mention what should specifically be pass in for the map method and I can see a lot of camper result in the code above we should update the instruction to well clarify what should be pass into the map method affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | fix typo in hint text for step 75 of spreadsheet project | Bug | describe the issue we have a typo in one of the hint text for step 75 of the spreadsheet project the first hint should mention the highprecedence not the infixeval function note to first time contributor this have be open for contribution the first comprehensive pr create will be review and merge we typically do not assign issue to anyone other than long time contributor if you would like to contribute and have not read the contributor docs please do so here if you have any issue with contribute be sure to join we on the contributor channel or on the contributor sub forum file that need to be change change that need to be make md hint your highprecedence function should use the return keyword happy code affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update direction of step 58 for spreadsheet project | Bug | describe the issue we get this feedback on the forum for step 58 of the spreadsheet here be direct quote from the learner on the forum chain a function call to what function I think chain a function call be the wrong terminology I think what be depict in example be curry not most people would call function chain I e func1 func2 I guess you could consider curry function chain but it might be a point of confusion affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update direction and hint text for step 31 of spreadsheet project | Bug | describe the issue we get some feedback here about the spreadsheet project step 31 they mention that if you try to use an or operator here then the hint do not tell you what s wrong incorrect answer js if value include element i d value startswith correct answer js if value include element i d value startswith I think the easy fix would be to just update the direction and hint text to explicitly mention the use of the and operator note to first time contributor this have be open for contribution the first comprehensive pr create will be review and merge we typically do not assign issue to anyone other than long time contributor if you would like to contribute and have not read the contributor docs please do so here if you have any issue with contribute be sure to join we on the contributor channel or on the contributor sub forum file that need to be change update to the direction md description spreadsheet software typically use at the beginning of a cell to indicate a calculation should be use and spreadsheet function should be evaluate use the operator to add a second condition to your if statement that also check if the first character of value be update to the hint text md hint you should use the operator to add a second condition to your if statement that also check if the first character of value be you may use 0 startswith or charat 0 happy code affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update instruction for step 25 of spreadsheet project to well explain the expected solution | Bug | describe the issue we get some feedback on the forum here one of the thing they bring up be that they be confuse by the answer for step 25 the instruction say the follow md to keep track of all of your spreadsheet s function declare a spreadsheetfunction object use destructure syntax set sum average and median as property and value on the spreadsheetfunction object when a camper think of destructure they will probably write something like this because that be what we teach they in the past js const sum average median spreadsheetfunction however the follow code will throw syntax error because sum average and median be already define the test be expect this answer js const spreadsheetfunction sum average median but we never teach they that approach before we should update the direction to well explain the expect solution maybe should include some sort of code example of what we be expect affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update explanation for step 143 in rpg game to provide more context for change | Bug | describe the issue a forum user bring up a good point that we don t really explain why we be make the follow change even the game be technically complete right now we just say the follow md your game could be complete now but you can also make it more interesting then we spend the next few step tell they to write some code but they don t know why they be write the code and how these change will enhance the game so we should add a sentence or two explain the nature of these change so they can well understand why we didn t just end the game right here otherwise it just feel like they be just write code without understand why and how it affect the game in the end look for suggestion on how to update the wording affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | miss backtick for number in step 63 and 145 of rpg game | Bug | describe the issue the description here be miss backtick for the number zero here be the new update description md this be call bracket notation value in an array be access by index index be numerical value and start at 0 this be call zero base indexing arg 0 would be the first element in the arg array note to first time contributor this have be open for contribution the first comprehensive pr create will be review and merge we typically do not assign issue to anyone other than long time contributor if you would like to contribute and have not read the contributor docs please do so here if you have any issue with contribute be sure to join we on the contributor channel or on the contributor sub forum file that need to be change here be the correct file that need to be update note even though the file say step 62 instead of step 63 that be on the site this be still the correct file that need update we recently make change to the ordering and those change haven t show up yet on the live site happy code affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | nutrition label step 61 miss test | Bug | this step be pass even if protein be not bold use the necessary class to remove the bottom border and a span to make the protein bold protein 3 g |
freecodecampfreecodecamp | update gitignore | Invalid | checklist x I have read and follow the contribution guideline x I have read and follow the how to open a pull request guide how to open a pull request x my pull request target the main branch of freecodecamp x I have test these change either locally on my machine or gitpod close xxxxx |
freecodecampfreecodecamp | step 55 of oop game should update instruction to mention where destruct should happen | Bug | describe the issue a camper be try to pass with this valid code here js window addeventlistener keydown event const key event but couldn t because the test be expect this solution js window addeventlistener keydown key we should update the direction to indicate where the destrucurting should happen affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | step 28 of todo project should allow for multiple valid solution | Bug | describe the issue we have a camper on the forum try to solve step 28 of the todo app project but wasn t able to even though they have a couple of syntax error once they fix that they be try to pass with this code js const forminputscontainvalue titleinput value null dateinput value null descriptioninput value null but the test be expect this solution instead js const forminputscontainvalue titleinput value dateinput value descriptioninput value the direction don t explicitly say to check for truthy value so we should allow camper to check for multiple solution instead also since the result be suppose to return boolean we should try to come up with a solution that rely more on the build in assert chai method instead of rely on regex solution if possible affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | rpg step 120 text inside code block be visually miss the start space | Bug | describe the issue the text you attack it with your have a space in front of it that you can t see in the challenge text not sure if it have to be a fence code block three backtick for the space to show up I assume it be because it be miss the pre element when it be just a single backtick code block maybe there be a setting as well that we can enable for it on a new line add the string you attack it with your to the text value replace with the player s current weapon that or we need to mention it in the text or hint affect page your code expect behavior to see the space in the require text screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context forum |
freecodecampfreecodecamp | update instruction and code example in step 49 of calorie counter | Bug | describe the issue we have have a few people on the forum be confuse on how innerhtml work and what they need to do in step 49 a way to clear up this confusion would be to update the code example for introduce innerhtml to use label and input also the wording could be update to make it more clear what they need to do propose change description to see your new html content for the targetinputcontainer you will need to use the innerhtml property the innerhtml property set or return the html content inside an element here be an example of how to use it html first name js const formelement document getelementbyid form const formcontent last name formelement innerhtml formcontent in the example the innerhtml property be use to add a new label and input element to the form element use the addition assignment operator to append your htmlstring variable to targetinputcontainer innerhtml affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | remove extra space between line | Bug | describe the issue there be extra space be come in gitignore file at line no 66 affect page gitignore file step to reproduce in the code repository 1 go to the gitignore file 2 scroll down to the line no 66 3 remove the extra space between line recommend fix or suggestion just delete the extra space between line screenshot no response |
freecodecampfreecodecamp | step 23 of rpg game be miss backtick for number | Bug | describe the issue in the description for step 23 it be miss backtick for the number 0 here be the change need md description create another variable call currentweapon and set it to 0 when a variable name have multiple word the convention in javascript be to use what s call camelcase the first word be lowercase and the first letter of every follow word be uppercase note to contributor this have be open up for first timer only contribution please read through the contribute doc first we do not assign issue except to long time contributor if you be interested in work on this follow the contribute rule fix the issue and create a pr here be the file that need fix if you need help then please reach out on the forum or discord channel happy contribute affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | learn string manipulation by build a cipher step 57 mismatch variable name | Bug | describe the issue in the scientific computing with python beta course module learn string manipulation by build a cipher step 57 the variable name be mismatch be tween the instruction and the error message in the instruction the variable name be refer to as key char whereas in the error message I receive the variable be refer to as key index the instruction read step 57 next inside the else block declare a variable call key char and assign it the value of key at the index key index mod the length of key as show in the code I submit generate an error because my modulo declaration be outside the index square bracket however the suggestion portion of the error message use a distinctly different name from the instruction you should assign key key index len key to your key index variable affect page your code python append space to the message if char encrypt text char else key char key key index len key expect behavior my expectation be the suggestion portion of the error message should read you should assign key key index len key to your key char variable screenshot step 57 screenshot system device desktop os window 10 browser chrome version 120 0 6099 217 official build 64 bit additional context I do test a fix to my sub mitte code and the follow be accept as correct python append space to the message if char encrypt text char else key char key key index len key |
freecodecampfreecodecamp | issue with learn local storage by build a todo app lesson 48 | Bug | describe the issue so the problem be that the hint where it tell you what you should ve have code it tell you that you should have datum as key when you code that and it doesn t work it tell you you should have mytaskarr as key but that s wrong it should tell you mytaskarr as value so I be try to have 2 key and obviously it be always wrong affect page your code localstorage setitem datum mytaskarr now the correct answer would ve be to have localstorage setitem datum mytaskarr but since I be try to have 2 key I always code mytaskarr in expect behavior the hint should tell you that mytaskarr be a value not a key as it currently say screenshot screenshot 2 system device desktop pc os window 10 browser edge version e g 22 additional context 120 0 2210 121 |
freecodecampfreecodecamp | rpg step 40 41 pass with wrong code | Bug | describe the issue edit step to reflect the new order be 41 42 before the test will pass if you invoke the callback instead of assign the definition identifi 40 pass with incorrect code js button1 onclick gostore 41 pass with incorrect code js button1 onclick gostore button2 onclick gocave button3 onclick fightdragon edit in fact as long we match on the start of the function name you can put whatever you want after so this will pass as well js button1 onclick gostoressss affect page your code expect behavior the test should not allow function invocation the test should match the actual function identifi screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | build a music player step 87 last requirement be poorly word and use a regex test | Bug | describe the issue the last requirement be poorly word after that create a nextsongexist constant that check if a next song exist the nextsongexist be a variable contain the evaluation of an expression it do not check for anything check for something be an action there be no hint in the initial requirement of how we be expect they to solve this leave it in the hint seem kind of mean they think of the problem come up with a solution write the solution and then be tell no it must be write like this as be the case for other challenge step this be use a regex and expect a fix solution if all we care about be that the nextsongexist variable contain the correct boolean value how it be arrive at doesn t matter if we want to teach a specific solution to a problem that should be the focus of the challenge step and include in the challenge text and requirement test affect page your code expect behavior 1 clarify requirement 2 if a single solution be require teach that solution 3 do not pretend to ask for code that solve a problem when that isn t the requirement screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update test to accept multiple valid solution for step 27 of fcc author project | Bug | describe the issue we have a camper on the forum not able to pass step 27 of the author project with this code js bio length 50 bio slice 0 50 bio it be expect this answer instead js bio length 50 bio slice 0 50 bio the test should be update to accept either valid answer affect page your code js bio length 50 bio slice 0 50 bio expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | fix display of artist name for step 82 84 in music player app | Bug | describe the issue towards the end of the project we have camper test out some change with short song specifically step 82 through 84 in the music player project the problem be that the artist name display doesn t fit in the music player container and get squish with the song time instead of try to update the css since this only affect 3 step before the song be switch back to the normal one the easy solution be to just change the artist name here to artist rafael js const allsong i d 0 title hello world artist rafael duration 0 23 src i d 1 title in the zone artist rafael duration 0 11 src i d 2 title camper cat artist rafael duration 0 21 src i d 3 title electronic artist rafael duration 0 15 src i d 4 title sail away artist rafael duration 0 22 src affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | license of contributed content non exist | Bug | describe the issue I be look at a book release under freecodecamp org but have difficulty identify which license it be be distribute under I find on a picture of the back cover of the paperback version that the author or distributor be retain the right to the material nowhere do I find a copy or reference to a license text I think should be make more clear which license the content be be distribute under affect page introduction step to reproduce visit the link and attempt to identify the specific content license recommend fix or suggestion include a copy or link to a viewable form of the license screenshot no response |
freecodecampfreecodecamp | partial description in step 8 of learn localstorage by build a todo app | Bug | describe the issue in the description it be not be mention that there should not be any curly brace for the arrow function and when code be be write with curly brace only then from the hint we can get the idea that curly brace not to be add step 8 error while in the previous step step 7 test be get pass with and without brace because of which it seem like step 8 will follow the same while that be not happen at the moment I think this should be consistent across step to remove any ambiguity step 7 success with brace step 7 success without brace affect page your code add in the description expect behavior info for add curly brace in the description and have a consistent workflow for use arrow function screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | update description hint text and test for step 7 and 8 of todo app | Bug | describe the issue in the description it be explain how showmodal method to be use on confirmclosedialog and it be a build in method for dialog element while in the hint it be be mention that showmodal to be set on confirmclosedialog which I do not think be a correct statement set showmodal be give the illusion that showmodal to be assign to confirmclosedialog as value more appropriate hint would have be your event listener should use arrow syntax to call the showmodal method on confirmclosedialog set to be replace with call affect page your code expect behavior add a more appropriate hint like your event listener should use arrow syntax to call the showmodal method on confirmclosedialog set to be replace with call screenshot system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | unclear instruction on step 6 of learn localstorage by build a todo app | Bug | describe the issue on step 6 it be not clear from the instruction that code to remove hide class should be put in the event handler callback also I do not think that anywhere in exercise before step 6 toogle method on classlist be use or explain which can be confusing for new developer that a new method to be use description instead a much well explanation be provide in the assertion error your event listener should include a callback function for the second argument use arrow syntax without curly brace then you should use the classlist property and its toggle method on the taskform to toggle the class hide error message affect page your code expect behavior more clear instruction to be provide with explanation to use new toogle method on classlist screenshot attach in the description system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | typo datum instead of dessert in shop cart step 24 | Bug | describe the issue step 24 of learn basic oop by build a shopping cart include the follow text in the instruction emphasis add wrap your right hand totalcountperproduct datum i d in parenthesis and add 0 to the end of the expression up until this point the user have be use the parameter dessert in the place where the instruction use datum when attempt to submit this step user be tell that they have fail with the follow message emphasis add you should wrap your right hand totalcountperproduct datum i d in parenthesis affect page your code additem i d product const product product find item item i d i d const name price product this item push product const totalcountperproduct this item foreach dessert totalcountperproduct dessert i d totalcountperproduct dessert i d 1 0 expect behavior datum read dessert in the instruction and failure text screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | build a spam filter step 5 incorrect assert message for second test | Bug | describe the issue you should assign the isspam function call to result textcontent we be not assign the function call to anything not 100 sure what the expect error in the code be that we be test for here it might be its position you should call the isspam function after the assignment operator and before the ternary operator also if you forget to use the value property on the messageinput you be pass to isspam you will get this assert message which be confuse I don t think this test should care about the argument to isspam only the function call position if that be what we be test for here test as an aside we have all the element and event listener ready to be use can t the test use they for at least the last three test affect page your code expect behavior give the correct assert message screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | challenge editor stop work on gitpod | Bug | port 3200 have a json image port 3300 doesn t fetch image in the terminal I get error enoent no such file or directory scandir workspace freecodecamp curriculum challenge english favicon ico I don t know if that s relate |
freecodecampfreecodecamp | attribute order shouldn t matter music player step 72 | Bug | describe the issue it doesn t seem right to force camper to make onclick the first attribute in perfectly fine html and javascript the attribute can be place in any order affect page your code expect behavior this code should pass the challenge as it be completely valid the curriculum helper should be able to locate any attribute on an embed html element inside a javascript function or regex should be able to recognize that the value be set screenshot no response system device desktop os window 10 browser firefox version 121 0 1 additional context no response |
freecodecampfreecodecamp | mislead description for step 15 of learn modern javascript method by build football team card | Bug | describe the issue in the description it be be mention that after set the value in freezed object we need to add a console log and open the console to see an uncaught typeerror it be create the illusion that console log be do something because of which value be get console while that be not be the case and it be during runtime when the code be encounter update in freezed object then an error be get throw and because of absence on try catch it be get throw as uncaught type and be be show on console for a new developer it can be very confusing and get result in mislead information affect page your code myfavoritefootballteam team usa expect behavior I think test should get pass without actually ask for add console log screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | duplicate property in boilerplate css number sorter project | Bug | describe the issue the number sorter project seem to have a duplicate property in the css boilerplate affect page your code form width 100 padding 15px auto text align center pad 15px expect behavior normally there d only be one padding right screenshot no response system all additional context no response |
freecodecampfreecodecamp | fix test for oop game step 73 to accept multiple valid solution | Bug | describe the issue we have a camper on the forum unable to pass the test with the follow code js platform foreach platform platform draw the test be expect this solution js platform foreach platform platform draw we shouldn t have one fix solution all valid solution should be accept the test for this step will need to be update affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | javascript course learn form validation by build a calorie counter step 94 test accept wrong answer | Bug | describe the issue the test ask to create an event listener and pass clearform function without directly call clearform however when I try to call the clearform directly this test accept the wrong answer affect page your code wrong answer but accept clearbutton addeventlistener click clearform expect behavior suppose to give error screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | wrong test no 7 description for build a palindrome checker certification test | Bug | describe the issue in test no 7 of build a palindrome checker certification test follow description be provide when the text input element contain the text eye and the check btn element be click the result element should contain the text eye be a palindrome I notice that this be the only response where we be sanitize the input to remove the special character so I start down write some sanitizeinput method which will sanitize the input to remove special character from he start as be in the start but then I notice that this same test be not get pass so I just think of remove the sanitizeinput method because we be not sanitize the input for any other test and append the input string in response and that make the test work so it seem like test description be not correct which be create confusion affect page your code index html palindrome checker check script js const inputtext document getelementbyid text input const checkbutton document getelementbyid check btn const resultarea document getelementbyid result const cleaninput input return input replace 0 9a za z g const ispalindrome input const reversedinput input split reverse join tolowercase const cleanedinput cleaninput input const cleanedreversedinput cleaninput reversedinput return cleanedinput tolowercase cleanedreversedinput const checkpalindrome const input inputtext value if input alert please input a value return if ispalindrome input resultarea innertext input be a palindrome return resultarea innertext input be not a palindrome checkbutton addeventlistener click checkpalindrome expect behavior test no 7 description should be correct and assertion condition should be the expect one screenshot test no 7 description all test clear popup with sanitization system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | javascript course learn form validation by calorie counter step 47 66 75 and probably more | Bug | describe the issue I forgot to put a semicolon when declare a variable in step 66 which should have produce a syntax error however the test pass then I try to make the same syntax error in step 67 75 but they also all pass then I try the same error in step 47 but it also pass so I m not sure how many or if all of the step in the challenge can t detect this syntax error I stop track they down after test step 47 since it be slow my course progress affect page step 47 67 75 your code sorry too lazy to write they all down please just check for yourself expect behavior program do not detect syntax error screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | forum leaderboard project step 61 update test to accept multiple valid solution | Bug | describe the issue the challenge be expect usage of startswith method however the decription be not clear about that have recently complete the regex course my first idea be to use test method which ironically doesn t pass the test affect page step to reproduce 1 go to 2 attempt to solve the challenge use test method 3 see test fail expect behavior decription should be change to make it clear which method should be use or the test should be change to accept other solution screenshot image system not relevant additional context no response |
freecodecampfreecodecamp | test issue newbe learn how to contribute to open souce | Bug | describe the issue test issue newbe learn how to contribute to open souce affect page test issue newbe learn how to contribute to open souce step to reproduce 1 go to 2 click on 3 scroll down to 4 see error expect behavior test issue screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | javascript course learn form validation by build a calorie counter step 56 test doesn t accept right answer | Bug | describe the issue the test ask we to create a for loop however when I write code with acceptable logic the test reject it I just switch the position of the variable in the conditional statement of the for loop while keep the same condition affect page step 56 your code correct answer that wasn t accept for let I 0 list length I I correct answer that be accept for let I 0 I |
freecodecampfreecodecamp | javascript course learn form validation by build a calorie counter step 50 test accept wrong answer | Bug | describe the issue the test ask to create an event listener and pass addentry function without directly call addentry however when I try to call the addentry directly this test accept the wrong answer affect page your code right answer addentrybutton addeventlistener click addentry wrong answer addentrybutton addeventlistener click addentry expect behavior the be not suppose to let I pass screenshot no response system device e g ipad pro os e g ios 15 browser e g safari version e g 22 additional context no response |
freecodecampfreecodecamp | typo on a2 english for developer beta dialogue 1 a mobile developer join the team task 10 | Bug | describe the issue this task have this sentence mobile mean something that can be move or use on the go like mobile phone or tablet so I think it might want to say use on they go instead of use on the go affect page your code n d expect behavior n d screenshot no response system n d additional context no response |
freecodecampfreecodecamp | typo on a2 english for developer beta dialogue 1 a mobile developer join the team task 4 | Bug | describe the issue in the very end below the video as we can see this sentence by add er to a verb you create a noun that describe a person s job it doesn t apply to all profession but I ll see this pattern in many well I believe it make more sense to change I ll see this pattern in many to you ll see this pattern in many affect page your code n d expect behavior n d screenshot no response system n d additional context no response |
freecodecampfreecodecamp | pok mon search app type test expect element to exist before fetch call | Bug | describe the issue we should be able to move the selector into the if statement after the fetch and timeout so the element can be create dynamically after the fetch call edit hmm well I guess we can t clear it then I m not sure we should be anyway that seem like an odd way of test an app by manipulate its dom content for it I would suggest we do not do so test affect page your code async try const searchinput document getelementbyid search input const searchbutton document getelementbyid search button searchinput value pikachu searchbutton click const re await fetch fetch from proxy to simulate network delay if re ok await new promise resolve settimeout resolve 1000 additional delay to allow ui to update const typesel document getelementbyid type don t clear the element typesel innerhtml clear type element before test assert lengthof typesel child 1 assert strictequal typesel child 0 innertext trim tolowercase electric catch err throw new error err expect behavior alow code to generate the element after the fetch be do screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context forum |
freecodecampfreecodecamp | new javascript typo in step 47 of binary converter project | Help Wanted | describe the bug the follow sentence have a typo lfio and be be miss before store in computer science a stack be a data structure where item store in an lfio last in first out manner to reproduce |
freecodecampfreecodecamp | remove unused i d of calculate calorie from calorie counter project | Bug | describe the issue in step 11 we have camper create a button with the i d of calculate calorie however as be point out in this forum post that i d be not reference anywhere in the css or javascript code so we should remove it note for contributor this have be open for contribution the first comprehensive pr create will be review and merge we typically do not assign issue to anyone other than long time contributor if you would like to contribute and have not read the contributor docs please do so here if you have any issue with contribute be sure to join we on the contributor channel or on the contributor sub forum file that need to be change you will need to first update the instruction for step 11 here be the file for that here be the update text md description create another div element within it nest a button to submit the form this button should have the text calculate remain calorie then add a button with the i d set to clear to clear the form don t forget to give it a type attribute that prevent it from submit the form this button need the text clear also remove the test and hint text below for the i d of calculate calorie your button element should have an i d attribute set to calculate calorie js assert equal document queryselectorall form div 1 queryselector button getattribute i d calculate calorie for all of the html file for step 12 through the end remove the i d calculate calorie from this button here html calculate remain calorie make sure to also remove the i d calculate calorie from the final solution code find in the solution section affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | todo app addorupdatetaskbtn text be not properly update after edit task | Bug | describe the issue about the todo app when update a task we be change the innertext addorupdatetaskbtn innertext update task addorupdatetaskbtn arialabel update task and then when we be create new task the button stay with text update task so for future coder it would be nice to create somewhere in the way step to change back when create task to addorupdatetaskbtn innertext create task addorupdatetaskbtn arialabel create task affect page your code const edittask buttonel const dataarrindex taskdata findindex item item i d buttonel parentelement i d currenttask taskdata dataarrindex titleinput value currenttask title dateinput value currenttask date descriptioninput value currenttask description addorupdatetaskbtn innertext update task addorupdatetaskbtn arialabel update task taskform classlist toggle hide expect behavior const addorupdatetask addorupdatetaskbtn innertext add task addorupdatetaskbtn arialabel add task const dataarrindex taskdata findindex item item i d currenttask i d const taskobj i d titleinput value tolowercase split join date now title titleinput value date dateinput value description descriptioninput value if dataarrindex 1 taskdata unshift taskobj else taskdata dataarrindex taskobj localstorage setitem datum json stringify taskdata updatetaskcontainer reset screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context add this two line of code to function addorupdatetask fix the problem const addorupdatetask addorupdatetaskbtn innertext add task addorupdatetaskbtn arialabel add task |
freecodecampfreecodecamp | miss test case for require attribute javascript form step 3 | Bug | describe the issue code pass without give the input element the require attribute this answer be incorrect but pass budget the input tag should look like this affect page freecodecamp org learn javascript algorithm and datum structure v8 learn form validation by build a calorie counter step 3 step to reproduce see above expect behavior code should not pass screenshot no response system desktop window 11 chrome 120 0 6099 200 additional context no response |
freecodecampfreecodecamp | clarify instruction for cafe menu step 58 | Bug | describe the issue the instruction ask to style both the h1 and h2 element with the same font family but they do not make it clear that the test will only accept one ruleset use the h1 h2 selector grant if the user create separate ruleset for h1 and h2 the hint will tell they to use an h1 h2 selector but I think it be much well to be explicit about this in the instruction instead of tell the user they aren t do it the way we want they to after the fact I suppose you could argue that the phrase style both the h1 and the h2 element imply that we want they in one ruleset but I m not sure that s clear enough and I just run into someone in the forum who certainly didn t interpret it that way affect page your code n a expect behavior change the last sentence in the instruction to something like style both the h1 and the h2 element use only one selector list so that only these element text use impact font or there may be some well wording I m not sure if we have use the term selector list enough that they would understand what that mean screenshot no response system n a additional context no response |
freecodecampfreecodecamp | music player project step 6 hint and description for the duration property do not match | Bug | describe the issue the description show the duration property should have a value of 3 51 but the hint show 4 15 instead affect page your code i d 2 title still learn artist quincy larson duration 4 15 expect behavior the duration property should have a value of the string 3 51 screenshot screenshot 2024 01 09 at 9 18 55 am system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | certification project typo in instruction of a palindrome checker | Bug | describe the issue point 7 of instruction say when the text input element contain the text eye and the check btn element be click the result element should contain the text eye be a palindrome there be miss underscore near eye in the result text the correct solution for this test be text eye be a palindrome with underscore affect page your code expect behavior instruction text at point 7 change to when the text input element contain the text eye and the check btn element be click the result element should contain the text eye be a palindrome screenshot screenshot 2024 01 09 at 04 07 18 freecodecamp org system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | typo on a2 english for developer beta learn greeting in your first day at the office task 160 | Bug | describe the issue on the current page exist this sentence jake tell sarah he can get in or out after he hear the door click mean he can enter or leave the building but when you listen to the audio it sound like jake explain to sarah so I think it should be she instead of he all over the sentence affect page your code expect behavior n a screenshot no response system n a additional context no response |
freecodecampfreecodecamp | build a cipher step 3 use a less ambiguous word | Bug | describe the issue the instruction for now print your text variable to the screen by include the variable name between the opening and closing parenthesis of the print function the word include might be misinterpret as the text variable something more that something more might be understand as quote I would suggest use add or put instead for now print your text variable to the screen by add the variable name between the opening and closing parenthesis of the print function we should change it in the hint as well you should pass text to your print function by add the name of this variable within parenthesis we might also test for quote or just make it part of the hint you should pass text to your print function by add the name of this variable within parenthesis do not put quote around the variable name as suggest in the thread a code example with the print function pass a variable as an argument might also help affect page your code expect behavior use less ambiguous word screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context forum |
freecodecampfreecodecamp | challenge test should fail on initial state doesn t seem to be work | Bug | describe the issue while play around with I notice that the test for make sure a challenge must fail on the initial content doesn t seem to be work affect page step to reproduce 1 go to the challenge above 2 don t add any code and click run the test 3 see test pass without enter any code 4 we have a test to make sure a challenge fail on the initial state of the challenge it doesn t seem to be work expect behavior you should have to enter code to pass a challenge note that there be other challenge which pass without add any code as well the test for catch this doesn t seem to be work as intend see test suite must fail on the initial content test here l418 |
freecodecampfreecodecamp | python cipher step 91 misleading | Bug | describe the issue in this step it s reveal to the learner that they be use the wrong decryption key they be give the correct key and the message be decrypt this be mislead and up until this step the learner will have a feeling that they have do something wrong and that their code be incorrect even if it pass the test learner often think the test have a bug it also break the magic of see the logic of the code and how it link to the output if they have the wrong key the whole time they will be unable to see how the code decrypt the message they will be follow rote instruction hopelessly and with no understanding because the output be wrong when we reveal at the end that we ve trick they I think it break trust between the student and the teacher learn programming be hard and this twist ending mean the learner can t really trust the instruction to make sense until the final step they will be encourage to blindly implement the instruction without understand propose change if we want to save the reveal of the message in the last step we could add this line last or just add the decryption variable in the last step print f ndecrypte text decryption n use placeholder text for the input in step 82 and give the encrypt string last text encrypt text to go here even if we simply notify the learner that the key be incorrect early they will know why the output be not decrypt this way the output win t be wrong up until the very last step the learner will know that the input be incomplete or that the final decryption isn t yet print and the link between code and output will make sense complete the logic of the program will coincide with reveal the cipher affect page your code na expect behavior na screenshot na system na additional context no response |
freecodecampfreecodecamp | potential bad wording in step 20 of learn regular expression by build a password gen | Bug | describe the issue the wording seem like it could be potentially confusing affect page your code new password generate password 8 expect behavior something along the line of finally use the assignment operator to set new password equal to the return value of generate password with 8 pass as the function argument might be well I m pretty sure say assign the function call could be a little confusing and it might not be right way to describe thing I m interested in additional opinion screenshot no response system device desktop os window 10 browser firefox version 121 0 additional context it be report in this thread |
freecodecampfreecodecamp | python cipher step 82 unclear variable name | Bug | describe the issue this be relate to issue 53042 exist instruction change your text variable into mrttaqrhknsw ih puggrur instruction be to change text hello zaira this will no long be plain text unencrypted text or clear text it will be encrypt text or cipher text this be a bit confusing in the next step when we ask to print encrypt text text since this variable be previously plain unencrypted text propose change I propose we change the variable name as well delete the line text hello zaira declare a new variable call encrypt text and assign it this string mrttaqrhknsw ih puggrur it could be encrypt text or ciphertext encrypt text be probably more clear affect page your code na expect behavior na screenshot na system na additional context no response |
freecodecampfreecodecamp | inconsistent optional chaining for userdata currentsong in multiple step of music player project | Bug | describe the issue I notice that for complete step 36 optional chain not to be use for access userdata currentsong success case error case while for complete step 38 it be opposite where it be require to use optional chaining to access userdata currentsong success case error case this inconsistent behavior be cause confusion when to use and not to use optional chaining it should be consistent or may be mention in the task description how we need to access the property note I have not check every step for the same behavior these be two which I notice affect page your code success case on step 36 const getcurrentsongindex userdata song indexof userdata currentsong error case on step 36 const getcurrentsongindex userdata song indexof userdata currentsong success case on step 38 const playnextsong if userdata currentsong null playsong userdata song 0 i d error case on step 38 const playnextsong if userdata currentsong null playsong userdata song 0 i d expect behavior optional chaining should be consistent or may be mention in the task description how we need to access the property screenshot already share in the description system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | python cipher step 83 unclear explanation | Bug | describe the issue current instruction modify print encryption to print encrypt text mrttaqrhknsw ih puggrur use the operator to concatenate text to your string and pay attention to the space summary of attempt post to the forum print encrypt text mrttaqrhknsw ih puggrur encryption encrypt text mrttaqrhknsw ih puggrur print encrypt text mrttaqrhknsw ih puggrur encryption print encrypt text mrttaqrhknsw ih puggrur print encrypt text encryption print encrypt text encryption print encrypt text encryption print encrypt text encryption print encrypt text encryption print encrypt text encryption print encryption print encrypt text print encrypt text decrypt encryption custom key print encrypt text text this be correct but not pass the test analysis modify print encryption to print encrypt text mrttaqrhknsw ih puggrur this part be confusing because you need to understand that it s ask you to print part of a string plus a variable you need to understand which variable contain this string of character if take literally as many instruction be require to do people be just print this text not the variable use the operator to concatenate text to your string and pay attention to the spacing not clear that text be an exist variable not clear what string be be refer to this be also one of the step that be break up so that the actual logic of the code isn t helpful in understand the step the exist code encryption encrypt text custom key print encryption we be encrypt text and then print the encryption so change it to encrypt text text be mis lead because we aren t encrypt text yet however text be already encrypt I would consider change the name of the variable text to be encrypt text or ciphertext to indicate that it be store encrypted text then encrypt text encrypt text will make sense propose change I think the instruction just need to be very explicit in this case modify print encryption to print encrypt text use the operator to concatenate the text variable to the encrypt text string and pay attention to the spacing I think we should also change the name of the variable text to encrypt text or ciphertext when it s introduce in step 82 that would make this modify print encryption to print the string encrypt text use the operator to concatenate the encrypt text variable to the encrypt text string and pay attention to the space affect page your code n a expect behavior n a screenshot n a system n a additional context n a |
freecodecampfreecodecamp | python cipher step 15 unclear hint | Bug | describe the issue the current hint be exactly the same as the original instruction you should pass text 0 low to the find method here s a summary of the 6 forum post open no attempt 2 find text 0 low print find text 0 low find text 0 low find text 0 low it seem like people be add a new find line proposal to change the hint modify this line index alphabet find text 0 add low to text 0 affect page your code n a expect behavior n a screenshot n a system n a additional context no response |
freecodecampfreecodecamp | exercise image be not available for top exercise d | Bug | describe the issue all image be not available in top learn css foundation project css foundation exercise d affect page your code expect behavior something like this link screenshot no response system device laptop os macos big sur 11 7 6 browser firefox version 121 additional context no response |
freecodecampfreecodecamp | incorrect use of term in calorie counter project | Bug | describe the issue we get an email in the support inbox recently about the incorrect use of the term surplus and deficit in the calorie counter project accord to this source a caloric surplus be when you consume more calorie than you expend throughout the day and a deficit be when you consume less than you expend currently the calorie counter project use these term the opposite way it show x calorie surplus when the number of calorie remain be less than the daily calorie budget and x calorie deficit the number of calorie consume go over the daily budget I think we have a couple of option here 1 update the description and seed start from step 77 currently I d 63c9e55b4b06c11fff555c64 to the final step so the ternary operator surplusordeficit return surplus if remainingcalorie be less than 0 and return deficit if not const surplusordeficit remainingcalorie 0 surplus deficit 2 since the term surplus and deficit can still be confuse update the project to use the text x calorie remain x calorie over or something similar and for the text color to be green if remainingcalorie be great than or equal to 0 and red if not the variable name surplusordeficit could still be use but it may be well to update it to something more general like overorunder if we do update this variable we should also update the class in the html and css from surplus and deficit to over and under too it would sound nice to use x calorie remain x calorie remain but I believe this project be the only one to teach the math abs method at the moment so wording like x calorie remain x calorie over would allow we to keep teach it here or if someone have another suggestion for a way to improve this project feel free to share your thought and we can discuss it affect page edit update the text and ternary operator so surplus be return when remainingcalorie be less than 0 rather than less than or equal to 0 there doesn t seem to be a term for when the amount of calorie consume be the same as calorie burn when remain calorie be 0 but a 0 calorie deficit seem close since you should maintain your current weight const surplusordeficit remainingcalorie 0 surplus deficit const surplusordeficit remainingcalorie 0 surplus deficit |
freecodecampfreecodecamp | learn conversation starter in the break room task 55 sentence doesn t match audio | Bug | describe the issue the fill in the blank sentence doesn t match what the character say affect page your code the write sentence be those be great trait for someone in her position I think what she as our team lead expect behavior the character say those be great trait for someone in her position I think what do she do as the team lead note the the instead of our screenshot no response system device all os all browser all version all additional context no response |
freecodecampfreecodecamp | learn introduction in an online team meet task 57 proper noun not capitalize in the question | Bug | describe the issue lisa s name be not capitalize in the question affect page your code the question be what do bob want to know about lisa expect behavior the question should be what do bob want to know about lisa screenshot no response system device all os all browser all version all additional context no response |
freecodecampfreecodecamp | step 164 for rpg game be miss backtick for number | Bug | describe the issue all number for description should be in backtick here be the update description md description inside your while loop push a random number between 0 and 10 to the end of the number array you can create this random number with math floor math random 11 note to first time contributor here be the file you will need to change please make sure you read our guideline for contribute we prioritize contributor follow the instruction in our guide join we in our chat room or our forum if you need help contribute our moderator will guide you through this sometimes we may get more than one pull request we typically accept the most quality contribution follow by the one that be make first happy contribute affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | fix test for step 96 of platformer game | Bug | describe the issue previous challenge only work if the single parameter use for map and other type of method be wrap in parenthesis this challene only work if say parameter be not wrap in parenthesis const checkpoint checkpointposition map checkpoint new checkpoint checkpoint x checkpoint y doesn t work but const checkpoint checkpointposition map checkpoint new checkpoint checkpoint x checkpoint y do work affect page your code const checkpoint checkpointposition map checkpoint new checkpoint checkpoint x checkpoint y expect behavior the parameter use in the map function should work both when wrap and not wrap in parenthesis screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | allow no parenthesis around parameter step 72 platformer game | Bug | describe the issue const platform platformposition map platform new platform platform x platform y should be accept as an answer but the site only accept the answer if platform be wrap in parenthesis like const platform platformposition map platform new platform platform x platform y task step 72 in the map callback function pass in platform for the parameter and implicitly return the creation of a new platform instance with the platform x and platform y value pass in as argument affect page your code const platform platformposition map platform new platform platform x platform y expect behavior should be accept as an answer screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | step 67 of forum project should accept attribute in any order | Bug | describe the issue we have a camper on the forum that be unable to pass the step 67 test because the test expect a certain order for the attribute the test expect this order js title but the attribute of class target and href can be in any order since that be valid code so the test need to be update so any valid code pass affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | error spread allsong in next line for step 9 of learn basic string and array method by build a music player | Bug | describe the issue while do the exercise I observe an inconsistency in the code test of the spread operator when apply to the allsong array an error occur when attempt to spread allsong on the next line within the object literal while the test pass when the spread operation be conduct inline also in the exercise statement it be not be mention to spread allsong inline error receive your userdata object should have a song key set to allsong spread both inline and on next line be correct so we should probably make test pass for both the case affect page your code let userdata song allsong expect behavior we should probably make test pass for spread allsong both inline or on next line screenshot system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | learn greeting in your first day at the office task 32 sentence doesn t match audio | Bug | describe the issue the fill in the blank sentence doesn t match what the character say affect page your code the write sentence be thank maria for I around the expect behavior the character say thank for I around the maria screenshot no response system device all os all browser all version all additional context no response |
freecodecampfreecodecamp | type error in step 50 | Bug | describe the issue for the two p element you just add add dessert as the value of the first p element s class attribute and the value price as the second p element class attribute in the above line the element word after second p should be element s similiar to first p element s in the codebase there be no typo error code link affect page step to reproduce open both link it s visible recommend fix or suggestion change element to element s screenshot g |
freecodecampfreecodecamp | unclear instruction in step 19 of build a music player | Bug | describe the issue the question be word super horribly add songshtml to playlistsong by use the innerhtml property it just isn t write in an easy to understand way affect page your code playlistsong innerhtml songshtml expect behavior the wording should be something like assign songshtml to the innerhtml property of the playlistsong element screenshot no response system device desktop os window 10 browser firefox version 121 0 additional context first report in this thread |
freecodecampfreecodecamp | fix spelling error in step 53 of music player project | Bug | describe the issue the word reference be misspell here md description inside the function obtain refrence to the html element responsible for display the song title and artist access the player song title and player song artist element with the getelementbyid method assign they to variable playingsong and songartist respectively here be the file you will need to fix an issue with the help want or first timer only label be open for contribution the first comprehensive pr create will be review and merge we typically do not assign issue to anyone other than long time contributor if you would like to contribute and have not read the contributor docs please do so here if you have any issue with contribute be sure to join we on the contributor channel or on the contributor sub forum affect page your code see explanation above expect behavior see explanation above screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | build a spreadsheet step 17 set hyphenate attribute value as property | Bug | describe the issue I haven t look at much of the new curriculum but I assume the fact that you need to convert the hyphenate aria attribute value to camel case for the property have be explain at some point should use setattribute not also be a valid way of set attribute do we teach setattribute anywhere affect page your code expect behavior explain how to set the aria attribute as a property if it have not be explain allow the use of setattribute for set attribute teach the setattribute method somewhere if it have not be teach screenshot no response system device e g iphone 6 laptop os e g ios 14 window 10 ubuntu 20 04 browser e g chrome safari version e g 22 additional context no response |
freecodecampfreecodecamp | todo project remove unnecessary instance of aria label | Bug | describe the issue the task say set the innertext of the addorupdatetaskbtn button to update task and its aria label to update task as well the step be look for user to do addorupdatetaskbtn arialabel update task but the step say aria label do we mention somewhere that you set the aria label of the html by change the arialabel property of the dom element we do have the error message of you should set the arialabel of the addorupdatetaskbtn button to update task but that s not clear to all user affect page your code addorupdatetaskbtn innertext update task addorupdatetaskbtn arialabel update task expect behavior clear instruction screenshot no response system all additional context no response |
freecodecampfreecodecamp | python build a cipher step 71 instruction be not correct | Bug | describe the issue accord to the instruction the user should update the first and second comment in the code in fact it be the second and third comment that need to be change the hint be correct though affect page your code expect behavior the instruction should tell the user to update the second and third comment screenshot system device laptop os window 11 home browser firefox version 121 0 additional context no response |
freecodecampfreecodecamp | fix change element to element s | Bug | fix change element to element s checklist x I have read and follow the contribution guideline x I have read and follow the how to open a pull request guide how to open a pull request x my pull request target the main branch of freecodecamp x I have test these change either locally on my machine or gitpod close 52968 |
freecodecampfreecodecamp | learn basic javascript by build a role play game step 156 test accept wrong answer | Bug | describe the issue I give the wrong answer but the website count the answer as correct even though it be actually wrong the step ask I to decrement currentweapon in the last if statement however I decremente currentweapon on the 3rd line text innertext you attack it with your weapon currentweapon name yet the program still pass I affect page your code the wrong answer javascript function attack text innertext the monster fight name attack text innertext you attack it with your weapon currentweapon name health getmonsterattackvalue monster fight level if ismonsterhit monsterhealth weapon currentweapon power math floor math random xp 1 else text innertext you miss healthtext innertext health monsterhealthtext innertext monsterhealth if health 0 lose else if monsterhealth 0 fight 2 wingame defeatmonster if math random 1 text innertext your inventory pop break the right answer javascript function attack text innertext the monster fight name attack text innertext you attack it with your weapon currentweapon name health getmonsterattackvalue monster fight level if ismonsterhit monsterhealth weapon currentweapon power math floor math random xp 1 else text innertext you miss healthtext innertext health monsterhealthtext innertext monsterhealth if health 0 lose else if monsterhealth 0 fight 2 wingame defeatmonster if math random 1 text innertext your inventory pop break currentweapon expect behavior I know the answer be wrong so I expect the program not to let I pass but it do screenshot no response system device ipad pro os e g ipado browser e g safari version e g 22 additional context no response |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.