repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
freecodecampfreecodecamp | js curriculum spreadsheet step 34 miss implicit return test | Bug | describe the issue when work with the js spreadsheet at step 34 it mention the follow instruction to complete the challenge in your evalformula declare an idtotext arrow function which take an i d parameter your idtotext function should return the result of call find on the cell array with a callback function that take an cell parameter and return cell i d i d and that s alright but when run the follow correct solution it doesn t pass and throw the follow error js const evalformula x cell const idtotext i d return cell find cell cell i d i d you should assign idtotext the result of call the find method on your cell array affect page your code js const evalformula x cell const idtotext i d return cell find cell cell i d i d expect behavior the current test error that it throw be misleading and it s happen because there s a miss test for the above code which be expect an implicit return a test should be add to let the user know that an implicit return be expect and can reach to the expect solution js const evalformula x cell const idtotext i d cell find cell cell i d i d update the challenge instruction would be appreciate too on the other hand there s a similar case where a correct test be run when execute the follow solution this happen js const evalformula x cell const idtotext i d cell find cell return cell i d i d your callback function should use an implicit return this be test use the follow test js assert notmatch code const s evalformula s s s x s s cell s s s s const s idtotext s s s i d s i d s s cell find s s cell s cell s s screenshot cleanshot 2024 03 31 at 15 02 53 system device laptop os macos 13 6 6 browser chrome version 123 additional context no response |
freecodecampfreecodecamp | google pay display wrong amount | Bug | describe the issue if any amount other than the default amount be select google pay still show the default amount affect page freecodecamp org donate your code expect behavior the amount display in google pay should be the same as the amount select 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 for testing apple pay only show up in https so a tunnel such as ngrok be need stripe key be need for the button to show up |
freecodecampfreecodecamp | ui component storybook control don t display correctly | Bug | description control that should be display as option be currently miss l24 l29 |
freecodecampfreecodecamp | improve instruction step 12 of the python case converter project | Bug | describe the issue some camper be confused whether the solution be a single line print statement or two separate statement some forum query can be view here affect page your code some camper find the solution to be py def main convert to snake case alongandcomplexstre print convert to snake case instead of py def main print convert to snake case alongandcomplexstre expect behavior the update instruction can be something like this within the main function remove the pass statement and substitute it with a print call pass convert to snake case alongandcomplexstre as an argument to the print call in order to display the function s return value 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 | incorrect font list in style guide | Bug | describe the issue the typography section of the design style guide typography state that roboto mono be the primary monospace font however when I check font family use developer tool the monospace font use be hack and hack zeroslash affect page typography step to reproduce update the design style guide page to include correct font family name recommend fix or suggestion roboto mono should be replace with hack and or hack zeroslash screenshot |
freecodecampfreecodecamp | haseditableboundarie be overload as an step challenge check | Bug | describe the issue as discuss in issuecomment 2016404293 currently the haseditableboundarie be also use a check for where a challenge be step challenge this have the pitfall that we could have a challenge that have editable boundary but have a regular title affect page username step to reproduce currently there be no challenge with the issue I think because it have be accept as a de facto convention expect behavior have a different flag like isstepchallenge to decouple they screenshot no response system n a additional context no response |
freecodecampfreecodecamp | fix assertion test on step 68 on music player project | Bug | describe the issue the method setattribute should be place outside of function setplaybuttonaccessibletext but the test pass in both case which be suppose to be wrong accord to the test in curriculum challenge english 15 javascript algorithm and datum structure 22 learn basic string and array method by build a music player 6555de565387a2efe90a6ccc md you should not modify the exist setplaybuttonaccessibletext function and its content js assert match code const s setplaybuttonaccessibletext s s s s s s const s song s s userdata currentsong s s userdata song s s 0 s s s s s s s s so it seem that the assertion above doesn t work affect page your code expect behavior the test should not pass if setattribute method be use inside setplaybuttonaccessibletext 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 isbeta flag from challenge meta | Bug | describe the issue many of the meta json file have an isbeta flag I m pretty sure it doesn t do anything there s some other area where this variable exist see here it say it s for show thing during dev or on dev but we have showupcomingchange for that now if we aren t use it anywhere we can probably remove it from all of those location |
freecodecampfreecodecamp | learn how to talk about a typical workday and task step 108 require word be never utter | Bug | describe the issue the word ethical be never speak only ethic linda learn that compliance help maintain safety and ethical standard ethical standard be an umbrella term it would be difficult for a language learner to reach that conclusion without the word ever speak in context code affect page your code expect behavior the exact require word to be speak and use in context 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 | move spam filter project early in the js certification | Bug | describe the issue be it possible that the new beta javascript curriculum be out of order at one particular place I be at the learn while build a spreadsheet part of the curriculum and it seem to be ask I to implement regex in way we haven t explore at all up to this point unless I be overlook something I see though that the next task exercise be learn regex be this an oversight or have I miss something affect page your code expect behavior as note in description it doesn t seem like we have learn this much regex in the course up to this point I wonder if these exercise be place out of order as regex be explore in more depth in the next exercise 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 | project solution be miss from certify user datum | Bug | description some project solution be break miss from certify user datum and we have an error message next to those project screenshot project with broken solution be responsive web design build a survey form build a tribute page build a technical documentation page build a product landing page build a personal portfolio webpage relational database celestial body database world cup database salon appointment scheduler periodic table database number guess game legacy front end build a personal portfolio webpage build a tribute page we also have some project which don t have a solution the solution column be empty rather than display an error message screenshot project with broken solution be javascript algorithm and datum structure beta build a palindrome checker build a roman numeral converter build a telephone number validator build a cash register build a pok mon search app quality assurance sudoku solver american british translator scientific computing with python arithmetic formatter time calculator budget app polygon area calculator probability calculator datum analysis with python mean variance standard deviation calculator demographic data analyzer medical datum visualizer page view time series visualizer sea level predictor information security port scanner sha 1 password cracker secure real time multiplayer game machine learn with python rock paper scissor cat and dog image classifier book recommendation engine use knn linear regression health cost calculator neural network sm text classifier college algebra with python build a multi function calculator build a graph calculator build three math game build a financial calculator build a data graph explorer affect page in development environment and on setting certification setting |
freecodecampfreecodecamp | protein gram position on nutrition label step 61 | Bug | describe the issue there be two issue 1 the positioning of gram on the protein line be in the percent column which look strange and do not follow the fda guideline here be the fcc challange fcc protein and the fda guidline fda protein 2 the code can be pass with either the fcc version or the fda version fda guidline affect page your code html protein 3 g or html protein 3 g expect behavior should look like fda rule and or pass with only one version both snippet pass the test when snippet 1 follow fda guideline be use the next step reset the code to snippet 2 pass with fda screenshot no response system device n a os n a browser n a version n a additional context no response |
freecodecampfreecodecamp | dice game miss some small straight | Bug | describe the issue you can get a small straight with 12346 but that s exclude affect page your code js if smallstraightsarr some straight uniquenumbersstr include straight updateradiooption 3 30 expect behavior all valid small straight capture we should put step 85 before the current step 84 then update step 84 to use something like the logic give above forum post system all additional context no response |
freecodecampfreecodecamp | unclear compilation error in python course with keyword typo | Bug | describe the issue if camper make a typo like use while instead of while for their loop construct they have no idea if it s a space problem or they re use the wrong keyword there must be a way to let they know what kind of issue they re face affect page your code while true password generate password for in range length password secret choice all character expect behavior the console should inform the camper that the phrase while be unexpected or something among those line if a compilation error be happen the camper should always know what it mean instead of guess screenshot image system device desktop os window 10 browser firefox version 123 0 1 additional context first report in this thread I also be fairly sure someone accidentally leave a console log statement in execute challenge saga js regard newtest and it should probably be remove |
freecodecampfreecodecamp | zombie headless browser challenge | Bug | describe the issue set browser site cause the error typeerror bind einval 0 0 0 0 use browser site or force the dns result order setdefaultresultorder dnssetdefaultresultorderorder add before the test code const dns require dns dns setdefaultresultorder ipv4first fix it the good I can tell in new version of node the dns result order have change might have be in v17 we have to fix a different challenge at one point to allow ipv6 ips I think this issue be relate not sure what the good solution be but we might have to update the boilerplate or the challenge text we can force the result order in the boilerplate if need edit my good guess why we haven t see this issue more be because we at least at one point force the engine in package json and possibly replit run old version of node for a long time I believe most people will see it locally with new version of node and I see it on gitpod run node 20 affect page your code expect behavior not to get an error with the code the challenge tell you to use 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 | most common incorrect answer for step 1 | Bug | describe the issue here be the list of the most common incorrect answer for learn html by build a cat photo app step 1 editable file content unique user count hello world 57672 hello world 4829 hello world 3114 catphotoapp 1988 cat photo app 1829 hello worldcatphotoapp 857 hello world 825 hello world 823 hello world 479 catphotoappp 389 to see the indentation and line break consideration 1 the right answer be also include in the fail variation either google analytic be misfire l145 l151 or there be an issue with our evaluation logic extension test browser extension etc 2 it seem like a lot of user be confused about the placement of catphotoapp 3 add a copy button feature for the code block might help with reduce the misspelling of catphotoapp 4 have the default seed as the wrong answer could mean user be just test the ui I could ab test disable the button if seed do not change and see if there be an improvement in user behaviour goal reduce the bounce rate people leave the platform on the entry challenge be highly critical increase the percentage of the people who go to the next challenge would significantly increase all of our metric suggestion oliver suggest change the instruction to say change its text from hello world to catphotoapp should clarify it a bit far other suggestion I be all hear affect page tasklist task update instruction investigate why correct answer be fail write test for common variation after the new instrucstion be in |
freecodecampfreecodecamp | c exam trophy name list as missing prerequisite be not translatable | Bug | describe the issue these string be not in translation json either image the code display the list be here l16 l26 affect page step to reproduce 1 use an account that haven t earn these trophy go to 3 see the alert message expect behavior the list item should be translatable screenshot in the description above system device laptop os window 10 browser chrome version 122 0 6261 111 additional context no response |
freecodecampfreecodecamp | python scientific computing with python project test output | Bug | describe the issue the new platform for the scientific computing with python project do not give very much feedback without the diff and assertion output from the test on replit it s extremely difficult to know what the problem be case 1 for example this error create spend chart should print a different chart representation check that all space be exact there be no other information at all in the preview or console area it s not even clear if the calculation be correct or if it s just a space issue to solve this I have to look for the test datum and expect output on github to find that the problem be an extra newline at the very end pretty common for this project I also use repr to print raw string datum to compare so you can see newline clearly but that s never introduce case 2 here be another example again without the diff and assertion output these be extremely more difficult it be already difficult for learner to understand that error output without a primer case 3 in this case there be a syntax error that prevent any code from run but no output at all to determine the problem a there be a syntax error before any code could be run message or a real python syntax error would be helpful here line 9 amount str f format entry amount 2f syntaxerror invalid decimal literal propose solution if the fails hint could output actual and expect raw string datum in the console that would be something to go by additionally it would help if the example in the instruction have explicit information about how many space there need to be if it should end with a space or newline etc affect page your code na expect behavior na screenshot na 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 na additional context na |
freecodecampfreecodecamp | clarify progress reset modal | Help Wanted | the modal currently list everything that will be reset in a single block of text we should update this to be a bit more clear maybe a list verbiage can be discuss here or iterate over in a pr to close this issue |
freecodecampfreecodecamp | view multifile python cert project solution show blank page | Bug | describe the issue after submit one of the new multifile python cert project when you try to view the project on your setting page it show a blank page affect page step to reproduce link be to dev 1 go to a new python cert project 2 submit a solution 3 go to your setting page 4 scroll down to the project you just submit 5 click view view project 6 see blank page expect behavior either show the python code run or just remove the view project button for those project screenshot feb 29 2024 10 13 04 |
freecodecampfreecodecamp | miss csv file in release branch of relational database course | Bug | describe the issue I ve have a user report that they can t find the csv file when clone the github project for the relational database course look at the world cup database there be no csv file present however in the v2 0 0 branch the game csv file be there this also appear to be true for the student database the course csv and student csv be find only in v3 0 0 affect page your code n a expect behavior the csv file should be present in the most recent release version of the repo screenshot no response system n a additional context no response |
freecodecampfreecodecamp | flash display in the update email flow doesn t have a background color | Bug | description the flash display in the update email flow have a transparent background affect page step to reproduce 1 go to 2 scroll down to the email setting section and update your email address 3 see how the flash be display after the save button be click investigation I m not able to reproduce the issue locally but I don t think it s already fix the flash doesn t have a background color because the api response doesn t return a type which would be map to a variant in the client and determine how the flash should look l529 l533 since the new endpoint be a wip 50273 I guess we still need to maintain this one and the fix be add type info to the response |
freecodecampfreecodecamp | machine learn with python certification project not validate solution link not run test | Bug | describe the issue in the machine learn pythone course the submit link from certification project not run test affect page your code solution link expect behavior test fail you can not complete this challenge run test module py in your project for detail screenshot grafik system system window 10 browser chrome firefox additional context no response |
freecodecampfreecodecamp | quality assurance issue tracker | Bug | describe the issue none of the get request example test mention to be able to get with i d param however during one of the put request test there be a get request send with an i d I struggle to find this bug in my code I feel add one extra functional test for get request specifically require to be able to get by id if use mongodb like I be the i d need the tostre method in order to be read as a string I attach a screen shot show the put test with the get request at the bottom affect page your code expect behavior either extra functional test require to be able to get with an i d or update index html with get example that show get with an i d screenshot image system device desktop os window 11 wsl ubuntu 22 04 3 lts browser chrome version 122 0 6261 70 additional context no response |
freecodecampfreecodecamp | javascript algorithm and datum structure beta certification project direct camper away from incorrect solution | Help Wanted | be your feature request relate to a problem please describe another issue often encounter by camper in certification project be rely on code define in global context that s execute just once when preview be load this be hard for camper as any manual change to code will reload preview and therefore everything appear to be work fine when check it manually describe the solution you d like ideal would be find way to direct camper away from such dependency so far I ve think about two thing additional note in instruction test target such situation in other word test that will make hard or impossible to pass when code depend on other global than it s expect |
freecodecampfreecodecamp | should challenge repository have vs code theme setting | Help Wanted | describe the issue I get the branding or continuation idea but it seem kind of rude to change people s editor theme I didn t even notice the vscode folder the first time it happen and think my theme have break and start to mess with my editor setting anyway I find it a little intrusive affect page your code expect behavior not to have my editor theme change 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 grammar issue and update test in step 29 of music player project | Bug | describe the issue there be a few grammar issue in this description plus the description can be break up with space a little bit well for readability update description md before play the song you need to make sure it start from the beginning this can be achieve by the use of the currenttime property on the audio object add an if statement to check whether the userdata currentsong be falsy or if userdata currentsong i d be strictly not equal to song i d this condition will check if no current song be play or if the current song be different from the one that be about to be play inside your if block set the audio currenttime property to 0 also the test be look for a specific answer of userdata currentsong null userdata currentsong i d song i d for the condition but I don t see why we need to specifically check for userdata currentsong null when either of these option would be valid js userdata currentsong userdata currentsong i d song i d userdata currentsong null userdata currentsong i d song i d userdata currentsong undefine userdata currentsong i d song i d the test should be more flexible to allow any valid answer also order shouldn t matter here because we want to test that camper understand the concept not force a particular order here this should pass but currently doesn t js if userdata currentsong i d song i d userdata currentsong null 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 | multiple conditional ternary operator test case fail | Bug | describe the issue test case fail while complete challange use multiple conditional ternary operator affect page your code js function checksign num return num 0 negative num 0 positive zero return num 0 num 0 positive zero negative checksign 10 expect behavior the second case should have pass the test case but it fail the following should use multiple conditional operator screenshot no response system device laptop os fedora workstation 39 browser thorium additional context no response |
freecodecampfreecodecamp | new english curriculum title be not display appropriately in timeline | Bug | describe the issue in the timeline table on the profile page the title of each task of the new english curriculum be now display as task 3 but each of the three course contain a task with the same name so camper can not recognize at a glance which course s task have be complete affect page username step to reproduce 1 go to profile page after solve a task of new english curriculum 2 scroll down to the table under the timeline head 3 see the curriculum title expect behavior like the step in new rwd or new js algorithm and datum structure certification the title will be display with block name title and a dash screenshot the title of each task of new english curriculum on the timeline table new english curriculum title on the timeline table system device laptop os window 11 home browser chrome version 121 0 6167 161 official build 64 bit additional context no response |
freecodecampfreecodecamp | string quotation rule in python | Bug | describe the issue it would be a good idea to introduce the concept of the restriction on use the same type of quotation mark inside a string like inside or inside without escape character in one of the lesson the cipher project would be a good place to add and explain this in python be due to the way python parse string literal when python encounter a quotation mark it treat it as the start of a string the next quotation mark of the same type be treat as the end of the string this be a common convention in many programming language to clearly define the beginning and end of string literal affect page your code problematic string this be a problematic string it s a problematic string non problematic string this be a non problematic string this be a non problematic string this be a non problematic and multi line string it s a non problematic string expect behavior teach this concept would be useful to the camper 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 | cat and dog image classifier issue | Bug | describe the issue for probability answer in zip probability answer if round probability answer correct 1 this be wrong code in line 11 it should be for probability answer in zip probability answer if np round probability answer correct 1 affect page your code 11 answer 1 0 0 1 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 1 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 1 1 1 1 0 1 0 1 1 0 0 0 0 0 0 correct 0 for probability answer in zip probability answer if np round probability answer correct 1 percentage identify correct len answer 100 pass challenge percentage identify 63 print f your model correctly identify round percentage identify 2 of the image of cat and dog if pass challenge print you pass the challenge else print you haven t pass yet your model should identify at least 63 of the image keep try you will get it expect behavior for probability answer in zip probability answer if np round probability answer correct 1 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 lambda function by build an expense tracker step 16 instruction unclear | Bug | describe the issue a lot of assumption have to be make in order to understand step sixteen of this project while lambda expression be introduce back in step eleven they might not have be fully explain it barely explain the basic syntax and wasn t extremely clear on the parameter s purpose secondly this step do not clarify that the lamda expression parameter be indeed a dictionary affect page your code def total expense expense lambda expense expense amount this be the solution the challenge want as say in the hint text expect behavior back in step eleven lamda expression could be explain a little well maybe like explain that lamda expression variable be just like the parameter pass into normal function and as for step sixteen point out that the parameter be mean to be a dictionary could have be helpful instead of it just be imply screenshot no response system device desktop os window 10 browser firefox version 122 0 additional context no response |
freecodecampfreecodecamp | animation not load in depth first search challenge | Bug | describe the issue the animation content which be refer as part of the depth first search challenge explanation be not load affect page expect behavior loading animation screenshot image system device laptop os window 10 browser chrome microsoft edge |
freecodecampfreecodecamp | short path algorithm step 21 to 25 loop dictionary not explain | Bug | describe the issue as a beginner in python step 21 to 25 leave I a bit confused and I have to look for external help to get some of they do step 21 say create a for loop to iterate over your graph and append each node to the unvisited list one key information that be miss here be that when you loop through a dictionary the item as in the x in for x in list be the key of the dict not the whole key value pair until I get stump in step 24 I think the unvisited list contain the same information as the my graph dictionary I be suggest step 21 should be expand a bit affect page your code my graph a b 3 d 1 b a 3 c 4 c b 4 d 7 d a 1 c 7 def short path graph start unvisited for node in graph unvisited append node expect behavior an explanation of how loop dictionary work screenshot no response system device laptop os window 11 browser firefox version 121 0 1 64 bit additional context no response |
freecodecampfreecodecamp | python learn python list comprehension by build a case converter program | Bug | to fix post beta release markdown 1 15 test don t pass if s be place at the beginning of the line to comment out the code 11 12 improve instruction as some issue report on forum get complaint about the project not have an output until the last step it would be nice to add more step to print something to the console and clarify what s go on tasklist task |
freecodecampfreecodecamp | js certificate project allow semantic element for result output | Bug | describe the issue we should not require the result to be inside a div element if we absolutely must require an element type I would suggest we require a semantic text element affect page your code expect behavior allow any element type or require a semantic text element 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 in rpg game to only match let and not depend on var | Bug | describe the issue this issue be responsible for refactore these test here to no long depend on var for the rpg once this pr be resolve and merge in then we can update the test mention above the full context of the conversation can be see here affect page n a 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 | statistics calculator project form submit be trigger document event listener | Bug | describe the issue go to the last step and complete it use the form and check the browser console uncaught typeerror can not read property of null reading match client code throw document addeventlistener submit function e const action e target getattribute action e preventdefault if action action match https window parent window alert i18ncontent t misc iframe form submit alert externallink action false we can use stoppropagation in the project code to prevent this but I guess as a fix for this it would be a little confusing for the camper not sure if we just silently add this code ourselves or if we need another solution to it edit as point out in the thread add an empty action attribute will fix it as well and might be a less intrusive option we can likely add that silently and not cause too much confusion I do not check if other project use form be affect by this but I guess they might be affect page your code expect behavior not throw 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 forum |
freecodecampfreecodecamp | audio in english curriculum doesn t play on some io device | Bug | describe the issue the audio in the english curriculum isn t play on some io device here s a forum post which first mention the issue a few people on have test and here s what they say it work for some on these device io 17 2 1 safari ipad 8 safari chrome iphone 12 ios 17 1 2 safari chrome it didn t work for some on these device iphone 12 io 16 6 1 safari chrome 120 0 6099 119 iphone 8 ios 16 7 2 seem like it might be a device setting issue affect page expect behavior it to play the audio edit seem like it might be an issue with io I upgrade my iphone from 16 6 1 didn t work on safari or chrome to 17 2 1 and it work now on safari and chrome same chrome version |
freecodecampfreecodecamp | build the merge sort algorithm the step use if statement do not allow the use of parenthesis to wrap the condition | Bug | describe the issue the if statement in step 12 26 and 28 do not allow the use of parenthesis to wrap the condition of the if statement this be indeed not need but it s valid in addition in these step thing could be difficult for someone come from a language that enforce the use of parenthesis to wrap the condition of a conditional statement say javascript affect page your code the follow code do not pass step 12 code py while leave array index len leave part and right array index len right part if leave part leave array index right part right array index pass step 26 code py def merge sort array if len array 1 pass step 28 code py if name main pass expect behavior parenthesis should be allow to wrap the condition of the if statement since that s a valid syntax screenshot step 12 screenshot 2024 01 12 at 8 39 13 am step 26 screenshot 2024 01 12 at 8 39 25 am step 28 screenshot 2024 01 12 at 8 39 42 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 | flaky test in project euler problem 84 | Bug | describe the bug a test of project euler problem 84 fail randomly in ci the failure can be see here affect page challenge page challenge file step to reproduce run test curriculum multiple time on the challenge expect behavior the test should always pass |
freecodecampfreecodecamp | build the merge sort algorithm multiple step allow test to pass without check if the pass keyword be remove | Bug | describe the issue the description of step 12 13 and 29 state that the pass keyword should be remove or replace but the test pass without remove or replace it affect page your code the follow code pass the test for their respective step step 12 code py while leave array index len leave part and right array index len right part pass if leave part leave array index right part right array index pass step 13 code py while leave array index len leave part and right array index len right part if leave part leave array index right part right array index pass array sorted index leave part leave array index step 29 code py if name main pass number 4 10 6 14 2 1 8 5 expect behavior each of the step should check that the pass keyword be remove or replace screenshot step 12 screenshot 2024 01 11 at 10 10 36 pm step 13 screenshot 2024 01 12 at 7 53 21 am step 29 screenshot 2024 01 11 at 10 29 34 pm 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 step 19 and 23 aren t allow test to pass with the pass keyword in the editor because it should be remove or replace so the same should apply to step 12 13 and 29 screenshot 2024 01 11 at 10 20 26 pm screenshot 2024 01 11 at 10 23 38 pm |
freecodecampfreecodecamp | build an expense tracker step 13 map object print out not explain | Bug | describe the issue step 13 teach the use of the map function with the lambda function test lambda x x 2 on an array of integer the exercise console doesn t show the result of this operation but instead display affect page your code def add expense expense amount category expense append amount amount category category def print expense expense for expense in expense print f amount expense amount category expense category def total expense expense pass test lambda x x 2 print map test 2 3 5 8 expense expect behavior I expect I should see the result of this operation in the console screenshot nuctlrxdar system device laptop os window 11 browser firefox version 121 0 1 64 bit additional context no response |
freecodecampfreecodecamp | mslearn c course timeline view button user be show a json object instead of the appropriate achievement page | Help Wanted | describe the bug the view button on the public profile timeline lead to webpage serve a json object for the ms learn c course trophy achievement in the feed example to reproduce step to reproduce the behavior 1 complete a module on the microsoft learn c course and verify the trophy on freecodecamp 2 go to the user s public profile 3 scroll down to the timeline 4 click on the view button for your trophy achievement expect behavior 1 of these 2 option could work the link lead to the learning path tab of the achievement section of the user s microsoft learn public profile example or the link lead to the achievement s own shareable page example screenshot fcc bug 1 fcc bug 2 desktop os macos sonoma 14 1 browser chrome chrome version 120 0 6099 199 |
freecodecampfreecodecamp | python step 14 sudoku solver extremely unclear direction | Bug | describe the issue the wording be too hard to follow as of now it s extremely difficult to understand what to actually do my first instinct be to build a nest for loop and to try join the part array only to get confuse by what it want we to do with str item picture in the code section be what my instinct say to do affect page your code for square no part in enumerate line 3 line 3 6 line 6 start 1 for item in part join part str item expect behavior something about put the for loop inside the join statement would be extremely helpful additionally place str item in front of the loop where it be declare py for square no part in enumerate line 3 line 3 6 line 6 start 1 join str item for item in part nothing about this shortcut make much sense without more context than the direction provide screenshot no response system device desktop os window 10 browser firefox version 121 0 additional context numerous camper have have issue with it and even I wouldn t know how to solve it if I wasn t aware of the github source |
freecodecampfreecodecamp | certification project the run the test button should save user s code to local storage | Bug | description the run the test button be behave inconsistently in that on normal challenge the button run test and save the editor content to local storage even if the code fail the test on certification project the button only run test and doesn t save the editor content to local storage there have be a couple of report about lose work because of this behavior step to reproduce normal challenge go to a normal challenge for example write something in the editor that will fail the test click the run test button refresh the page see that the add code be still in the editor certification project go to a certification project for example write something in the editor that will fail the test click the run test button refresh the page see that the editor be blank solution I think the run the test button on certification project page should be fix and the code should be save to local storage when the user click the button it might be redundant since there be a save your code button on the page but 1 the save your code button be sandwich between the other 2 button so it isn t really noticeable 2 the save your code button isn t mention in the instruction so the user might not know this feature exist 3 the user could rightly assume that the run the test button behave the same across page and would rely on it to have their code save so aside from fix the run test button I think we should mention the save button in the instruction as well as remind the user to save their code auto save would also be nice but I m not sure if we want to go that far |
freecodecampfreecodecamp | add redirect for moved curriculum | Bug | describe the issue two block be move to their own superblock for the recent release make the challenge page in those block lead to 404 page move curriculum block old location new location python for everybody rosetta code this be an example of a single challenge from each block all the challenge in those block need redirect step to reproduce 1 go to 2 see 404 page where there use to be a challenge page expect behavior should redirect to new challenge location |
freecodecampfreecodecamp | javascript algorithm and datastructure beta console tab be always close by default | Bug | describe the issue if the student open console tab while do some challenge step then after submit correct solution for the step and be redirect to next challenge step they will end up with the console tab be close such flow may be consider not the good user experience especially for user who would prefer to have the console tab always open while work with javascript code affect page step to reproduce 1 go to some challenge step I guess any would do but I will drop a link to one of they 2 open the console 3 complete the challenge the correct solution for the one mention above be to add the line pausebutton addeventlistener click pausesong 4 hit the submit and go to next challenge button 5 after be redirect to the next step s page you should see that the console be close again expect behavior I see two possible option for the expect behaviour to make console be open always by default my personal opinion be that it would be more comfortable for work with js rather than have console close by default this be subjective though it may be not the good experience for those who would prefer to use console only from time to time while go through lesson as an example of such experience the old js course or react lesson from front end development library course may be use to make console be open or close base on the console state from previous challenge if I would have the console open while do this step after complete challenge and go for next one console should be also open screenshot no response system device laptop os window 10 browser chrome version e g 22 additional context no response |
freecodecampfreecodecamp | break link in machine learn with python certification project | Bug | describe the issue in book recommendation engine use knn project the instruction say you will use the book crossing dataset cziegler bx but the link lead to 404 affect page your code n a expect behavior provide a valid link screenshot image 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 | app crash with javascript heap out of memory when run e2e test | Bug | describe the bug the fcc app can crash unexpectedly with the javascript heap out of memory error when run a cypress or playwright test suite last few gcs 75429 0x7feb99100000 43232016 ms mark compact 4920 2 5047 4 4917 8 5045 9 mb 479 33 0 00 ms average mu 0 810 current mu 0 012 allocation failure scavenge might not succeed 75429 0x7feb99100000 43232471 ms mark compact 4922 1 5047 9 4919 8 5048 1 mb 449 03 0 00 ms average mu 0 679 current mu 0 014 allocation failure scavenge might not succeed js stacktrace fatal error reach heap limit allocation fail javascript heap out of memory 1 0x10ab41ae5 node abort user huyen nvm version node v20 8 0 bin node 2 0x10ab41cc6 node oomerrorhandler char const v8 oomdetail const user huyen nvm version node v20 8 0 bin node 3 0x10acf47fc v8 internal v8 fatalprocessoutofmemory v8 internal isolate char const v8 oomdetail const user huyen nvm version node v20 8 0 bin node 4 0x10aee4897 v8 internal heap fatalprocessoutofmemory char const user huyen nvm version node v20 8 0 bin node 5 0x10aee30f9 v8 internal heap collectgarbage v8 internal allocationspace v8 internal garbagecollectionreason v8 gccallbackflag user huyen nvm version node v20 8 0 bin node 6 0x10aed7961 v8 internal heapallocator allocaterawwithlightretryslowpath int v8 internal allocationtype v8 internal allocationorigin v8 internal allocationalignment user huyen nvm version node v20 8 0 bin node 7 0x10aed83a5 v8 internal heapallocator allocaterawwithretryorfailslowpath int v8 internal allocationtype v8 internal allocationorigin v8 internal allocationalignment user huyen nvm version node v20 8 0 bin node 8 0x10aeb9c8c v8 internal factory allocateraw int v8 internal allocationtype v8 internal allocationalignment user huyen nvm version node v20 8 0 bin node 9 0x10aeafc76 v8 internal maybehandle v8 internal factorybase newrawstringwithmap int v8 internal map v8 internal allocationtype user huyen nvm version node v20 8 0 bin node 10 0x10b23aba7 v8 internal string slowflatten v8 internal isolate v8 internal handle v8 internal allocationtype user huyen nvm version node v20 8 0 bin node 11 0x10ad10ec9 v8 string utf8length v8 isolate const user huyen nvm version node v20 8 0 bin node 12 0x10ab1670c node buffer anonymous namespace slowbytelengthutf8 v8 functioncallbackinfo const user huyen nvm version node v20 8 0 bin node 13 0x10b67cf06 builtin callapicallback user huyen nvm version node v20 8 0 bin node step to reproduce in one terminal run pnpm run develop in another terminal run cypress or playwright against a test file multiple time it doesn t matter which test file I be able to reproduce the issue with any of they to run cypress test pnpm run e2e dev run spec path to spec ts to run playwright test cd e2e and run npx playwright test spec name spec ts as the test run the fcc app will eventually crash with the javascript heap out of memory error in the terminal system os macos ram 16 gb investigation I ve never have this error during the normal development workflow I think the issue here be because the test simulate user interaction too quickly page navigation click a button to trigger a modal close a modal etc and the client can t keep up with they the app then bail as it reach the memory allocation threshold l31 solution there be a couple thing we could do increase the memory threshold to 6 gb or 7 gb stabilize ui change in the test I don t think this be enough but at least it give the client app an opportunity to handle the ui change properly and it also help prevent flaky test especially when navigation be involve see I ve be have passive thought on playwright test improvement so I ll create an issue for this topic and we can discuss the action item there improve the performance of the client app to make it less tax though this be a project itself those be just my thought I think the scope of this issue be just to verify that this be actually an issue and I m not the only one encounter it decide if we should increase the memory threshold and what the threshold should be |
freecodecampfreecodecamp | statistics calculator step 27 multiple issue | Bug | describe the issue I would suggest this step be far too terse and expect a fix solution when it isn t the only option you be not able to log anything not the array the element access or the object after the loop be do make it fairly impossible to debug anything I would suggest mock the datum so the camper can access it that should also let we test the result of the foreach without use a regex there be not only one valid way to solve this make the last regex test questionable const getmode array console log array const count array foreach el console log el array foreach el count el count el 0 1 console log count in the callback use the el argument to access the count object and increment the count for each number this be confusing and strike I as almost be inside baseball use el to create a compute property name on the count object assign it a default value of 0 if the property already exist increment it there be also a console log in the test code that should be remove test affect page your code should this not pass array foreach el if count el count el 0 count el count el 1 expect behavior 1 explain the requirement well 2 work on real datum 3 do not use regex to test for one expect solution 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 | syntax error prevent test run without clear indication other than in console | Bug | describe the issue can not pass the code check nothing happen enter the string and press the check button have no effect and I can t get through this step affect page your code const allcategorie 299 category career advice classname career 409 category project feedback classname feedback expect behavior after press check your code button message must appear bellow it and text on the button must change to some thing like go to the next step screenshot 2023 12 24 170054 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 | global browser object should not be overwrite by locally declare variable | Bug | describe the issue image of the bug 1 go to step 52 2 write the wrong code const location the locally declare variable should not overwrite the location property affect page your code expect behavior not to have a buggy state with double editor 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 | test output to console readability | Help Wanted | describe the issue can we numerate the test in the console output to make the output clear affect page all your code run test your p element should have an opening tag opening tag have the follow syntax your p element should have a closing tag closing tag have a just after the character your p element s text should be see more cat photo in our gallery you have either omit the text or have a typo your p element should be below the h2 element you have they in the wrong order test complete console output expect behavior run test test 1 your p element should have an opening tag opening tag have the follow syntax test 2 your p element should have a closing tag closing tag have a just after the character test 3 your p element s text should be see more cat photo in our gallery you have either omit the text or have a typo test 4 your p element should be below the h2 element you have they in the wrong order test complete console output screenshot no response system all additional context no response |
freecodecampfreecodecamp | new python curriculum s expense tracker project miss test and hint test that be suppose to pass and more | Bug | describe the issue some test and hint for function be syntactically correct but they still fail there be no test in some step to check whether a statement or a piece of code to be remove be remove this be happen to the pass statement the most some description and hint that can be well affect page your code syntactically correct function like this do not pass some test py def add expense a code like this should not pass the test but they do py def print expense expense pass for expense in expense pass more in the screenshot section expect behavior test should pass for syntactically correct function function with the pass statement and content in they should pass test some hint should not have in they the precise code to add screenshot some test and hint for function be syntactically correct but they still fail step 1 this should pass because the function have already be define screenshot 2023 12 22 at 7 37 47 pm the test do not pass until the pass statement be add it s the same for step 6 and other function screenshot 2023 12 22 at 7 43 45 pm some test be not check whether a statement or a piece of code to be remove be remove this be happen to the pass statement the most screeshot below step 7 the test should not pass because the function have the pass statement right inside it screenshot 2023 12 22 at 7 51 03 pm it s the same for step 16 screenshot 2023 12 22 at 7 53 51 pm the step that follow every step use the pass statement should be check for issue like this step 15 the test should pass because the test variable be already remove so the next hint should be about remove the print statement screenshot 2023 12 22 at 7 57 39 pm description and hint that can be well step 18 camper might not know they need to have the return statement here it be well to specifically mention the return statement screenshot 2023 12 22 at 8 00 56 pm step 25 to avoid confusion it be well to have a description like after the print call add another print statement to print the string 1 add an expense screenshot 2023 12 22 at 8 06 01 pm step 28 many hint like this specifically show the code to add while it be not bad on all occasion it would be well not to do it where the code be not that hard to guess for example the hint here can be like you should have an input statement with the text enter your choice assign it to a choice variable screenshot 2023 12 22 at 8 09 57 pm step 29 the hint here can be write like you should have an if statement with condition choice 1 screenshot 2023 12 22 at 8 17 09 pm by the way the test isn t even pass it seem there s no hint for the code amount input 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 | the odin project learn css foundation project css foundation exercise a test can t pass | Bug | in this the test assert document getelementsbytagname style 0 innertext include div will never pass as the style be inject in the page image it need to be test in a different way link of the file |
freecodecampfreecodecamp | playwright test fail with locator click target close at login step | Bug | describe the bug I try to run a test suite locally and get the follow error run 26 test use 1 worker 1 setup global setup ts 3 6 login test timeout of 15000ms exceed error locator click target close log wait for getbyrole link name sign in 3 setup login async page 4 await page goto 5 await page getbyrole link name sign in click 6 await page 7 context 8 storagestate path playwright auth certify user json at user huyen freecodecamp e2e global setup ts 5 53 pende operation locator click at global setup ts 5 53 1 fail setup global setup ts 3 6 login 25 skip step to reproduce start the app with pnpm run develop run npx playwright spec name spec ts I run into this issue a couple time but the issue can not be reproduce consistently solution I do try restart the app with pnpm run develop multiple time but it didn t help I be able to resolve the issue by restart the app with pnpm run clean and develop I m not sure what cause the issue exactly it could be because my local cache be mess up somehow I m create this issue for posterity and will open a pr to add this to the playwright troubleshooting guide |
freecodecampfreecodecamp | add some keyboard shortcut to a2 english for developer | Help Wanted | be your feature request relate to a problem please describe na describe the solution you d like I wish if there s a hotkey like space to run the new video sometimes ctrl enter do not submit the input anything in this direction would be more helpful describe alternative you ve consider na additional context no response |
freecodecampfreecodecamp | python scientific computing with python beta should ignore end of line whitespace | Bug | describe the issue the challenge be fail if there be whitespace after a colon python s whitespace rule aren t quite that extreme affect page your code if verify card number translate card number print valid else print invalid expect behavior python challenge should ignore end of line whitespace character screenshot with whitespace without whitespace system device laptop os window 11 browser chrome version 120 0 6099 130 additional context no response |
freecodecampfreecodecamp | mislead certification name | Bug | describe the issue with the rollout of the new curriculum beta this feel like a good time to fix the misleading name of this certificate scientific computing be a specific discipline and this certificate and its project don t have anything to do with scientific computing we should use a less misleading name see here for a brief list of some scientific computing topic method and algorithm affect page your code n a expect behavior course name should accurately reflect the course content python algorithm and datum structure be probably more accurate and would mirror our introductory javascript course name system all |
freecodecampfreecodecamp | python run test too many time cause memory issue | Bug | to reproduce 1 go to a python pyodide challenge 2 click check your code in quick succession 3 look in browser console image |
freecodecampfreecodecamp | ui component button should be highlight if aria expand true | Bug | describe the bug the button component in ui component should be highlight if aria expand true this will enable the migration of native button to ui component button however this change will impact the display of dropdown so we need to revisit the ui of this component as well dropdown with aria expand false dropdown with aria expand true additional context relate to 52641 |
freecodecampfreecodecamp | ui component type definition of util shouldn t be include in dist | Bug | describe the bug in ui component we have util that help generate a new component from a boilerplate I find that the type definition of those util be emit and include in dist while they shouldn t be expect behavior the util should still be type check but their type definition shouldn t be emit and include in dist |
freecodecampfreecodecamp | playwright flaky test in output spec ts and learn spec ts | Bug | describe the bug the follow test case appear to be flaky l110 l71 the issue be find in 52394 screenshot log first run fail step 14 346 second run pass |
freecodecampfreecodecamp | linte sometimes lead to javascript heap out of memory | Bug | describe the issue linte update email spec ts fail on local environment in some case issue do not reproduce on gitpod affect page update email step to reproduce 1 go to the root directory 2 run npx eslint e2e update email spec ts execution fail with the message under last few gcs 72440 0x138008000 18984 ms scavenge reduce 2043 7 2084 2 2043 5 2084 7 mb 2 00 0 00 ms average mu 0 133 current mu 0 002 allocation failure 72440 0x138008000 19951 ms mark compact reduce 2044 2 2084 7 2043 8 2085 4 mb 964 92 0 00 ms average mu 0 078 current mu 0 024 allocation failure scavenge might not succeed js stacktrace fatal error reach heap limit allocation fail javascript heap out of memory expect behavior linting should be successful screenshot no response system device macbook air m2 os macos additional context this issue be originally raise in discord thread create with the full error log a contributor also run into this issue in the past note that the lint operation in this one run against the entire project eslint max warning 0 cache fix rather than a single file |
freecodecampfreecodecamp | update email page should be gate behind authentication | Bug | describe the issue the update email page be currently accessible even if the user be sign out affect page step to reproduce 1 sign out of fcc 2 go to expect behavior the page should be gate behind authentication the logic would look similar to this l153 l156 test for this logic should be add to |
freecodecampfreecodecamp | meet accessibility standard check by common benchmark | Bug | describe the issue a software engineer and freecodecamp donor jonathan pool have create a suite of accessibility test he run against the landing page of charity currently freecodecamp be the 4th most accessible charity landing page on the web but I see some way we can make it to the number one spot here s his annual report here be the code this donor run to create his report there s also an npm module affect page the landing page be what he test step to reproduce upon run the test in the github article you ll get result that will look like this output json those be the accessibility issue we ll want to improve upon once we ve finish our curriculum initiative for 2023 I propose we embark on drive down this score for our landing page and run this suite against other page of freecodecamp as well to identify further place we can improve |
freecodecampfreecodecamp | ui upper jaw inline code string space | Bug | the follow markdown markdown create a variable call card translation and assign it a translation table to replace all and character with an empty string render as there be no space between the and the proceed word character there appear to be one in the html so I assume this be a css issue |
freecodecampfreecodecamp | profile timeline content of the view button wrap if it contain an icon | Bug | describe the issue in the timeline section of the profile page the content of the view solution button would wrap if it contain an icon this issue be because the solution column doesn t have an adequate width and I think we could fix this by wrap the column inside the col component and give they some sufficient width value however this solution win t work on mobile as screen real estate be still an issue there challenge title would wrap onto multiple line if they be too long we might want to take this opportunity to revisit the design of the section relate to 48234 rather than try to address the responsiveness issue I m open this as a separate issue to surface the bug and to discuss the approach fix the issue vs implement the new design the issue can be close and discussion can be move to 48234 if we decide to go with the redesign approach affect page username step to reproduce 1 go to username 2 scroll down to the timeline section 3 find challenge project that have solution button be a link the rwd s build a survey form be an example 4 see the button display |
freecodecampfreecodecamp | calculator user story test case 13 be erroneous or ambiguous | Bug | describe the issue user story 13 state if 2 or more operator be enter consecutively the operation perform should be the last operator enter exclude the negative sign for example if 5 7 be enter the result should be 35 I e 5 7 if 5 5 be enter the result should be 25 I e 5 5 one of the test case assert that 5 5 should be equal to 10 however there be not 2 consecutive operator exclude the negative sign there be 2 operator exclude and but they be split by a negative and be thus not consecutive further even if the rule extend to this case despite not be consecutive the rule would dictate that the last operator enter would be use again exclude the negative this would mean that we would drop the multiplication which would leave we with 5 5 which would equal 0 not 10 finally this also reflect in odd behavior in the example calculator for example 5 6 in the example calculator evaluate to 5 6 1 when it should evaluate to 5 6 11 affect page your code partial example of code that when evaluate multiple operator would return 25 instead of 10 const handlenumberclick event const operator const value event target innerhtml if operator include value operator include currentvalue currentvalue length 1 setcurrentvalue currentvalue slice 0 1 value return expect behavior 25 and 0 would both be acceptable answer or the language in the user story be make to be less ambiguous as a couple example of this answer be reach by the close to a production calculator that can be replicate by anybody wolfram alpha arrive at an answer of 25 and symbolab arrive at an answer of 0 try on my close physical calculator actually seem to drop both the and the and give an answer of 25 5 5 I have not be able to replicate an answer of 10 elsewhere screenshot calculator user story 13 calculator test case 13 wolframalpha output symbolab output system device desktop os window 10 browser chrome version 119 0 6045 160 official build 64 bit additional context no response |
freecodecampfreecodecamp | skip action when they aren t relevant | Bug | describe the issue not sure if we want to do this create an issue for discussion when a change be make to a part of our repo that isn t relate to build the site we run the entire ci suite there isn t really a problem with the action right now they seem to be keep up pretty good but what come to mind be that when a pr only touch the doc folder for instance we run the whole suite change thing in only the docs folder doesn t have an effect theoretically on if the site will build or if the e2e test will pass etc we get several pr s a week that only touch the docs folder that include the crowdin download if we skip some of the ci suite on those node and e2e for instance it would free up action the doc come to mind cause it s the area that s the most noticeable and get frequent pr s but there s probably other area that we could do the same the challenge editor for instance just open up a discussion to see what people think |
freecodecampfreecodecamp | english curriculum task | Bug | describe the issue the english curriculum have be create as an upcoming superblock via create an issue to track thing we can fix up and thing leave to do if you be hope to contribute please see the link issue in the task list to see if they be open for contribution tasklist x create icon for land learn x add fill in the blank style challenge info to docs x fix hotkey interfere with fill in the blank challenge x fix up audio ui x add fill in the blank challenge parser test x create s3 bucket for audio file and client code to get asset from it I will pair with mrugesh to get this set up use cdn for now x make it live create certification x come up with superblock block description for intro json file create certification project exam add e2e test don t use completion modal on dialogue challenge x adjust fill in the blank style to match this pr x make fill in the blank sentence big and center fill in the blank show feedback twice remove the second one if the first exist |
freecodecampfreecodecamp | ambiguity when log string to fcc console | Bug | describe the issue when you log anything to the console on the fcc learn tool it get style consistently regardless of the data type this can be confuse in some situation where you re log a string vs another type such as a number boolean etc image it can be unclear whether the log output be a string or not for example when log typeof undefined you get the text undefine but typeof undefined be actually undefine the string undefine not the value undefine this can be pretty confusing when you find that undefined apparently isn t equal to undefined in any sense image I don t know a good solution for this but I ll note that chrome s devtool handle it by style non string value differently from string value image I initially think that a simple solution would be to add string quote when a string be log but that may have unintende side effect another option might be to use the same styling that be use in the editor for example under the dark mode palette this would be orange text for string blue for token like undefined and green for numeric literal image note that this be a general concern within the js curricula and not specific to the link code challenge affect page step to reproduce 1 go to any code challenge e g the first one in the js dsa course 2 enter console log undefined console log undefine in the code pane expect behavior it should be possible to distinguish between the two different log value screenshot no response system device all though reproduce on a 2019 15 macbook pro and an iphone 15 pro os all though reproduce on macos 14 0 and ios 17 0 3 browser chrome version 119 additional context no response |
freecodecampfreecodecamp | fourohfour page appear to re render on click | Bug | describe the issue the fourohfour page display a random quote every time it mount render l13 l15 but it s interesting that the component re render when the user click anywhere on the page result a new quote each time we get the same behavior when the user focus on the search box use keyboard this behavior be discover in discussion r1377046240 and I m create this issue to check if this be a bug or a feature I think this have something to do with how gatsby load the page or pass prop to the page which cause the re render but I m not experience with it enough to investigate a fix for this be to use useref to save the original quote tsx const fourohfour const quoteref useref randomquote return quoteref current quote quoteref current author this make the page less funky well only if we consider this a bug but it isn t a proper fix as the component still re render on any user interaction behind the scene affect page expect behavior the page shouldn t re render when click or when the search box be focus the random quote should remain the same when the page be click or when the search box be focus |
freecodecampfreecodecamp | playwright doesn t test mobile | Bug | describe the issue while review playwright pr s I keep get failure locally but everything be pass in the ci after a little digging with oliver we find that the mobile chrome and mobile safari test be run locally l67 if they re not turn off but not in ci l80 seem like we should probably add one or both of those mobile browser to ci note that many test will likely fail and need update if we do perhaps we didn t add those for a reason not sure expect behavior to have mobile test first step while we discuss enable the mobile test in our ci prs would be welcome to resolve the follow failure in mobile testing tasklist fail spec file x action row spec ts 52446 x desktop layout component spec ts 52439 52934 x editor tab spec ts 52454 x editor spec ts 52518 hotkeys spec ts x land spec ts 52474 low jaw spec ts x note spec ts 52475 x preview spec ts 52519 x progress bar spec ts 52520 reset modal spec ts x shortcut modal spec ts 52480 x tool panel spec ts 52479 |
freecodecampfreecodecamp | false positive on cafe menu step 88 and 90 | Bug | describe the issue false positive on cafe menu step 88 and 90 and possibly other this code pass I e without the |
freecodecampfreecodecamp | i18n challenge file aren t delete when english file be rename or delete | Bug | describe the issue when we rename move or delete an english challenge file the i18n version of that file doesn t get delete for instance we recently move the project euler challenge from the code interview prep superblock into their own superblock move the challenge file in the process so the english code interview prep folder no long include the project euler challenge but the crowdin upload download process do not handle delete the file so the euler challenge be still there in the espanol and other folder it would be nice if the crowdin download could delete the file in situation like this but I m not sure if that s possible if not maybe another script or action that we run from time to time to delete the file that don t exist in english affect page expect behavior file to not exist additional context I bet the doc and learn have the same issue although those file probably don t get move or delete much |
freecodecampfreecodecamp | assert usage standard | Bug | describe the issue in this pr it be mention that assert istrue be prefer over assert in our codebase this should be document somewhere if this be our standard also a lot of the curriculum test don t use this so it would be worth make an issue to have someone go change everywhere we miss this standard affect page codebase good practice your code n a expect behavior documentation should state standard screenshot no response system all additional context no response |
freecodecampfreecodecamp | certificate be not responsive for small screen device | Bug | describe the issue certificate be not responsive for small screen device here be screenshot of this certificate on small device d affect page step to reproduce 1 go to certificate page 3 scroll down to certificate 4 see error expect behavior certificate should not need to be responsive it should be in same format for all screen size screenshot d system device realme x2 os android 11 browser chrome version 116 0 5845 164 additional context no response |
freecodecampfreecodecamp | challenge pass value to function with argument allow template literal in the log | Bug | describe the issue as implement now you can not pass template literal to the console log not sure if we really care or not doesn t work function functionwitharg param1 param2 console log param1 param2 work function functionwitharg param1 param2 console log number param1 param2 I be able to make it pass use a replace for the assert but that doesn t seem that great I try a few other thing that didn t seem to work and just leave it alone assert logoutput replace g 3 assert logoutput replace g 16 affect page your code expect behavior allow template literal to be use in the 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 forum |
freecodecampfreecodecamp | typographyproject step 43 mislead instruction | Bug | describe the issue to begin with the direction imply that there would be 3 span that weren t interconnect for alignment my initial assumption would be that the solution would be something like html total fat 8g10 nowhere do it seem to imply that a span be suppose to be nest inside another span but when I look at the code for the next challenge that become clear however I run into another problem space of my element will cause the test to fail I like my opening and closing tag to be on separate line usually but here it will break the test the test need a little work affect page your code daily value total fat 8 g 10 expect behavior I expect the instruction to clarify that the span for total fat be suppose to be nest inside another span where 8 g be suppose to be additionally I d like the test to be a little more spacing resistant so that if the right answer be render the test don t fail screenshot my solution system device desktop computer os window 10 browser firefox version 118 0 1 additional context no response |
freecodecampfreecodecamp | code block horizontal scroll not easily scrollable by mouse for step 12 responsive web design track | Bug | describe the issue on step 12 of the responsive web design rwd certification the code block contain the html and text I think freecodecamp be great be not easily scrollable horizontally by mouse the code block s content be not 100 visible unless a user focus on the code block and press the left and right arrow key with a keyboard developer tool reveal there be more html code in the code block not display unless scroll by left and right arrow key affect page step to reproduce 1 navigate to step 12 of the rwd curriculum 2 scroll to the code block contain the html I think freecodecamp be great 3 try to use your mouse to scroll horizontally to the right to reveal the rest of the code include the closing tag expect behavior user should have no difficulty scroll that code block to see the code in its entirety user should be able to use their mouse to scroll horizontally without need to use right and leave arrow key on their keyboard this could be especially useful to anyone brand new to code who may be have issue see the entire code and or do not know how to fully create an anchor tag screenshot brave browser fcc issue system device laptop macbook air os mac browser s chrome firefox brave version chrome 117 0 5938 132 official build x86 64 additional context issue be create on the basis that someone brand new to code may not immediately know how to use the anchor tag with just the example code alone which look incomplete on first sight but in fact need to be scroll into view the question also raise be whether it be obvious there be more code than what the code block initially display and whether the user know right away they can try scroll horizontally and see the rest of the code as a non beginner who be review the fundamental the code do not look complete to I and that be when I discover these user experience issue |
freecodecampfreecodecamp | navbar icon merge with content in iphone5 or small device | Bug | be your feature request relate to a problem please describe hello ojeytonwilliam raisedadead I find an issue in your website in which navbar icon be merge with content in iphone 5 so I want to work on this issue please assign I sscreenshot free1 describe the solution you d like after solve this issue it will be seem as free2 describe alternative you ve consider look much well which be much well than previous looking and its also look well for the professional website additional context no response |
freecodecampfreecodecamp | help migrate cypress to playwright | Help Wanted | hello fellow contributor house rule and note we do not assign file and issue just pick one that you want to work on reviewer will prioritize prs by quality then by the date open keep mention to a minimum we know you be excited and we be grateful for your work your pr should ideally be title test e2e playwright if you read and understand all the above leave a comment mention camperbot can not code in your pr all contribution should follow our contribute guideline this year we be focus on improve our end to end testing with playwright we have create a guide that you can follow to write your first test from scratch for the freecodecamp repo after read the guide select one item from the component list below create the test and make a pr how to open a pull request you may work on your change through gitpod how to setup freecodecamp locally i d how to prepare a gitpod workspace or locally we will review your prs during the next few week thank for your patience and happy contribute tip to streamline the review process if we have request change on your pr and those change include suggestion you can switch to the file tab and add the suggestion to a batch commit this allow you to commit all of the suggestion at once instead of individually which save we ci runner additionally with the exception of conflict fail ci or maintainer request you do not need to consistently keep your pr branch up to date with main each merge commit trigger another action run which might delay your pr get review request test for each item in each list note you should be able to do a simple search with the item name which will lead you to the file in the codebase tag js legacy redirect add development js landing ts show certification ts top contributor ts learn index ts setting certification ts setting email change ts setting image picture check ts setting portfolio ts setting scrollbar width ts setting setting ts setting user token ts setting username change ts user certification ts user privacy term ts user report user ts legacy redirect challenge ts learn challenge backend ts learn challenge c sharp exam ts learn challenge c sharp ts learn challenge code storage ts learn challenge codeally ts learn challenge fail update ts learn challenge javascript ts learn challenge low jaw ts learn challenge multifile cert project ts learn challenge multifile ts learn challenge navigation ts learn challenge output ts learn challenge progress bar ts learn challenge project preview ts learn challenge project ts learn challenge sas ts learn code interview prep intro page ts learn common component editor ts learn common component footer ts learn common component help button ts learn common component navbar ts learn common component search bar ts learn donate donate page default ts learn donate donate page donor ts learn donate donation block completion modal ts learn header lang selector ts learn header universal navigation ts learn redirect breadcrumb ts learn redirect es6 to basic javascript ts learn redirect head challenge ts learn responsive web design intro page ts learn responsive web design show cert from superblock ts learn responsive web design basic css index ts mobile learn test challenge js third party donate page ts need more clarification or help please join our official discord and we have a very helpful team of fellow contributor willing to help you |
freecodecampfreecodecamp | add validation for progress on c sharp cert | Help Wanted | rn there be a bit of hope between the order of thing to be do on fcc learn and ms learn roughly you need to 1 complete a section block on ms learn detail 2 claim the trophy last item in each section block on fcc learn 3 repeat 1 2 for all section block 4 be eligible for the certification exam detail solution we need to add more validation in step 4 and maybe in step 2 if url be valid check user s microsoft learn account have complete necessary any module if not respond in kind originally post by shaunshamilton in issuecomment 1698850070 |
freecodecampfreecodecamp | ab test use the growth book redux connector be be reliable | Bug | describe the issue although there be no difference between the variant in the aa test that use in growth book redux connector the current result show that one variant be do significantly well in convert user to donate expect behavior the number of donation should be close to one another in both variant screenshot |
freecodecampfreecodecamp | html project demos describe themselves as such | Help Wanted | be your feature request relate to a problem please describe some learner seem to think that they need to replicate the demo project for the responsive web design certification exactly describe the solution you d like perhaps we should add some text to the demo project like demo you should not exactly replicate this demo project or demo you should make a similar project with different content describe alternative you ve consider n a additional context no response |
freecodecampfreecodecamp | quote in code string | Help Wanted | way back when we first establish our internationalisation flow and standard one of the point we land on be that string literal should be wrap in code tag to prevent translation but should not be wrap in quote I vaguely remember that there be some sound justification for this decision but have long since lose track of where that conversation be or the reasoning behind it however we be start to see an increase in confusion from not be explicit with quote around our string literal one very frequent example be the record collection challenge where camper be confuse by the difference of the track string assign to the prop parameter and the track property of the record object I think it be time that we re evaluate this standard and consider allow quote where necessary to facilitate camper comprehension and prevent unnecessary cognitive overhead javascript algorithm and datum structure beta x learn basic javascript by build a role play game x learn form validation by build a calorie counter 53762 x learn basic string and array method by build a music player 53954 x learn the date object by build a date formatter 53948 x build a palindrome checker project 53940 x learn modern javascript method by build football team card 53955 x learn localstorage by build a todo app 54008 learn recursion by build a decimal to binary converter x build a roman numeral converter project 53915 learn basic algorithmic thinking by build a number sorter learn advanced array method by build a statistic calculator learn functional programming by build a spreadsheet learn regular expression by build a spam filter not start x build a telephone number validator project 53922 learn basic oop by build a shopping cart learn intermediate oop by build a platformer game learn intermediate algorithmic thinking by build a dice game x build a cash register project 53924 learn fetch and promise by build an fcc author page learn asynchronous programming by build an fcc forum leaderboard x build a pok mon search app project 53939 scientific computing with python beta x learn string manipulation by build a cipher 53418 x learn how to work with number and string by implement the luhn algorithm 53516 x learn lambda function by build an expense tracker 53520 x learn python list comprehension by build a case converter program 53521 x learn regular expression by build a password generator 53456 learn algorithm design by build a short path algorithm 53428 x learn recursion by solve the tower of hanoi puzzle 53569 learn datum structure by build the merge sort algorithm learn class and object by build a sudoku solver x learn tree traversal by build a binary search tree scientific computing with python project wait for 53146 x arithmetic formatter 53956 x time calculator 53957 budget app polygon area calculator probability calculator |
freecodecampfreecodecamp | get an error message in console on submit the correct solution | Bug | describe the issue when the user submit the correct solution for the register a store listener module then they end up with the follow error message within the console build error open your browser console to learn more give that the user be submit the correct solution since all the unit test be get pass and test complete be get print in the console then show such an error message along with other message to the user could make they feel a bit confused affect page your code jsx const add add const reducer state 0 action switch action type case add return state 1 default return state const store redux createstore reducer global count variable let count 0 change code below this line function incrementcount return count store subscribe incrementcount change code above this line store dispatch type add console log count store dispatch type add console log count store dispatch type add console log count expect behavior in order to avoid any sort of ambiguity and to keep thing as clear as possible I believe when the user submit their solution and if their submit solution be entirely correct then they should be get the follow message only within the console run test test complete screenshot system device laptop os macos 13 0 1 browser chrome version 107 0 5304 110 |
freecodecampfreecodecamp | extend e2e test coverage over dropdown component | Help Wanted | jest to e2e test migration could be address in an upcoming pr to unblock this pr two test need to be migrate to e2e 1 certification setting 2 timeline either a multifile project need to be add to the certify seed object or cypress need to submit one so it show up as the last one on the timeline originally post by ahmadabdolsaheb in issuecomment 1582395903 |
freecodecampfreecodecamp | college algebra with python incorrect assignment statement can pass the test | Bug | describe the issue in college algebra with python the test of build a multi function calculator certification project s step 18 find square factor seem to be able to pass the incorrect assignment statement which cause that print function will print the number which be not the great square factor of the camper enter number by the code show below after the camper enter the number 32 print function s argument max factor 2 will become 256 and this be not the great square factor of enter number but the function will print this and the test will pass affect page your code the code be from step 18 in notebook python import math n int input enter an integer to find the great square factor max factor 1 upper limit math floor math sqrt n 1 change one line in this loop for maybe factor in range 1 upper limit if n maybe factor 2 0 max factor maybe factor 2 keep this print statement print max factor 2 expect behavior the test should detect the incorrect assinment statement and thereby avoid print anything that be not the great square factor of the enter number and avoid pass it so that the camper can aware why the number which be not the correct great square factor be show screenshot incorrect assinment statement can pass the test system device laptop os window 11 home browser chrome version version 114 0 5735 91 additional context no response |
freecodecampfreecodecamp | in machine learning course the linear regression example be actually linear classification | Bug | I be report what I think be a mistake in the machine learn with python course in module 3 core learning algorithm linear regression be introduce with an exercise of predict the survivability of a person from the titanic passenger datum the mistake be I think this be actually a linear classification not a linear regression because regression be for predict a continuous value such as the age weight or height of a person while classification be for predict a discrete value like whether a person survive or not I hope this be clear enough if not I can clarify far |
freecodecampfreecodecamp | college algebra with python string fraction not use in single step | Bug | describe the issue in the learn to solve for x extra it only convert the fraction for the original equation and not the user input I believe it should use the string faction method for both I believe especially consider it win t be major to implement and the addition will not remove any already valid answer like all that need to be do be use the follow codeblock python one step multiply def one step mult use string frac import random a random randint 1 11 b random randint 2 24 print a x b print round your answer to two decimal place ans in input x answer round b a 2 test if round string frac ans in 2 answer print correct n else print try again print the correct answer be answer n affect page your code python one step multiply def one step mult use string frac import random a random randint 1 11 b random randint 2 24 print a x b print round your answer to two decimal place ans in input x answer round b a 2 test if stre frac ans in answer print correct n else print try again print the correct answer be answer n expect behavior I expect to 17 11 to be consider as a valid answer to the problem 11x 17 screenshot capture system device desktop os window 10 browser firefox version 113 0 1 additional context no response |
freecodecampfreecodecamp | add progress indicator to map | Help Wanted | here s some mock 2 |
freecodecampfreecodecamp | book recommendation engine problem with test | Bug | describe the issue the instruction for the book recommendation engine use knn project for the machine learn with python module state create a function name get recommend that take a book title from the dataset as an argument and return a list of 5 similar book with their distance from the book argument this code get recommend the queen of the damn vampire chronicle paperback should return the queen of the damn vampire chronicle paperback catch 22 0 793983519077301 the witching hour live of the mayfair witch 0 7448656558990479 interview with the vampire 0 7345068454742432 the tale of the body thief vampire chronicle paperback 0 5376338362693787 the vampire lestat vampire chronicle book ii 0 5178412199020386 notice that the datum return from get recommend be a list the first element in the list be the book title pass into the function the second element in the list be a list of five more list each of the five list contain a recommend book and the distance from the recommend book to the book pass into the function however the test cell for the start code give in colab instead of expect 5 recommendation expect only 4 be inconsistent with the instruction affect page your code what appear when I open the colab notebook book get recommend where the heart be oprah s book club paperback print book def test book recommendation test pass true recommend get recommend where the heart be oprah s book club paperback if recommend 0 where the heart be oprah s book club paperback test pass false recommend book I ll be see you the weight of water the surgeon I know this much be true recommend book dist 0 8 0 77 0 77 0 77 for I in range 2 if recommend 1 I 0 not in recommend book test pass false if ab recommend 1 I 1 recommend book dist I 0 05 test pass false if test pass print you pass the challenge else print you haven t pass yet keep try test book recommendation expect behavior the fifth recommendation I ll be see you should be include in the test function in order to make the project coherent screenshot no response system device lenovo laptop os window 10 browser mozilla firefox version 112 0 2 additional context no response |
freecodecampfreecodecamp | create a test to make sure that editor theme be in sync with the app theme | Help Wanted | the test should account for this issue 48936 tl dr of the issue the editor have different theme than the one in the user prefer and the test should make sure that the theme be always the same the test should account for two different state of the user and 3 different state of the theme while the user be log out visit learn 2022 responsive web design learn html by build a cat photo app step 23 set your preferred scheme to light theme should be in sync set your prefer scheme to dark theme should be in sync note to set preferred scheme from devtool press ctrl p then press and select it while the user be log in visit learn 2022 responsive web design learn html by build a cat photo app step 23 set your theme to default theme should be in sync set your theme to night theme should be in sync additional context thank to tom link you can find out how to test color through cypress through this article note although I mention cypress you be free to use any tool in the e2e folder here be the file maybe I miss something if you think there be more please add it if you would like to fix this issue 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 the forum if you need help contribute our prolific contributor will guide you through this |
freecodecampfreecodecamp | do not manage pm2 with pnpm | Bug | as see here devop i d first install 1 we be instal and manage pm2 with pnpm as a dependency this be not a great idea when we might have purge the repo of node module and need to manage the process pm2 should instead be instal and use from the global scope |
freecodecampfreecodecamp | combine prism and prim night css file | Help Wanted | there be multiple blocker for add opt in system theme pr simple one of they be the existence of file that don t use the variable in variable css and create their own color or style for the dark and light theme it would make my life easy if this file become one with unanimous style and it use variable in variable css instead so whenever we add new theme or create new theme we don t have to update it and just update the variable css file but it isn t simple because there be different style and weird one as show different cursor base on the theme and different spacing here be the file prism night css prism css variable css |
freecodecampfreecodecamp | show warn to user when they try to source the wrong file | Help Wanted | be your feature request relate to a problem please describe when a user try to source style css rather than style css this fail silently similarly source anything other than script js will result in a rather cryptic error uncaught syntaxerror unexpected token this be needlessly frustrating describe the solution you d like the console should show a helpful warning for example you have try to source style css but that do not exist the only file that can be source be style css and script js describe alternative you ve consider nothing come to mind additional context no response |
freecodecampfreecodecamp | fallback image for broken image url in portfolio section in portfolio page | Help Wanted | in you will notice screenshot of zsdaf image instead of show alt text we can fallback to an image my suggestion be the glyph from the style guide |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 10