repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
freecodecampfreecodecamp
break test refactor global variable out of function in js curriculum
Bug
affect page your code the global variable const booklist the hound of the baskerville on the electrodynamic of move body philosophi naturalis principia mathematica disquisitione arithmeticae change code below this line function add booklist bookname return booklist bookname change code above this line change code below this line function remove booklist bookname const book index booklist indexof bookname if book index 0 booklist splice book index 1 return booklist change code above this line console log booklist console log remove booklist the hound of the baskerville console log booklist expect behavior test shouldn t accept this answer as booklist be modify system device macbookpro11 5 os macos 11 6 1 browser chrome version version 99 0 4844 51 official build x86 64 request I m new around here and this be my first contribution to fcc if appropriate I would like to try and fix this bug
freecodecampfreecodecamp
incorrect comment for write concise object literal declaration use object property shorthand challenge
Bug
affect page your code const createperson name age gender only change code below this line name age gender only change code above this line expect behavior const createperson name age gender return name name age age gender gender this solution require the first and second line to be edit however the comment ask not to do this the comment should accurately reflect the solution or not exist at all screenshot system device laptop os macos big sur browser edge version 98 0 1108 56 additional context
freecodecampfreecodecamp
timestamp project an empty date parameter should return the current time in a json object with a utc unix key test doesn t work correctly
Bug
hello in the timestamp project the result of all test be successful except for the data value test an empty date parameter should return the current time in a json object with a unix key an empty date parameter should return the current time in a json object with a utc key I do some research and the logic in your test be as follow getuserinput get getuserinput url api then datum var now date now assert approximately datum unix now 20000 xhr throw new error xhr responsetext when the difference between the current time specify in the test and the time in the response be large the test fail ie if the difference be great than 20 000 the result fail as it usually do to check I add 20000 to the current time I set in the code and the test be successful affect page challenge page test page your code empty date parameter app get api req re let date new date let utc date toutcstring let unix date gettime re json unix unix utc utc expect behavior the test must be successful screenshot my result image system device laptop os window 10 browser edge version 99 0 1150 30 additional context
freecodecampfreecodecamp
challenge learn accessibility by build a quiz step 30 seed and test code mismatch
Bug
the seed code only have two li label input pair inside the ul but the test be look for four I assume it be the test that be wrong seeing as the next challenge still only have two test challenge forum just an aside how on earth be you suppose to find the file you be look for quickly with this new file name setup
freecodecampfreecodecamp
update copyright to the year 2022
Bug
very straight forward update license and readme md year from 2021 to 2022
freecodecampfreecodecamp
update gitignore
Invalid
checklist x I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
challenge learn accessibility by build a quiz step 3 use wrong parent in selector
Bug
I assume it should be head and not body in the second selector assert equal document queryselectorall head meta content width device width initial scale 1 0 length document queryselectorall body meta content width device width initial scale 1 length 1 challenge test forum
freecodecampfreecodecamp
user can continue use codealley while they be singe off
Bug
tom m after user sign out of their account codeally relate datum remain in the local storage and codeally challenge could be access and continue not sure if this be the intend behavior or not
freecodecampfreecodecamp
challenge url shortener microservice invalid url will pass dns check
Bug
the invalid url use by the test will pass the dns check suggest by the challenge text const dns require dns const hostname new url ftp john doe org hostname dns lookup hostname err address family if err return re json error invalid url else console log valid valid I realize in a real app it might still be useful but it isn t for the test not sure if the test use to fail the john doe org domain be redirect which it might not always have anyway I would suggest we update the test with an actual invalid url that will fail the dns lookup or change the challenge text edit maybe we can just use an invalid top level domain challenge test I didn t look through all the issue so if this be a dub sorry
freecodecampfreecodecamp
project euler problem 356 format issue
Bug
he project euler problem 356 have a format issue confront with to fix this issue you will need to change this file so that the beginning of the description be correctly format with a pedix an will need to be write as a n 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 moderator will guide you through this an issue with the help want or first timer only label be open for contribution the first comprehensive pr create will be review and merge we typically do not assign issue to anyone other than long time contributor sometimes we may get more than one pull request we typically accept the most quality contribution follow by the one that be make first happy contribute
freecodecampfreecodecamp
comma miss in exercise tracker exercise object
Bug
affect page expect behavior there should be a comma for username fcc test otherwise the javascript object syntax be wrong screenshot system device macbook air m1 os macos monterey 12 0 1 browser chrome version 98 0 4758 109
freecodecampfreecodecamp
circular dependency detect
Bug
in issuecomment 1056210055 jagrutiti find that there be several circular dependency between the redux sagas and reducer since these can be source of subtle and confusing bug it would be good if these cycle could be break
freecodecampfreecodecamp
try to checkout main or push origin main result in error there be no main branch
Bug
affect page set up freecodecamp locally how to setup freecodecamp locally to reproduce follow page instruction that include reference to the main branch recommend fix suggestion change reference to the main branch to reference the master branch in the checkout and push line
freecodecampfreecodecamp
project euler problem 250 format issue
Bug
the project euler problem 250 have a format issue confront with to fix this issue you will need to change this file so that the number be correctly format as exponent you can use the way 250250 250250 be write in the challenge as a guide to fix 1 1 2 2 and 3 3 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 moderator will guide you through this an issue with the help want or first timer only label be open for contribution the first comprehensive pr create will be review and merge we typically do not assign issue to anyone other than long time contributor sometimes we may get more than one pull request we typically accept the most quality contribution follow by the one that be make first happy contribute
freecodecampfreecodecamp
prevent circular import via linte
Help Wanted
the problem circular dependency can cause surprising bug for example variable may not be define before be use the solution if someone want to use a circular dependency they can always disable the rule
freecodecampfreecodecamp
typo in test of a challenge
Bug
in challenge euler problem 184 both the hint and the text have the function call with a typo to fix this issue you would need to edit the link file and remove the extra t in the function call in the test description and in the assertion of the test itself 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 moderator will guide you through this sometimes we may get more than one pull request we typically accept the most quality contribution follow by the one that be make first happy contribute
freecodecampfreecodecamp
error in assert initial state of redux store
Bug
affect page your code js const increment increment const decrement decrement const counterreducer state 0 action switch action type case increment return state 1 case decrement return state 1 default return state const incaction return type increment const decaction return type decrement const store redux createstore counterreducer test store dispatch incaction console log store getstate 1 store dispatch incaction console log store getstate 2 store dispatch decaction console log store getstate 1 expect behavior this should be accept as a correct answer as it solve the challenge system device pc os window 10 browser firefox version 97 0 1 additional context the problem arise if the user try to test their redux store functionality after check the source code of the challenge the problem seem to be the method use to check if user initiate state correctly or not js assert store getstate 0 find in curriculum challenge english 03 front end development librarie redux write a counter with redux md this be result in a false assert because the user have modify their state with test I don t know of a way to assert that the user initialize state other than the way mention above maybe add a note that the user should remove their test before check their answer sorry if this be mention before but I didn t find it so decide to open the issue
freecodecampfreecodecamp
set the child s prototype to an instance of the parent explanation error
Bug
affect page your code expect behavior a little error that could lead to a misunderstanding of how oop work in js be explane below the follow line at the bottom of the instruction have an error as far as I can tell duck inherit all of animal s property include the eat method I be not a javascript pro but I just make some test and it should be modify by this line or something similar duck inherit all of animal s prototype property include the eat method I test this use the follow modify code begining of the code section function animal this run fast add for testing purporse end of the code section for const prop in beagle add for testing purporse console log prop add for testing purporse add for testing purporse output constructor eat this show that beagle inherit all of animal s prototype property include the eat method because the property run wasn t inherit assume the other part of the code be ok and I complete the minichallenge screenshot image system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
incorrect code pass test in implement binary search challenge
Bug
affect page implement binary search your code the follow code pass all the challenge s test but it be incorrect it fail to find value if value be the last element of testarray function binarysearch searchlist value arraypath const mididx math floor searchlist length 2 const midelem searchlist mididx 1 if midelem value arraypath push midelem return arraypath if searchlist length 1 return value not find arraypath push midelem if midelem value return binarysearch searchlist slice mididx value arraypath return binarysearch searchlist slice 0 mididx value arraypath const testarray 0 1 2 3 4 5 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 49 70 expect behavior the code above should not pass the challenge screenshot wrongbinarysearch system device macbook pro os 10 13 6 browser firefox version 97 0 1
freecodecampfreecodecamp
challenge use the env file delete the property instead of set it to undefine
Bug
technically if we be test for a non exist property we can t set process env message style to undefined as that be implicitly convert to a string process env process process env assign a property on process env will implicitly convert the value to a string this mean you can t use this logic process env message style uppercase let message process env message style message hello json message hello json console log message message hello json process env message style undefined console log typeof process env message style string message process env message style message hello json message hello json console log message message hello json but if you delete it it work delete process env message style message process env message style message hello json message hello json console log message message hello json the forum thread that make I open this issue challenge test
freecodecampfreecodecamp
basic javassript fail unless return be in else block
Bug
affect page your code js if obj hasownproperty checkprop return obj checkprop return not find expect behavior to pass I only pass the lesson when I put the line return not find in an else block screenshot system device laptop os window 10 browser brave version 1 35 103 additional context I m not sure why I do not pass with this js function checkobj obj checkprop if obj hasownproperty checkprop return obj checkprop return not find but this do pass js function checkobj obj checkprop if obj hasownproperty checkprop return obj checkprop else return not find be the lesson code so that only 1 solution will pass
freecodecampfreecodecamp
motanium rdb alpha periodic table database
Bug
affect page your code periodic table insert into element atomic number symbol name value 9 f fluorine 10 ne neon insert 0 2 periodic table insert into property atomic number type atomic mass melting point celsius boiling point celsius type i d value 9 nonmetal 18 998 220 188 1 1 10 nonmetal 20 18 248 6 246 1 1 insert 0 2 expect behavior try 2022 02 24 9 30 with the previous 2commands but didn t get the green check mark you should add the element with atomic number 9 to your database it s name be fluorine symbol be f mass be 18 998 melting point be 220 boiling point be 188 1 and it s a nonmetal you should add the element with atomic number 10 to your database it s name be neon symbol be ne mass be 20 18 melting point be 248 6 boiling point be 246 1 and it s a nonmetal screenshot 013 periodic table insert value fail system device laptop os window 10 browser firefox version 97 additional context you should remove all the trail zero after the decimal from each row of the atomic mass column you may need to adjust a data type to decimal for this be careful not to change the value adjust to real slight typo first word should be if instead of it it the argument input to your element sh script doesn t exist as an atomic number symbol or name in the database the output should be I could not find that element in the database
freecodecampfreecodecamp
it should be do some emphasis in a keyword
Bug
affect page your code expect behavior I think all the key should be remark someway I spend a relatively good amount of time ask myself why my function be not return the object maybe other people have experience the same screenshot image system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
challenge check radio button and checkboxe by default device issue
Bug
the last two test for the label text be incorrectly fail look like some kind of device issue with ipad and this challenge not sure what the problem be I try on lambdatest with an ipad pro in safari and it work can t really test it much though if someone with a device that be fail the two test can look at this and figure it out maybe it can be fix challenge some ipad user
freecodecampfreecodecamp
beta rwd test too strict on self closing link tag
Bug
affect page there be most likely other step affect as well discussion the test for this step fail if the tag do not include the forward slash before the ending accord to whatwg org 13 1 2 1 start tag start tag point 6 then if the element be one of the void element void element or if the element be a foreign element foreign element then there may be a single u 002f solidus character this character have no effect on void element void element but on foreign element it mark the start tag as self close this seem to imply that the forward slash be optional on the tag and thus the test should pass if the user do not include it there be 14 void element that this apply to area the area element base the base element br the br element col the col element embe the embed element hr the hr element img the img element input the input element link the link element meta the meta element param the param element source the source element track the track element wbr the wbr element
freecodecampfreecodecamp
fix remove extra blank line between section
Invalid
the file have inconsistent blank line between section mostly be one blank line but I ve see a few two blank line so remove they for consistency checklist x I have read freecodecamp s contribution guideline x my pull request have a descriptive title not a vague title like update index md x my pull request target the main branch of freecodecamp x I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
typo in beta responsive web design css box model rothko paint
Bug
affect page your code expect behavior the text of the challenge should say and bottom right radius to 8px and top right and bottom leave radius to 10px but it display and bottom right radius to 8px and top right and bottom leave radius to 10px screenshot screenshot from 2022 02 21 03 12 09 system device e g iphone6 laptop laptop toshiba satelite 655 os e g ios 14 window 10 ubuntu 20 4 ubuntu 20 4 browser e g chrome safari chrome version e g 22 additional context
freecodecampfreecodecamp
challenge create a form element remove root relative path from action url in example
Help Wanted
challenge this be a very minor issue but I have see a few people on the forum add the in front of the absolute url and I think it be because of the example code give I would suggest we just remove the slash example code so just this instead not sure if or where we teach about path but I think most path use in the curriculum be absolute or relative
freecodecampfreecodecamp
fix remove one extra blank line inconsistency
Invalid
remove one extra blank line between the icon and thumbnail section at line 64 65 66 checklist x I have read freecodecamp s contribution guideline x my pull request have a descriptive title not a vague title like update index md x my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
weird instruction add element to the end of an array use concat instead of push
Bug
affect page your code function nonmutatingpush original newitem only change code below this line return original concat newitem 1 2 3 4 5 only change code above this line const first 1 2 3 const second 4 5 nonmutatingpush first second expect behavior since newitem which reference an array should be add to the original array per the instruction I expect to pass the test instead it say nonmutatingpush 1 2 3 4 5 should return 1 2 3 4 5 which would be concatenate the two array but it isn t a non mutating alternative to push as the instruction suggest screenshot system device laptop os macos browser chrome additional context
freecodecampfreecodecamp
test in learn git tutorial
Bug
issuecomment 1022896635
freecodecampfreecodecamp
edit another sorry again light visual order improvement to the explanation of content
Bug
affect page sorry for the several and similar new issue I have open so far I didn t know there be some of they that be very similar I will keep add they here edit I think there be no more link leave your code expect behavior same as screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
another light visual order improvement to the explanation of content
Bug
affect page your code expect behavior same as but another other link screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
add result of comparison expression evaluation in the inline comment
Help Wanted
the student have to go all the way down up to the explanation in order these expression would evaluate to true false true and true to realize what the result of the operation be my suggestion be that the second section of the code should look like this 1 1 true 1 2 false 1 1 true 3 3 true instead of the screenshot attach affect page screenshot image
freecodecampfreecodecamp
miss usual horizontal bar from template that divide instruction from mini challenge
Bug
affect page your code expect behavior the screenshot below show where the miss horizontal line should be it s represent with a pretty obviously yellow make use microsoft paint screenshot image system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
never be say that you can use ctrl enter to run the test
Help Wanted
affect page javascript curriculum your code none expect behavior the user should be able to read somewhere at the beginning of the curriculum that they can use ctrl enter to run the test screenshot no screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
click on a informative link open another website in the same tab
Bug
affect page to reproduce when you click on detail here accuracy problem the wikipedia webpage be open in the same webpage recommend fix suggestion this be where the potential problem be locate detail here add the attribute target blank to the tag final solution detail here screenshot no need of screenshot
freecodecampfreecodecamp
a tiny typo in comparison with the equality operator
Bug
affect page comparison with the equality operator your code type coercion in line 25 l25 expect behavior fix to type conversion screenshot image system device laptop os e g ios 14 window 10 ubuntu 20 4 browser edge
freecodecampfreecodecamp
fix duplicate code issue in curriculum util js
Help Wanted
codefactor find an issue duplicate code it s currently on curriculum util js 24 34 l24 curriculum util js 39 49 l39 commit 62e75bc14f063e8b2834271ff7f67a7760e42ec3
freecodecampfreecodecamp
4 slight typo in rdb alpha learn git by build an sql reference object
Bug
affect page around 76 learn git by build an sql reference object at the top of nano you can see the two commit with pick next to they below they there s a list of option for work with they pick mean that it will use the commit as they be at the bottom it say d drop remove commit replace the work pick by your two commit with a d to drop they both when you be do save the file and exit nano instead of the word work it should be the word word around 77 both the commit to add the unique command and the one to revert it be drop enter another interactive rebase that go back to the root instead of head 2 I be go to show you how to change a commit message root mean that the rebase will go back to your very first commit lose the first comma 80 nano bring up a list of all the commit message you use for the commit don t change anything in there just exit the file to use those message and finish squash the commit message should be message 81 hopefully there be no conflict delete your branch for add information about column command since you be do with it be should be be your code expect behavior screenshot system device laptop os window 10 browser firefox version 97 additional context great way to both learn git and remember sql
freecodecampfreecodecamp
save message on code editor be not translate
Bug
the banner message save your code be save to your browser s local storage be display in english even if other language be select it be not in translation string and the message be hard code here l116 affect page any challenge on learn to reproduce step to reproduce the behavior 1 go to any challenge 2 press ctrl s 3 see the message banner expect behavior the message screenshot not translate system device laptop os window 10 browser chrome version 98 0 4758 82
freecodecampfreecodecamp
basic javascript curriculum code comment be evaluate as part of the solution multiple exercise affect
Bug
affect page your code 009 explore difference between the var and let keyword js unlike var when you use let a variable with the same name can only be declare once update the code so it only use the let keyword let catname oliver let catsound meow 015 increment a number with javascript js change the code to use the operator on myvar let myvar 87 only change code below this line myvar myvar 1 myvar console log myvar expect behavior validate as correct screenshot image system device e g iphone6 laptop desktop os e g ios 14 window 10 ubuntu 20 4 manjaro gnome browser e g chrome safari firefox version e g 22 97 0 additional context
freecodecampfreecodecamp
correct answer be not verify show its wrong
Bug
affect page screenshot freecodecamp system os window 10 browser firefox
freecodecampfreecodecamp
js base and js debug tutorial conflict
Bug
in there a type should be add bigint
freecodecampfreecodecamp
fix remover extra blank link between section
Invalid
checklist I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
crowdin need to hide note string
Bug
in crowdin it be possible to translate one of the headline of the markdown challenge file image this note headline should be hide automatically like the other
freecodecampfreecodecamp
language picker inaccessibility
Bug
affect page language picker in main menu for curriculum discussion the language picker in the main menu in the curriculum be currently inaccessible to keyboard only user because the change be trigger as soon as you press the down arrow key which trigger a change event cause the language to be change immediately there really be no good way to use a here if you want the change to be trigger without click a separate button to initiate the change this just isn t how select be intend to operate you basically have to implement an alternative solution that be accessible to keyboard user I have spend the past few day create an alternative accessible solution and be just about ready to submit the pr but before I do that I can t help think that this might be over complicate the issue and there be a well way I d like to suggest that we move the language picker to the user s setting page if we do that then we could have a button that initiate the change and then we could use a plain old which would reduce the complexity of implement this functionality considerably we could still include the language picker in the main menu but it would just be a link that take the user to their setting page
freecodecampfreecodecamp
some issue with order of content
Bug
affect page build a product landing page project your code expect behavior screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context as far as I know the learn css transform by build a penguin learn css transform by build a penguin section use animation that never be explain but learn css animation by build a ferris wheel learn css animation by build a ferris wheel explain all the animation I think you should change several minichallenge of both section specifically the minichallenge associate with animation because in the penguin one assume you know already this content but in the ferris wheel doesn t
freecodecampfreecodecamp
another issue with order of content
Bug
affect page your code none expect behavior the curriculum require that I use the keyframe rule and it be never explain but it s explain in this future section assume the curriculum this be the first time I be go to work whit it so there be a light misorder in the content in the curriculum screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
correct answer mark as a bad one
Bug
affect page your code cabin first of type right 8 5 top 50 expect behavior screenshot image system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context I could be able to solve the minichallenge with my code use the first of type selector but the minichllenge require the use of nth of type 1 I think that this be ok because of the future use of the other element but there should be some kind of explanation say something like you should have a cabin nth of type 1 selector because we will use other element in the future use this selector or something like this
freecodecampfreecodecamp
beta issue with order of content
Bug
affect page to reproduce the use of the css transform origin property be never explain in the course but be require the use of it the course be assume we have use this property in the past but it s explain in the next section assume we have never see this property the ferris wheel one recommend fix suggestion I don t know I think you should either change the order of the section do first the ferris one and later the penguin or add the explanation to the penguin section and exclude the explanation from the ferris wheel screenshot screenshot of the ferris wheel image screenshot of the penguin image
freecodecampfreecodecamp
fcc logo not link to curriculum have aria label freecodecamp curriculum
Bug
the translation key and string for fcc logo freecodecamp logo be change to fcc curriculum freecodecamp curriculum in 45039 as far as I understand this change be intend for the logo in the navigation bar but the freecodecamplogo component be also use on certificate the logo on the certificate be not link to the curriculum so aria label freecodecamp curriculum seem incorrect here affect page user certification such as username responsive web design this change be not deploy to the production yet I check it on gitpod to reproduce step to reproduce the behavior 1 go to a certification page 2 check the aria label of the freecodecamp logo on the certificate expect behavior aria label should be freecodecamp logo when it be not use as a link I m not sure if this be the good solution screenshot this change be not deploy to the production yet I check it on gitpod fcc logo system device laptop os window 10 browser brave version v 1 35 101 additional context originally point out in a crowdin comment 1142854
freecodecampfreecodecamp
report of incorrect a11y guidance for make screen reader navigation easier with the header landmark
Bug
one of the forum user marconiusiii have raise an issue about this accessibility lesson here be their remark this article lesson be teach a bad a11y practice h1 element do not belong in the header region since they be usually the first target element by screen reader user once I jump to the h1 I be expect there to be page content ready to go when I start navigate normally element by element down the page put the h1 in the header defeat the purpose of the h1 and the landmark since only repeat element and object belong in the header such as logo navigation region search box etc the h1 will change with each page change and navigate down from it should move I immediately into the page content not contend with anything else in the header region skip to content link generally aim for either the main region i d or the h1 i d and if I land on an h2 in the main content I feel like I ve miss something and try navigate backwards to find the h1 please revise the practice be teach here and ensure that coder and designer don t put their h1s incorrectly into header region html train with camper cat stealth agility training climb foliage quickly use a minimum spanning tree approach no training be np complete without parkour affect page make screen reader navigation easier with the header landmark
freecodecampfreecodecamp
local scope and function example need to be a little less confusing
Bug
affect page local scope and function your code expect behavior once console log loc have be use twice inside the caption in the paragraph below it the console log loc line will throw an error might be a little confusing I think we have somehow to mention that we re talk about the second occurrence of it not the first which be inside the function just for well quality and clarification screenshot screenshot from 2022 02 11 03 35 29 system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
js curriculum miss test case in telephone number validator challenge
Bug
affect page your code example of buggy function that pass the challenge function telephonecheck str return 1 s d d d d d d s d d d s d d d d test str expect behavior the code above shouldn t pass the challenge additional context in the challenge it be require to confirm that the country code be 1 where it be provide please add a test case where the country code be make of multiple 1 for example test console log telephonecheck 11 555 555 5555 should return false
freecodecampfreecodecamp
js curriculum miss test case in argument optional challenge
Bug
affect page your code example of buggy function that pass the challenge function addtogether args if argument length 1 typeof args 0 number return val typeof val number args 0 val undefined if argument length 2 typeof args 1 number return args 0 args 1 else return undefined expect behavior the code above shouldn t pass the challenge additional context in the challenge it be ask to make the function addtogether return undefined if either argument isn t a valid number please add a test case where the first argument isn t a valid number but the second be example test addtogether 2 3
freecodecampfreecodecamp
salon appointment scheduler
Bug
affect page relational database alpha salon appointment scheduler your code bin bash psql psql x username freecodecamp dbname salon tuple only c echo e n salon appointment scheduler n echo e how may I help you n main menu display a numbered list of the service you offer before the first prompt for input each with the format get service service psql select service i d name from service order by service i d display service se method echo service se e s g se e s g while read method echo service while read service i d bar service name do echo service i d service name do read selection read service i d select check if in db service i d select db psql select service i d from service where service i d service i d select if not find if z service i d select db then send to main menu main menu please enter a valid service number else get customer info echo e nwhat s your phone number read customer phone check if already a customer customer i d db psql select customer i d from customer where phone customer phone if not find if z customer i d db then get name echo e nwhat s your name read customer name insert into customer phone name customer phone name in db psql insert into customer name phone value customer name customer phone get customer i d customer i d db psql select customer i d from customer where phone customer phone fi ask for time echo e nwhat time would you like read service time insert into appointment customer i d service i d time customer i d service i d time in db psql insert into appointment customer i d service i d time value customer i d db service i d select service time get service name service name psql select name from service where service i d service i d select retrieve customer name customer name db psql select name from customer where phone customer phone output message echo I have put you down for a service name at service time customer name db fi main menu expect behavior hope all the checkboxe would turn green and a congratulation would appear screenshot system device laptop os window 10 browser firefox version 97 additional context edit need to tutorial text slight typo with your intstead of you in the final suggest output on the last checkbox 11 am be not a recognize time
freecodecampfreecodecamp
link be incorrect
Bug
affect page the second link learn python video course 10 hour unfortunately go nowhere a 404 page appear your code expect behavior it should open the page to the mention video course screenshot image system additional context
freecodecampfreecodecamp
iframe title should be translatable
Help Wanted
now that be in we re add title of the form catphotoapp preview and preview this be good from an a11y perspective but the string need to be translatable
freecodecampfreecodecamp
challenge iterate through an array with a for loop make test and requirement strict
Bug
this challenge can be pass with incorrect code it do not check that the array element be add to total var total 0 for total total 20 total myarr 0 var total 0 for var I 0 I 20 I myarr 0 total I var total 0 for var I 0 I myarr 3 4 I total I the requirement should probably be strict and expect either total myarr I or total total myarr I to be inside the body of the for loop without force the iterator variable name to be I challenge test forum post
freecodecampfreecodecamp
rwd beta penguin step 93 incorrect border radius hint
Bug
affect page your code border radius 30 30 120 30 don t give up here s a hint to get you think you should give arm a border radius of 30 30 120 30 expect behavior the hint be incorrect the correct order be 30 30 30 120 only the text in the hint need to be change I can do it or it can be mark for first timer don t give up here s a hint to get you think you should give arm a border radius of 30 30 30 120 screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context originally find on the forum via post
freecodecampfreecodecamp
fix remove extra blank link between section
Invalid
checklist I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
remove extra space between section
Invalid
checklist I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
fix remove extra blank link between section
Invalid
checklist I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
sass scss challenge be break in firefox
Bug
when I revert pr it work again I didn t really figure out what be cause it but if I log out the innerhtml of the frame before and after the promise all inside the transform function I first see the content and then empty const transformhtml async function file const transform async frame console log before correct content console log frame contentdocument documentelement innerhtml await promise all transformsass frame contentdocument transformscript frame contentdocument console log after empty content console log frame contentdocument documentelement innerhtml return content frame contentdocument documentelement innerhtml const content await transformwithframe transform file content return transformcontent content file forum post
freecodecampfreecodecamp
fix remove unwanted space in the file
Invalid
checklist x I have read freecodecamp s contribution guideline x my pull request have a descriptive title not a vague title like update index md x my pull request target the main branch of freecodecamp x I have test these change either locally on my machine or gitpod close xxxxx my first time ever contribute to an open source project
freecodecampfreecodecamp
rdb alpha build a student database part 1 section 840 1
Bug
affect page your code get course i d course i d psql select course i d from course where course course expect behavior the tutorial should move to the next lesson screenshot system macbook air apple m1 vscode 2 additional context the answer be copy paste from the solution give in the hint
freecodecampfreecodecamp
random quote machine template pass 12 12 test with barely any code
Bug
affect page build a random quote machine you can build your project by use this codepen template and click save to create your own pen your code expect behavior I m use the template provide and I m get 12 12 test pass so it s difficult to keep track of my progress if it doesn t display the pass test properly random quote machine screenshot image system device laptop os window 10 browser firefox version 96 0 3 64 bit additional context
freecodecampfreecodecamp
typo in responsive web design beta
Bug
affect page your issue the instruction do not state that the element shoud be require only the hint say so expect behavior the instruction should specify that the element should be require screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
typo in responsive web design beta
Bug
affect page your code give each fieldset an adaquate name attribute expect behavior should be adequate system device laptop os opensuse tumblewee browser vivaldi version 5 0
freecodecampfreecodecamp
typo in the learn advanced bash tutorial
Bug
sentence with typo a stdout txt file be create propose fix a stdout txt file be create affect page with the typo 301 I have add the first timer only label carefully read through the freecodecamp contribute doc index and the section on work with coderoad tutorial how to work on tutorial that use coderoad after you have read through the contribute doc and fix the typo then you will make a pr in this github repo after you make the pr someone from the team will review it if you need help then please ask on the forum or chat room sometimes we may get more than one pull request we typically accept the most quality contribution follow by the one that be make first happy contribute
freecodecampfreecodecamp
select ukrainian redirect to japanese and sometimes just some of the content be display in japanese
Bug
affect page and all lesson to reproduce step to reproduce the behavior 1 go to 2 click on menu button 3 select language expect behavior display the site in ukrainian screenshot s1 system device pc os manjaro 21 2 1 browser brave version 1 34 81 also test with other browser and android device I clear the cache and cookie the problem be everywhere it seem to be platform independent additional context when choose the ukrainian language the url redirect I to japanese for some reason in some case there be no redirect but the content be still in japanese in some case some of the element may be in japanese some in ukrainian this only start happen today everything be fine yesterday this happen only when choose the ukrainian language this do not happen with other language
freecodecampfreecodecamp
drum machine project s 6th test fail and throw an error
Bug
the 6th test of this project be fail every time and throw the error uncaught in promise domexception the play request be interrupt by a call to pause in the browser console after some research I ve find this thread on the forum it seem that other people have face it too affect page your code here be the link to the pen that reproduce this issue expect behavior the test should pass as the functionality be work when interact with the app manually system device macbook os macos catalina browser google chrome version 97 0 4692 99 additional context the issue seem to arise because the call to play and pause be async and return a promise but in the test they re not handle properly
freecodecampfreecodecamp
we need to go through issue and comment on crowdin for suggest change to challenge
Bug
this be also a reminder to myself to do it
freecodecampfreecodecamp
keyboard shortcut for next challenge without submit the current one
Bug
affect page your code I need to have a glance again at all my previous challenge in rwd to just revise and see I there will be something that need attention and I find this a little difficult have a next button a shortcut make it easy to just move forward without the need to submit again will be a really useful thing thank you contributor expect behavior screenshot system device e g iphone6 laptop os e g ios 14 window 10 ubuntu 20 4 browser e g chrome safari version e g 22 additional context
freecodecampfreecodecamp
firefox doesn t accept the correct answer for step 8 of the css transform project
Bug
an issue be bring up in the forum where the user could not pass the challenge use firefox they have the correct code and weren t use browser extension affect page correct code that doesn t pass in firefox ground width 100vw height 400px background linear gradient 90deg rgb 88 175 236 rgb 182 255 255 expect behavior on google chrome and safari the test do pass the test will only pass on firefox use this code ground width 100vw height 400px background linear gradient 45deg rgb 118 201 255 rgb 247 255 222 screenshot correct answer not pass in firefox incorrect answer pass in firefox system device macbook pro os macos catalina browser firefox version 96 0 2
freecodecampfreecodecamp
rdb student database part1 require space after s to pass
Bug
affect page where you add the first if statement your code code require to pass bin bash script to insert datum from course csv and student csv into student database psql psql x username freecodecamp dbname student no align tuple only c cat course csv while ifs read major course do get major i d major i d psql select major i d from major where major major echo major i d if not find if z major i d then insert major get new major i d fi get course i d if not find insert course get new course i d insert into major course do expect behavior the code that should pass bin bash script to insert datum from course csv and student csv into student database psql psql x username freecodecamp dbname student no align tuple only c cat course csv while ifs read major course do get major i d major i d psql select major i d from major where major major echo major i d if not find if z major i d then insert major get new major i d fi get course i d if not find insert course get new course i d insert into major course do screenshot space require before comment system device laptop os window 10 browser vs code version version 1 63 2 additional context
freecodecampfreecodecamp
suggestion to avoid confusion for self closing html element in learn basic css by build a cafe menu in responsive web design certification
Help Wanted
step 3 mention that the be self closing element without make it very clear how to write it test pass when the forward slash be not write then in step 17 the have a forward slash add to it and when I try to write without a forward slash test fail in step 18 there be a code block show how to write the element maybe such a code block could be add in step 3 instead in order to avoid confusion for complete beginner in step 17 as there be no mention of whether a forward slash be need or not in the first project learn html by build a cat photo app the img element be write without one in the lesson so maybe make this step more clear would help avoid some people get stuck on step 17
freecodecampfreecodecamp
type error in the name of website
Bug
affect page to reproduce type error in the name of the website recommend fix suggestion change 24 pull reuest 24 pull request screenshot image
freecodecampfreecodecamp
error in translate the page make motion more natural use a bezi curve
Bug
affect page your code the value in the portuguese translation be wrong 0 311 0 441 0 444 1 649 instead of expect behavior correct value 0 311 0 441 0 444 1 649 screenshot erro system device laptop macbook pro os macos big sur browser safari version 15 1 additional context
freecodecampfreecodecamp
fix remove extra blank between section
Invalid
this change be make watch free code camp youtube tutorial feel free to close I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
typo in bash command for advanced bash rdb course
Bug
the direction say to enter the command stout txt but the correct name of the file be stdout txt affect page 50 stdouttxt propose fix enter stdout txt in the terminal to redirect nothing into the file screenshot
freecodecampfreecodecamp
typo on step 43 of the beta learn the css box model by build a rothko painting
Bug
affect page to reproduce recommend fix suggestion screenshot typo on step 43 rothko paint css box model
freecodecampfreecodecamp
boilerplate advancednode npm I fail on apple silicon because of incompatible node version
Bug
note I m open this issue here as it doesn t seem to be possible to open issue on the boilerplate advancednode repository affect page your code run npm I on an apple silicon mac result in the follow error npm err code 1 npm err path user ce dev document dev course freecodecamp project 06 quality assurance boilerplate advancednode node modules node npm err command fail npm err command sh c node installarchspecificpackage npm err npm err code etarget npm err npm err notarget no match version find for npm err npm err notarget in most case you or one of your dependency be request npm err npm err notarget a package version that doesn t exist npm err npm err npm err a complete log of this run can be find in npm err npm err user ce dev npm log 2022 01 21t14 43 20 296z debug log npm err node internal modules cjs loader 936 npm err throw err npm err npm err npm err error can not find module node darwin arm64 package json npm err require stack npm err user ce dev document dev course freecodecamp project 06 quality assurance boilerplate advancednode node modules node installarchspecificpackage js npm err at function module resolvefilename node internal modules cjs loader 933 15 npm err at function resolve node internal modules cjs helper 108 19 npm err at childprocess user ce dev document dev course freecodecamp project 06 quality assurance boilerplate advancednode node modules node bin setup index js 18 27 npm err at childprocess emit node event 390 28 npm err at maybeclose node internal child process 1064 16 npm err at process childprocess handle onexit node internal child process 301 5 npm err code module not find npm err requirestack npm err user ce dev document dev course freecodecamp project 06 quality assurance boilerplate advancednode node modules node installarchspecificpackage js npm err npm err this be because which be list as a dependency do not run on apple silicon expect behavior user should be able to install dependency system device macbook air m1 os macos 12 1 browser n a additional context change the dependency to the follow fix the problem json dependency dotenv 8 2 0 express 4 16 1 mongodb 3 6 1 node 17 3 1 everything still seem to work as I be able to pass the first challenge set up a template engine with these package but I have not do any testing beyond seem to work on my system and on heroku
freecodecampfreecodecamp
rwd beta subjective change and unclear direction
Bug
affect page cafe menu registration form city skyline your code not applicable expect behavior not applicable system not applicable additional context cafe menu x step 3 suggest change could be to be small blue diamond 46063 x step 85 suggest add the word s have or have space after the word address small blue diamond 46071 registration form x step 33 suggest add the phrase which require a closing tag refer to step 29 as an example small blue diamond 46063 x step 38 margin 1em auto do not center anything as far as I could see should the beginning of the sentence be rewrite to something like give the h1 and p element a margin of 1em auto small blue diamond 46071 city skyline x step 8 suggest reword the 1st sentence I kind of see a border but only after look for one I see the top border grow when I enter the div tag be the 1st sentence even necessary small blue diamond 46071 x step 10 it s confusing that you need to add html and css there be an editor for the html but the instruction do not say that you need to switch to the style css tab and add your css at the bottom also shouldn t click style css deselect index html and vice versa should this step be break into two step I can t recall another step in any of the section where you add an html element and a css rule small blue diamond 46063 x step 51 confuse the example be unlike what the expect answer be maybe it s my lack of use linear gradient in this way but I do not know exactly what I be suppose to do small blue diamond 46072 x step 80 confusing make the left and right border big big than what and why will the side border be invisible be that true I didn t know that should an explanation be add it seem like this lesson need to be rewrite small blue diamond 46063
freecodecampfreecodecamp
update readme md
Invalid
checklist I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
rwd beta redundant step in build a rothko paint challenge
Bug
affect page your code in step 20 we add the follow code to one element margin 20px auto this will create vertical margin of 20px and horizontally it will be center but on step 28 we change this to margin 20px auto 20px in step 28 it say change the margin of one to 20px auto 20px so the top margin be 20 pixel it s center horizontally and the bottom margin be 20 pixel but it already have 20px of vertical margin and be horizontally center system device pc os endeavouro kernel 5 16 1 arch1 1 browser chrome version 96 0 4664 110
freecodecampfreecodecamp
error with step 36 of the learn html by build a cat photo app in the beta rwd
Bug
affect page expect behavior step 36 say like anchor a element input element be self closing and do not need closing tag however this be false anchor tag be not self closing I believe it mean to say img which be the self closing tag introduce in the previous step screenshot additional context wasn t sure where to report this so I also post about it on the forum at
freecodecampfreecodecamp
rwd beta transform penguin step 55 82 88
Bug
affect page your code not applicable expect behavior the editor fill the screen instead of show the instruction you have to scroll up o see the instruction and it s not obvious if you should scroll up or down screenshot editor1 step 55 editor2 system device laptop os window 10 browser brave version version 1 33 106 chromium 96 0 4664 110 official build 64 bit additional context what the 3 step have in common be that the editor have focus on the 1st line of the css file all other lesson show the previous row number above the instruction see screenshot I may have see this in previous section but I can t be sure if someone can query all the lesson in all the section to find where the focus be at line 1 then I could check they although that will happen for all the early lesson you would probably need to do a condition for 10 or more line of code in the css file that s assume you need someone to check it rather than see the issue and fix it in the other section also I need a list of lesson to check because I don t know how to easily scroll through all the step I have to ctrl click every step in the penguin section because I know I miss one step 55
freecodecampfreecodecamp
minor typo in javascript algorithm and datum structure object orient programming understand own property
Bug
affect page to reproduce there be a typo in one of the code block there be an extra space in the follow line between name and this name name recommend fix suggestion remove the extra space screenshot screenshot 2022 01 18 180915
freecodecampfreecodecamp
suggestion wide context for code in rwd beta
Bug
in rwb the placement of the instruction interrupt the code and make indentation unclear especially for a beginner that may not know what to look for yet I notice several instance where put long uninterrupted part of the code in the highlighted editor might help with clarity example step 21 change the error message or expand the highlight code error message when h3 be in the wrong location there should be an h3 element right above the second section element s closing tag step 23 include figure in highlight editor to match the instruction a figure caption figcaption element be use to add a caption to describe the image contain withe the figure element and to show the placement of figcaption within figure step 50 include fieldset in highlight editor to match the instruction the legend element act as a caption for the content in the fieldset element and to show the placement of legend within fieldset propose solution expand the code on case per case basis permanently move the instruction box on top of the code editor I think that would make everything clear and more accessible with well define section on the page but I imagine it would be hard to implement now
freecodecampfreecodecamp
wrong object property on js curriculum
Bug
affect page expect behavior show actual object structure screenshot image system device desktop os w10 browser brave version 1 34 80 additional context the object information show represent the previous lesson
freecodecampfreecodecamp
exercise tracker challenge code with incorrect functionality pass test
Bug
affect page your code the backend route that pass fcc test despite not work correctly see comment js app get api user i d log req re get user i d from param and check that it win t break the db query const i d req param if i d length 24 return re json error user i d need to be 24 hex character find the user getuserbyidand i d userobject if userobject null re json error user not find else const limit req query limit req query limit 0 note limit be be apply here before from and to let promise exerciseactivity find user i d i d limit limit exec assert ok promise instanceof promise promise then exerciseobject note limit have already be apply at this point so only the truncated array of exercise will be filter by from and to if req query from const from new date req query from exerciseobject exerciseobject filter e new date e date gettime from gettime if req query to const to new date req query to exerciseobject exerciseobject filter e new date e date gettime to gettime exerciseobject exerciseobject map e e date new date e date todatestring re json i d userobject i d username userobject username count exerciseobject length log exerciseobject an example of the incorrect behaviour cause by this bug that the test don t catch all exercise for this user get api user 61e5689b039759356d4f6a51 log json i d 61e5689b039759356d4f6a51 username cehrlich count 6 log description jog duration 30 date we d jan 12 2022 description weight duration 60 date mon jan 11 2021 description climb duration 25 date tue jan 11 2022 description tennis duration 45 date we d dec 15 2021 description basketball duration 25 date sit feb 12 2022 description swimming duration 15 date thu jan 13 2022 exercise for this user from january 2022 note there be three of they get api user 61e5689b039759356d4f6a51 log from 2022 01 01 to 2022 01 31 json i d 61e5689b039759356d4f6a51 username cehrlich count 3 log description jog duration 30 date we d jan 12 2022 description climb duration 25 date tue jan 11 2022 description swimming duration 15 date thu jan 13 2022 limit the result to 2 only return 1 this be because the query be limit to the first two object jog and weight before the from and to filter be apply get api user 61e5689b039759356d4f6a51 log from 2022 01 01 to 2022 01 31 limit 2 json i d 61e5689b039759356d4f6a51 username cehrlich count 1 log description jog duration 30 date we d jan 12 2022 expect behavior the challenge requirement state you can add from to and limit parameter to a get api user i d log request to retrieve part of the log of any user from and to are date in yyyy mm dd format limit be an integer of how many log to send back the above code functionality should not pass the test system this be an issue with the test so it will be the same for any client device but I m use device macbook air late 2020 os macos 12 1 browser chrome version 97 additional context if you believe the test should catch this I would be happy to rewrite the relevant test and create a pull request for it
freecodecampfreecodecamp
fix remove extra blank line between section
Invalid
checklist I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
safari issue in rwd beta learn more about css pseudo selector
Bug
affect page your code last update december 2021 expect behavior the above code do not pass when submit in safari I check the same step use firefox and it pass ok screenshot screenshot 150 system macos 12 1 safari 15 2 additional context
freecodecampfreecodecamp
rwd beta grid magazine section step 24
Bug
affect page your code src alt four people work on code loading lazy class image 3 width 600 height 400 expect behavior I expect it to pass I also try I even go to step 25 and copy paste the complete tag from that lesson and it fail it wasn t clear if I should add or not you can see the empty img tag above the instruction but the error message be always your third img element should have a src set to screenshot grid magazine 24 system device laptop os window 10 browser brave version version 1 33 106 chromium 96 0 4664 110 official build 64 bit additional context
freecodecampfreecodecamp
step 1110 in the bike shop relational db course
Bug
it seem like the test javascript assert bike we have available t s s n s echo t available bike t s s n s m test scriptfile scriptfile match echo t available bike g length 1 be look for a semi colon after the echo available bike command expect behavior bash rent menu get available bike available bike psql select bike i d type size from bike where available true order by bike i d if no bike available if z available bike then send to main menu main menu sorry we don t have any bike available right now else display available bike echo e nhere be the bike we have available echo available bike ask for bike to rent if input be not a number send to main menu fi should be pass the test
freecodecampfreecodecamp
suggest edit for step 18 in learn basic css by build a cafe menu project in responsive web design beta
Bug
affect page the prompt currently say so the styling of the page look similar on mobile as it do on a desktop or laptop you need to add a meta element with a special content attribute I think it it make more sense to say for the styling of the page to look similar on mobile as it do on a desktop or laptop you need to add a meta element with a special content attribute here be the link to the lesson screenshot
freecodecampfreecodecamp
fix extra space omit
Invalid
checklist I have read freecodecamp s contribution guideline my pull request have a descriptive title not a vague title like update index md my pull request target the main branch of freecodecamp I have test these change either locally on my machine or gitpod close xxxxx
freecodecampfreecodecamp
typo in learn sql student database course part 2
Bug
there be a miss word in the direction here in your student info script add echo statement at the bottom like the other to print the result of the suggest query the word an should be add before echo statement fix add an echo statement this be an easy fix so I have add the first timer only label here be the file you need to fix 16901 please make sure you have read our contribution guideline you will also need to read through the guideline on how to contribute to tutorial with coderoad how to work on tutorial that use coderoad join we in our chat room or the forum if you need help contribute our moderator will guide you through this