repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
freecodecampfreecodecamp | issue about challenge target the same element with multiple jquery selector | Help Wanted | challenge name only add one class with each of your three selector issue description only the task only add one class with each of your three selector fail I think I ve do that only one class be add with the the different selector in my code browser information chrome 52 0 2743 82 m win10 desktop your code html jquery playground leave well target1 target2 target3 right well target4 target5 target6 screenshot issue |
freecodecampfreecodecamp | remove obsolete dependency from package json | Help Wanted | since we don t use it anymore update by raisedadead issue mod do not close this in a merge let keep this a recur open issue for first timer |
freecodecampfreecodecamp | move all current wiki link to the forum | Help Wanted | refer 9731 |
freecodecampfreecodecamp | some issue with map drawer | Help Wanted | 1 search button be crop in firefox 47 0 1 2 esc key doesn t clear search text input 3 there be three scrollbar when firefox es search box be open see next screenshot I ve not reproduce this in chrome in prod site everything be ok only two scrollbar 4 not sure why but filter doesn t work as expect as you can see in the screenshot above there be only challenge which have the word hello in its title this issue be present in prod site too so either this be an issue both on beta an prod site or I don t understand how do filtering work |
freecodecampfreecodecamp | two scroll bar on a map page | Help Wanted | I m not sure if it s a bug or a new feature but do we actually need two scroll bar map pro people without browser scroll bar will see that there be something more on the page fix well know ux issue call scroll stopper con weird ui doesn t allow to use mouse scrolling on 70 of the page space poor ux map2 if the new small scroll bar be a feature then we can at least get rid of the big browser scroll bar on the right side for well ui |
freecodecampfreecodecamp | change the name of collapse all challenge in a map menu ux | Help Wanted | for not native english speaker collapse all sound like delete all challenge so they probably never click this button I be always wonder why do we need such a big button to destroy all challenge s progress until I find this step in a todo testing list and only then I ve discover this great feature I m not a native speaker so need help with a more appropriate word possible variant hide all challenge hide all sub challenge minify all challenge |
freecodecampfreecodecamp | bug with task create a custom heading | Bug | challenge name issue description I manage to succe with the task even though I didn t fullfil all task write in this case I manage to move forward when the catphotoapp and image where not on the same level as expect by the task browser information browser name version chrome 51 0 2704 103 m operate system window 8 mobile desktop or tablet desktop your code html catphotoapp like info delete thing cat love cat nip laser pointer lasagna top 3 thing cat hate flea treatment thunder other cat indoor outdoor love lazy crazy submit screenshot image |
freecodecampfreecodecamp | beta require bootstrap for jquery and ajax json challenge | Help Wanted | add required file for a challenge or a challange block require add the require key to the challenge or challenge block see l6 l110 this be an example of how to add it to a whole block json name responsive design with bootstrap order 3 time 5 hour helproom help require link challenge i d bad87fee1348bd9acde08712 title use responsive design with bootstrap fluid container description in the html5 and css section of freecodecamp we build a cat photo app now let s go back to it this time we ll style it use the popular bootstrap responsive css framework bootstrap will figure out how wide your screen be and respond by resize your html element hence the name responsive design with responsive design there be no need to design a mobile version of your website it will look good on device with screen of any width you can add bootstrap to any app by add the follow code to the top of your html link rel stylesheet href maxcdn bootstrapcdn com bootstrap 3 3 1 css bootstrap min css in this case we ve already add it for you to this page behind the scene to get start we should nest all of our html in a div element with the class container fluid |
freecodecampfreecodecamp | challenge way to easy | Help Wanted | challenge slasher flick have an issue user agent be mozilla 5 0 x11 linux x86 64 applewebkit 537 36 khtml like gecko chrome 52 0 2743 82 safari 537 36 this challenge can be solve in one line of code be it intend that way if yes than ok if not note that suggest method be actually a solution my code javascript function slasher arr howmany it doesn t always pay to be first var arr2 arr slice howmany return arr2 slasher 1 2 3 2 |
freecodecampfreecodecamp | question mark in value of alt attribute lead to fail test | Help Wanted | challenge add image to your website solution 0a 3clink 20href 3d 22https 3a 2f 2ffonts googleapis com 2fcss 3ffamily 3dlobster 22 20rel 3d 22stylesheet 22 20type 3d 22text 2fcss 22 3e 0a 3cstyle 3e 0a 20 20 red text 20 7b 0a 20 20 20 20color 3a 20re 3b 0a 20 20 7d 0a 0a 20 20h2 20 7b 0a 20 20 20 20font family 3a 20lobster 2c 20monospace 3b 0a 20 20 7d 0a 0a 20 20p 20 7b 0a 20 20 20 20font size 3a 2016px 3b 0a 20 20 20 20font family 3a 20monospace 3b 0a 20 20 7d 0a 3c 2fstyle 3e 0a 0a 3ch2 20class 3d 22red text 22 3ecatphotoapp 3c 2fh2 3e 0a 0a 3cimg 20src 3d 22https 3a 2f 2fbit ly 2ffcc relax cat 22 20alt 3d 22can 20i 20haz 20webpagez 3f 22 3e 0a 0a 3cp 20class 3d 22red text 22 3ekitty 20ipsum 20dolor 20sit 20amet 2c 20shed 20everywhere 20shed 20everywhere 20stretching 20attack 20your 20ankles 20chase 20the 20re 20dot 2c 20hairball 20run 20catnip 20eat 20the 20grass 20sniff 3c 2fp 3e 0a 3cp 20class 3d 22red text 22 3epurr 20jump 20eat 20the 20grass 20rip 20the 20couch 20scratched 20sunbathe 2c 20shed 20everywhere 20rip 20the 20couch 20sleep 20 in 20the 20sink 20fluffy 20fur 20catnip 20scratched 3c 2fp 3e 0a have an issue user agent be mozilla 5 0 x11 linux x86 64 applewebkit 537 36 khtml like gecko chrome 52 0 2743 82 safari 537 36 the third testing spec your image element must have an alt attribute of this challenge break as soon as the user put a question mark into the value of the alt attribute remove the question mark lead to a instant pass my code html catphotoapp kitty ipsum dolor sit amet shed everywhere shed everywhere stretch attack your ankle chase the red dot hairball run catnip eat the grass sniff purr jump eat the grass rip the couch scratch sunbathe shed everywhere rip the couch sleep in the sink fluffy fur catnip scratch |
freecodecampfreecodecamp | add a caret symbol to connect mongo version | Help Wanted | a caret symbol need to be add here l46 so the result should look like this connect mongo 1 3 2 please review contribution guideline before open a pr thank you |
freecodecampfreecodecamp | replace instance of the old wiki with appropriate link to the forum | Help Wanted | these need to be replace by the appropriate forum post help button should link to the appropriate forum article skitch |
freecodecampfreecodecamp | redirect old wiki url s to the root of the forum | Help Wanted | as a user if I go to an old wiki en link I be redirect to forum freecodecamp com this be the file that should be edit |
freecodecampfreecodecamp | image should be make clickable on shop page | Help Wanted | here be the link to the page issue description for well ui I think this page would benefit from have link not only on button but also on image themselves I ve find myself repeatedly open link in new tab to look at later and to my surprise the image be open not the link which be something I expect learn behaviour from other site I wonder if I can make the change if you decide it s need would love to help out |
freecodecampfreecodecamp | ambiguous note | Help Wanted | challenge name issue description note read place a comma in between every object in the array unless it be the last object in the array which be slightly misleading it should read place a comma in between every object in the array or place a comma after every object in the array unless it be the last object in the array browser information browser name version n a operating system n a mobile desktop or tablet n a your code js screenshot |
freecodecampfreecodecamp | fcc heroku app return json for challenge seem to be down | Bug | challenge name issue description the api return top 100 camper for past 30 day and all time be not return any data browser information browser name version chrome 52 operating system mac osx el capitan mobile desktop or tablet desktop screenshot alt text |
freecodecampfreecodecamp | show cheater flag on everypage | Help Wanted | when a user be flag as ischeater a flash message be show on their profile when ever someone visit that page we would like to add a the same flash message to every page if the user be mark as a cheater while they be log in |
freecodecampfreecodecamp | update output box copy | Help Wanted | we need to add as well to the end of js your output will go here any console log type statement will appear in your browser s devtool javascript console since the result do indeed show up there too thank to chadkreutzer for point this out |
freecodecampfreecodecamp | notification modal for camper who have claim all six certification | Help Wanted | camper who have claim all 6 certification should receive a popup modal tell they to check their email for next step or to email if they haven t receive one modal copy you should receive an email with the next step toward volunteer on a nonprofit project if you do not receive this email or haven t associate an email address with your account please email |
freecodecampfreecodecamp | it appear my code deliver what the lesson require yet it indicate an error | Help Wanted | challenge stand in line solution function 20nextinline 28arr 2c 20item 29 20 7b 0a 20 20arr push 28item 29 3b 0a 20 20return 20arr splice 280 2c 201 29 3b 0a 7d 0a 0a 2f 2f 20test 20setup 0avar 20testarr 20 3d 20 5b 5d 3b 0a 0a 2f 2f 20display 20code 0aconsole log 28 22before 3a 20 22 20 2b 20json stringify 28testarr 29 29 3b 0aconsole log 28nextinline 28testarr 2c 201 29 29 3b 0aconsole log 28 22after 3a 20 22 20 2b 20json stringify 28testarr 29 29 3b have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 11 3 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code javascript function nextinline arr item arr push item return arr splice 0 1 test setup var testarr display code console log before json stringify testarr console log nextinline testarr 1 console log after json stringify testarr it appear my code deliver what the lesson require yet it indicate an error |
freecodecampfreecodecamp | embed image not display | Bug | challenge build a personal portfolio webpage have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 11 5 applewebkit 601 6 17 khtml like gecko version 9 1 1 safari 601 6 17 please describe how to reproduce this issue and include link to screenshot if possible issue be to do with the example webpage image return what look like a cpanel 404 error when try to view image example |
freecodecampfreecodecamp | press ctrl enter should take I to next challenge as per current behaviour | Help Wanted | after complete a challenge I press ctrl enter or cmd enter this submit my challenge do the same once again should take I to the next challenge as per the behaviour of the current site |
freecodecampfreecodecamp | caesars cipher my code pass all the test but doesn t validate on fcc | Help Wanted | challenge caesar cipher solution let 20engine 20 3d 20 28v 29 20 3d 3e 20 7b 0a 20 20 0a 20 20let 20low 20 3d 20 a charcodeat 28 29 3b 0a 20 20let 20high 20 3d 20 z charcodeat 28 29 3b 0a 20 20 0a 20 20if 20 28 v match 28 2f 5ba z 5d 2fi 29 29 20 7b 0a 20 20 20 20if 20 28v charcodeat 28 29 20 2013 20 3c 20low 29 20 7b 0a 20 20 20 20 20 20let 20code 20 3d 20 28high 20 20 28low 20 20 28v charcodeat 28 29 20 2013 20 2b 201 29 29 29 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20return 20string fromcharcode 28code 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20else 20 7b 0a 20 20 20 20 20 20return 20string fromcharcode 28v charcodeat 28 29 20 2013 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20else 20 7b 0a 20 20 20 20return 20v 3b 0a 20 20 7d 0a 7d 3b 0a 0afunction 20rot13 28str 29 20 7b 20 2f 2f 20lbh 20qvq 20vg 0a 20 20 0a 20 20return 20 22 20 2b 20str 0a 20 20 20 20 split 28 29 0a 20 20 20 20 map 28engine 29 0a 20 20 20 20 join 28 29 20 2b 20 22 3b 0a 7d 0a 0a 2f 2f 20change 20the 20inputs 20below 20to 20test 0a 2f 2frot13 28 22serr 20pbqr 20pnzc 22 29 3b 0arot13 28 22serr 20cvmmn 22 29 3b 0a 2f 2frot13 28 22serr 20ybir 3f 22 29 3b 0a 2f 2frot13 28 22gur 20dhvpx 20oebja 20qbt 20whzcrq 20bire 20gur 20ynml 20sbk 22 29 3b 0a have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 9 5 applewebkit 537 36 khtml like gecko chrome 51 0 2704 106 safari 537 36 the code pass all the test but doesn t validate on fcc editor why that my code javascript let engine v let low a charcodeat let high z charcodeat if v match a z I if v charcodeat 13 low let code high low v charcodeat 13 1 return string fromcharcode code else return string fromcharcode v charcodeat 13 else return v function rot13 str lbh qvq vg return str split map engine join change the input below to test rot13 serr pbqr pnzc rot13 serr cvmmn rot13 serr ybir rot13 gur dhvpx oebja qbt whzcrq bire gur ynml sbk |
freecodecampfreecodecamp | normalize ga event datum | Help Wanted | our ga event data be all wonky we need to normalize your task would be to track down all the ga function call and normalize their value these function call currently happen in both javascript and jade file here be how they should be normalize category category should be space separate capital word I e map challenge mind blow hopefully there shouldn t be a need for more than one word in a category here be what we have so far event overview analytic as you can see nav and shop need to be fix action action should be past tense verb in kebab case for instance click open toggle download scroll run code solve these need to be fix to just click and the label value should be use to differentiate which link top event analytic label label should be specific to the event for instance when someone click on a link in the shop the label should be the item they be buy these need to have the button click remove and the action change to click make it s inclusion in the label redundant top event analytic here be the doc for event track the ga function have the follow signature value this shoudln t need to be touch js ga send event category action label value cc evaristoc for feedback cc quincylarson |
freecodecampfreecodecamp | incorrect test expectation for confirm the end challenge | Help Wanted | challenge confirm the end solution 0afunction 20confirmending 28str 2c 20target 29 20 7b 0a 20 20 2f 2f 20 22never 20give 20up 20and 20good 20luck 20will 20find 20you 22 0a 20 20 2f 2f 20 20falcor 0a 20 20var 20match 3b 0a 20 20if 28target length 20 3d 3d 3d 201 29 20 7b 0a 20 20 20 20match 20 3d 20target 20 3d 3d 20str substre 28str length 1 2c 20str length 29 3b 20 20 20 20 0a 20 20 7d 20else 20 7b 0a 20 20 20 20var 20words 20 3d 20str split 28 22 20 22 29 3b 0a 20 20 20 20var 20lastword 20 3d 20words 5bword length 1 5d 3b 0a 20 20 20 20match 20 3d 20target 20 3d 3d 3d 20lastword 3b 0a 20 20 7d 0a 20 20return 20match 3b 0a 7d 0a 0aconfirmending 28 22bastian 22 2c 20 22n 22 29 3b 0a have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 11 5 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible 1 add console log statement to check the work and I see that I and name do not match and should be false but the test be expect it to be true if I understand the challenge correctly it s to make sure that the last letter or word in the string match the target respectively the last word of the string he have to give I a new name be name and the target be I I and name do not match so the test confirmende he have to give I a new name I should return true should actually return false correct my code javascript function confirmende str target never give up and good luck will find you falcor var match if target length 1 match target str substre str length 1 str length else var word str split var lastword word word length 1 match target lastword return match confirmende bastian n |
freecodecampfreecodecamp | odd menu behavior while on map in mobile | Help Wanted | issue description while on mobile real or simulate map behavior be odd while on desktop emulate mobile menu hide the free code camp logo and ability to close the menu while on map while on map on an android mobile device just click the menu button will create this odd menu show in the screenshot below the menu be first draw out normally but just as the menu finish load the below screenshot be show this oddity will disappear if you click on the menu button again browser information desktop error browser name version chrome operating system window mobile desktop or tablet desktop emulate mobile mobile error browser name version chrome operating system android mobile desktop or tablet mobile screenshot simulate mobile map real android mobile screenshot 20160720 171936 |
freecodecampfreecodecamp | remove wiki sidebar | Help Wanted | since we be move to the forum we can remove the wiki sidebar javascript html and less |
freecodecampfreecodecamp | case check not do for the result | Help Wanted | challenge name manipulate array with unshift issue description the code doesn t check for the case enter for the array output browser information google chrome version 51 0 2704 106 m operate system window 10 home mobile desktop or tablet your code js screenshot image |
freecodecampfreecodecamp | the star disappear from require when do | Help Wanted | issue description maybe it s a small thing but in the map link you can see an overview of everything and there be the text on top of the page challenge require for certification be mark with a it s nice but as soon as you have do a challenge mark with a it s mark as do but the star disappear the star that tell you it s require for certification just nice if the star be still there browser information I use chrome on window and do not try any other don t think that matter |
freecodecampfreecodecamp | add a hat symbol to babel eslint version | Help Wanted | a carat aka hat symbol need to be add here l35 so the result should look like this babel eslint 6 1 2 |
freecodecampfreecodecamp | miss semi colon for valid js | Help Wanted | challenge access nest object have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 10 5 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible description the sample code be miss a semi colon how to fix this line of code l4397 need to be edit so that there be a semi colon in the correct place the edit you make in your code should be from the red to the green diff var ourstorage desk drawer stapler cabinet top drawer folder1 a file folder2 secret bottom drawer soda ourstorage cabinet top drawer folder2 secret ourstorage desk drawer stapler var ourstorage desk drawer stapler cabinet top drawer folder1 a file folder2 secret bottom drawer soda ourstorage cabinet top drawer folder2 secret ourstorage desk drawer stapler to contributor please first read the contribute guideline before take care of this issue and feel free to visit the contributor help chat room if you have any question about help we re there to help this issue be label as first timer only so only individual who have not contribute to the main repository for free code camp can resolve this issue thank you for understanding screenshot image |
freecodecampfreecodecamp | use responsive design with bootstrap fluid container need slight rewrite | Help Wanted | challenge use responsive design with bootstrap fluid container have an issue user agent be mozilla 5 0 window not 6 1 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 the instruction you can add bootstrap to any app just by include it by add the follow code to the top of your html be kind of redundant we can simplify it by edit it as you can add bootstrap to any app by add the follow code to the top of your html this line of code l14 need to be change to contributor please first read the contribute guideline before take care of this issue and feel free to visit the contributor help chat room if you have any question about help we re there to help this issue be label as first timer only so only individual who have not contribute to the main free code camp repository can fix this issue thank you |
freecodecampfreecodecamp | text format | Help Wanted | challenge name issue description in the paragraph with instruction the highlight term styling extend beyond where it should be start with the word gloveboxcontent it continue into other line break and into the subsequent pop up window run test reset bug the screenshot include here be from night mode but the problem occur in the default set color as well screenshot nest obj styling screenshot nest obj styling screenshot2 nest obj styling screenshot3 nest obj styling screenshot4 |
freecodecampfreecodecamp | global scope and function | Help Wanted | global scope and function solution 0a 2f 2f 20declare 20your 20variable 20here 0avar 20myglobal 20 3d 2010 3b 0a 0afunction 20fun1 20 7b 0a 20 20 2f 2f 20assign 205 20to 20oopsglobal 20here 0a 20 20oopsglobal 20 3d 205 3b 0a 7d 0a 0a 2f 2f 20only 20change 20code 20above 20this 20line 0afunction 20fun2 20 7b 0a 20 20var 20output 20 3d 20 22 22 3b 0a 20 20if 20 typeof 20myglobal 20 3d 20 22undefined 22 20 7b 0a 20 20 20 20output 20 2b 3d 20 22myglobal 3a 20 22 20 2b 20myglobal 3b 0a 20 20 7d 0a 20 20if 20 typeof 20oopsglobal 20 3d 20 22undefined 22 20 7b 0a 20 20 20 20output 20 2b 3d 20 22 20oopsglobal 3a 20 22 20 2b 20oopsglobal 3b 0a 20 20 7d 0a 20 20console log output 3b 0a 7d 0a issue description you just have to go to the global scope and function challenge it say variable which be use without the var keyword be automatically create in the global scope but the instruction then say declare a global variable myglobal outside of any function initialize it to have a value of 10 so I declare it not use the var keyword but the problem be one of the step say myglobal should be declare use the var keyword browser information browser name version operating system mobile desktop or tablet your code js screenshot |
freecodecampfreecodecamp | letter case not consider when a color be mention in a class | Help Wanted | challenge name solution 0a 3cstyle 3e 0a 20 20body 20 7b 0a 20 20 20 20background color 3a 20black 3b 0a 20 20 20 20font family 3a 20monospace 3b 0a 20 20 20 20color 3a 20green 3b 0a 20 20 7d 0a 20 20 pink text 20 7b 0a 20 20 20 20color 3a 20pink 3b 0a 20 20 7d 0a 20 20h1 20 7b 0a 20 20 20 20color 3a 20yellow 3b 0a 20 20 7d 0a 3c 2fstyle 3e 0a 3ch1 20class 3d pink text 3ehello 20world 3c 2fh1 3e 0a issue description when the color in a class be mention in upper case the output show on the screen be already pink but I can not proceed by press ctrl enter unless I mention the color in low case text browser information browser name version chrome operating system window 8 mobile desktop or tablet laptop your code pink text color pink screenshot image |
freecodecampfreecodecamp | nextinline text need code tag | Help Wanted | challenge name issue description the last sentence in this challenge need nextinline in code tag to be consistent to contributor this line l2506 need to be change so the last sentence be the nextinline function should then return the element that be remove please first read the contribute guideline before take care of this issue and feel free to visit the contributor help chat room if you have any question about help we re there to help screenshot image |
freecodecampfreecodecamp | github wiki migration | Help Wanted | we be migrate the github wiki to the forum and will be remove the wiki from this repository the wiki repository may stay for archiving before remove the github wiki we should look into the migration of the below the wiki solution that be point from the map aside x the help link that point to wiki workaround from within the challenge 10010 x guide such as how to make pull request translation guide etc 10010 x most important the help find a bug article that be link in the button 10010 x audit and move any link that currently point to the wiki in the read I challenge etc 10010 anything that I might have miss |
freecodecampfreecodecamp | break link in challenge manipulate complex object | Help Wanted | challenge name issue description when you click on the link label javascript object notation you get a err ssl protocol error in the source code we have href json org by default the browser replace by https but the json org page doesn t support ssl I advise to use instead browser information browser name version chrome late but also reproduce with my safari operating system mac os x mobile desktop or tablet desktop your code js screenshot |
freecodecampfreecodecamp | reference to lesson get set for our back end development project do not exist | Help Wanted | challenge url shortener microservice have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 11 5 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible there be a link to get set for our back end development project on this challenge and also on several other but it do not exist |
freecodecampfreecodecamp | algorithm exact change inaccurate output | Help Wanted | exact change firefox 47 0 window 10 js function checkcashregister price cash cid var change cash price denom one hundred 100 00 twenty 20 00 ten 10 00 five 5 00 one 1 00 quarter 0 25 dime 0 10 nickel 0 05 penny 0 01 register cid reduce function acc curr acc total curr 1 acc curr 0 curr 1 return acc total 0 here be your change ma be if register total change return insufficient fund else if register total change return close var changedue for var I 0 I denom length I var currleft register denom I 0 val 0 while change denom I 1 currleft 0 change denom I 1 currleft denom I 1 val denom I 1 change math round change 100 100 if val 0 changedue push denom I 0 val if change 0 return insufficient fund return changedue checkcashregister 1 2 05 penny 0 nickel 0 dime 0 30 quarter 0 75 one 1 five 0 ten 0 twenty 0 one hundred 0 I pass all the fcc s test case however for the input above output should be dime 0 30 quarter 0 75 instead of insufficient fund similarly for checkcashregister 1 6 05 penny 0 nickel 0 dime 0 30 quarter 0 75 one 1 five 1 ten 0 twenty 0 one hundred 0 output should be dime 0 30 quarter 0 75 five 1 I look through fcc wiki page for the solution code and still get the same issue I m still try to solve this challenge take into account the above case though |
freecodecampfreecodecamp | video big o notation a few example exponential time polynomial time | Help Wanted | challenge name issue description in the discussion and question concern big o notation o n 2 be refer to as exponential time which be wrong o n c where c be any constant great than 1 e g 2 be call polynomial time exponential time look like o c n where the input variable n be in the exponent roughly speak the complexity class p polynomial time solvable be what we or complexity theorist consider easy or at least solvable exponential time algorithm typically have no hope of be solve on large input and therefore be good candidate for heuristic or approximation for a bit more intuition an algorithm with o n 2 complexity may not be a good candidate for real time processing in your web app but it may be perfectly suitable for less time critical task with an algorithm like this you might decide to pre compute some solution as a workaround with an exponential time algorithm o c n on the other hand the sun may burn out before your computation end concern o infinity notice the lack of an input variable n and that infinity isn t a number it s probably good to replace that idea with a statement about non terminate routine this might lead into a discussion about the halting problem for example |
freecodecampfreecodecamp | semicolon on while statement cause challenge failure | Bug | challenge name issue description use the sample solution in the wiki article for this algorithm for a do while loop if you include the require semicolon after the while you get syntaxerror unexpected token if you take the semicolon out you get a stop sign on the line say that the semicolon be miss but the challenge pass browser information browser name version chrome 52 0 2743 60 beta m operating system window 10 home mobile desktop or tablet desktop your code js do quot newarr 0 loop newarr 1 for n 2 n newarr length n if quot newarr n 0 break loop while n newarr length screenshot scm |
freecodecampfreecodecamp | not enough disk space error translation es | Help Wanted | spanish language translation for pr 9647 add text together with the command use in step 11 this add additional parameter to the mongod command to allow mongodb to run in the c9 environment note use the command mongod port 27017 in place of mongod port 27017 dbpath datum to avoid a duplicate parameter error dbpath datum be already include in the mongod command |
freecodecampfreecodecamp | pig latin instruction translation fr | Help Wanted | french language translation for pr 9602 add text input string be guarantee to be english word in all lowercase |
freecodecampfreecodecamp | pig latin instruction translation es | Help Wanted | spanish language translation for pr 9602 add text input string be guarantee to be english word in all lowercase |
freecodecampfreecodecamp | video computer basic measure data speed q1 bit bit sec | Help Wanted | challenge name issue description the first question datum speed be measure in bit true or false the correct answer should be false but be currently true datum speed be measure in bit per second |
freecodecampfreecodecamp | not enough disk space | Help Wanted | challenge store datum in mongodb have an issue user agent be mozilla 5 0 window not 10 0 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible if you follow the tutorial directly in the step call connect it will ask you to start a server use the command mongod port 27017 dbpath datum do that will get you this error say there isn t enough disk space avaiable for this operation to work you must attach smallfile to the mongod command |
freecodecampfreecodecamp | misspell of bracket | Help Wanted | misspell in the challenge question access multidimensional array with index one way to think of a multi dimensional array be as an array of array when you use bracket to access your array the first set of bracket refer to the entry in the outer most the first level array and each additional pair of bracket refer to the next level of entry inside should be plural bracket |
freecodecampfreecodecamp | wrong information be show on claim certificate | Help Wanted | challenge name issue description when confirm completion of react and d3 it say front end development certificate requirement in the brown box I believe it should say datum visualization certificate requirement instead browser information all screenshot screenshot from 2016 07 08 14 41 17 |
freecodecampfreecodecamp | issue with return a value from a function with return | Help Wanted | challenge return a value from a function with return solution 0a 2f 2f 20example 0afunction 20minusseven 28num 29 20 7b 0a 20 20return 20num 20 207 3b 0a 7d 0avar 20answer 20 3d 20minusseven 287 29 3b 0a 2f 2f 20only 20change 20code 20below 20this 20line 0a 0a 0a have an issue user agent be mozilla 5 0 window not 6 1 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code function timesfive num return num 5 var answer timesfive 5 example function minusseven num return num 7 var answer minusseven 7 only change code below this line the console deck win t change no matter what you type in always show timesfive 5 25 people who have this kind of problem could go to this link and test |
freecodecampfreecodecamp | update code of conduct spamme definition | Help Wanted | we want to update free code camp s code of conduct of spamme to include solicit donation here s the current copy the new definition should read spamming include post off topic message to disrupt discussion promote a product or solicit donation |
freecodecampfreecodecamp | change number of car seat to 5 | Help Wanted | challenge name issue description same issue as 9544 but in another challenge to fix this line in an example block l120 this line in the challenge seed l132 and this line in the solution l143 need to be change to have 5 seat e g this seat 5 to contributor please first read the contribute guideline before take care of this issue and feel free to visit the contributor help chat room if you have any question about help we re there to help this issue be label first timer only so only those who have not contribute to free code camp s main repository may resolve this issue screenshot image |
freecodecampfreecodecamp | remove unnecessary space | Help Wanted | challenge name issue description there be unnecessary line break in iterate over array with map this line l309 and this line l341 need to be remove to contributor please first read the contribute guideline before take care of this issue and feel free to visit the contributor help chat room if you have any question about help we re there to help this issue be label as first timer only so only those who have never contribute to freecodecamp s main repo can take up this issue screenshot now image after image |
freecodecampfreecodecamp | a car have more than 1 seat usually | Help Wanted | challenge construct javascript object with function solution 0avar 20car 20 3d 20function 28 29 20 7b 0a 20 20this wheel 20 3d 204 3b 0a 20 20this engine 20 3d 201 3b 0a 20 20this seat 20 3d 201 3b 0a 7d 3b 0a 0a 2f 2f 20only 20change 20code 20below 20this 20line 0a 0avar 20motorbike 20 3d 20function 28 29 20 7b 0a 20 20this wheel 20 3d 202 3b 0a 20 20this engine 20 3d 201 3b 0a 20 20this seat 20 3d 201 3b 0a 7d 3b 0a have an issue please describe how to reproduce this issue and include link to screenshot if possible I would change the number of seat for the object car to 5 as per the previous challenge original text javascript var car function this wheel 4 this engine 1 this seat 1 only change code below this line var motorbike function prefer text javascript var car function this wheel 4 this engine 1 this seat 5 only change code below this line var motorbike function |
freecodecampfreecodecamp | jquery french translation | Invalid | I add the miss french translation to jquery challenge |
freecodecampfreecodecamp | break trail comment tag | Help Wanted | challenge uncomment html solution 0a 3c 20 3e 0a 3ch1 3ehello 20world 3c 2fh1 3e 0a 3c 20 3e 0a 3ch2 3ecatphotoapp 3c 2fh2 3e 0a 3c 20 3e 0a 3cp 3ehello 20paragraph 3c 2fp 3e 0a have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 10 5 applewebkit 537 36 khtml like gecko chrome 41 0 2272 118 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code html hello world catphotoapp hello paragraph |
freecodecampfreecodecamp | master | Invalid | pre submission checklist your pull request target the staging branch of freecodecamp branch start with either fix feature or translate e g fix signin issue you have only one commit if not squash they into one commit all new and exist test pass the command npm run test challenge use git commit amend to amend any fix type of change small bug fix non break change which fix an issue new feature non break change which add new functionality break change fix or feature that would change exist functionality add new translation feature add new translation checklist test change locally close currently open issue replace xxxx with an issue no close xxxx description |
freecodecampfreecodecamp | link break in fcc wiki | Help Wanted | I notice that a couple of link be break in freecodecamp wiki camperbot template |
freecodecampfreecodecamp | create newapp | Invalid | pre submission checklist your pull request target the staging branch of freecodecamp branch start with either fix feature or translate e g fix signin issue you have only one commit if not squash they into one commit all new and exist test pass the command npm run test challenge use git commit amend to amend any fix type of change small bug fix non break change which fix an issue new feature non break change which add new functionality break change fix or feature that would change exist functionality add new translation feature add new translation checklist test change locally close currently open issue replace xxxx with an issue no close xxxx description |
freecodecampfreecodecamp | break wiki link in wherefore art thou | Help Wanted | challenge name wherefore art thou issue description I notice the link to the wiki page for wherefore art thou be bust it return a 404 maybe it be the name change the wiki be still title where art thou thank |
freecodecampfreecodecamp | update link in pr template | Help Wanted | issue description the pr template link to squashing could be update to directly link to the page rather than have to click through more link to fix the squash link need to be change to so that the template look like this one commit if not squash they into one commit to contributor only those who have not contribute to freecodecamp before can attempt this issue please first read the contribute guideline before take care of this issue and feel free to visit the contributor help chat room if you have any question about help we re there to help screenshot image |
freecodecampfreecodecamp | inconsistent output | Help Wanted | challenge name add two number with javascript and subtract one number from another with javascript issue description the console log output for these two challenge be inconsistent with multiply two number with javascript see screenshot below to fix this line l296 need to be change to js function z return sum z sum and this line l333 need to be change to js function z return difference z difference screenshot add two number with javascript image subtract one number from another with javascript image multiply two number with javascript image to contributor only first time contributor to freecodecamp can attempt this issue please first read the contribute guideline before take care of this issue and feel free to visit the contributor help chat room if you have any question about help we re there to help |
freecodecampfreecodecamp | flyer return after be dismiss in firefox | Help Wanted | issue description 1 open up freecodecamp com in firefox sign in and make sure you have at least 5 brownie point 2 you should see the flyer at the top of the page with a promotional message like check out our forum 3 dismiss it 4 refresh the page it come back this be a problem with our use of local storage |
freecodecampfreecodecamp | unclear instruction basic js access nest object | Help Wanted | challenge access nest object have an unclear instruction this fix will be good for first timer the instruction at the moment access the mystorage object to retrieve the content of the glove box use bracket notation for property with a space in their name suggest update access the mystorage object and assign the content of the glove box property to the gloveboxcontent variable use bracket notation for property with a space in their name |
freecodecampfreecodecamp | use vs for icon | Help Wanted | use for icon be a not good fcc shouldn t teach encourage bad practice use |
freecodecampfreecodecamp | about page contact list not responsive | Help Wanted | image |
freecodecampfreecodecamp | confusing comment | Help Wanted | the pre include comment say only write below this line but the actual modification to be make seem to be above the line not exactly a bug but may confuse coder challenge write reusable javascript with function solution 0a 2f 2f 20example 0afunction 20reusablefunction 28 29 20 7b 0a 20 20console log 28 22hi 20world 22 29 3b 0a 7d 0a 0areusablefunction 28 29 3b 0a 0a 2f 2f 20only 20change 20code 20below 20this 20line 0a 0a 0a have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 11 5 applewebkit 537 36 khtml like gecko chrome 51 0 2704 106 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code javascript example function reusablefunction console log hi world reusablefunction only change code below this line |
freecodecampfreecodecamp | challenge be not pass even have the right code | Help Wanted | challenge override all other style by use important solution 3cstyle 3e 0a 20 20body 20 7b 0a 20 20 20 20background color 3a 20black 3b 0a 20 20 20 20font family 3a 20monospace 3b 0a 20 20 20 20color 3a 20green 3b 0a 20 20 7d 0a 20 20 23orange text 20 7b 0a 20 20 20 20color 3a 20orange 3b 0a 20 20 7d 0a 20 20 pink text 20 7b 0a 20 20 20 20color 3a 20pink 20 important 3b 0a 20 20 20 20margin leave 3a 2010px 3b 0a 20 20 7d 0a 20 20 blue text 20 7b 0a 20 20 20 20color 3a 20blue 3b 0a 20 20 7d 0a 3c 2fstyle 3e 0a 3ch1 20id 3d 22orange text 22 20class 3d 22pink text 20blue text 22 20style 3d 22color 3a 20white 22 3ehello 20world 3c 2fh1 3e 0a have an issue user agent be mozilla 5 0 window not 10 0 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code html hello world |
freecodecampfreecodecamp | typo in source code video question | Help Wanted | challenge name video source code issue description in this l908 l910 line it should be compile and interpret respectively browser information browser name version firefox operating system ubuntu 16 mobile desktop or tablet desktop your code js screenshot probably a good one for first timer only grin |
freecodecampfreecodecamp | master | Invalid | pre submission checklist your pull request target the staging branch of freecodecamp branch start with either fix feature or translate e g fix signin issue you have only one commit if not squash squash multiple commit into one they into one commit all new and exist test pass the command npm run test challenge use git commit amend to amend any fix type of change small bug fix non break change which fix an issue new feature non break change which add new functionality break change fix or feature that would change exist functionality add new translation feature add new translation checklist test change locally close currently open issue replace xxxx with an issue no close xxxx description |
freecodecampfreecodecamp | update test for delete property from a javascript object | Help Wanted | challenge delete property from a javascript object solution 0a 2f 2f 20example 0avar 20ourdog 20 3d 20 7b 0a 20 20 22name 22 3a 20 22camper 22 2c 0a 20 20 22legs 22 3a 204 2c 0a 20 20 22tails 22 3a 201 2c 0a 20 20 22friends 22 3a 20 5b 22everything 22 5d 2c 0a 20 20 22bark 22 3a 20 22bow wow 22 0a 7d 3b 0a 0adelete 20ourdog bark 3b 0a 0a 2f 2f 20setup 0avar 20mydog 20 3d 20 7b 0a 20 20 22name 22 3a 20 22happy 20coder 22 2c 0a 20 20 22legs 22 3a 204 2c 0a 20 20 22tails 22 3a 201 2c 0a 20 20 22friends 22 3a 20 5b 22free 20code 20camp 20campers 22 5d 2c 0a 20 20 22bark 22 3a 20 22woof 22 0a 7d 3b 0amydog 3d 22tails 22 3b 0a 2f 2f 20only 20change 20code 20below 20this 20line 0a 0a 0a have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 11 2 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code javascript example var ourdog name camper leg 4 tail 1 friend everything bark bow wow delete ourdog bark setup var mydog name happy coder leg 4 tail 1 friend free code camp camper bark woof mydog tail only change code below this line |
freecodecampfreecodecamp | turn an image into a link | Help Wanted | challenge turn an image into a link solution 0a 3clink 20href 3d 22https 3a 2f 2ffonts googleapis com 2fcss 3ffamily 3dlobster 22 20rel 3d 22stylesheet 22 20type 3d 22text 2fcss 22 3e 0a 3cstyle 3e 0a 20 20 red text 20 7b 0a 20 20 20 20color 3a 20re 3b 0a 20 20 7d 0a 0a 20 20h2 20 7b 0a 20 20 20 20font family 3a 20lobster 2c 20monospace 3b 0a 20 20 7d 0a 0a 20 20p 20 7b 0a 20 20 20 20font size 3a 2016px 3b 0a 20 20 20 20font family 3a 20monospace 3b 0a 20 20 7d 0a 0a 20 20 thick green border 20 7b 0a 20 20 20 20border color 3a 20green 3b 0a 20 20 20 20border width 3a 2010px 3b 0a 20 20 20 20border style 3a 20solid 3b 0a 20 20 20 20border radius 3a 2050 25 3b 0a 20 20 7d 0a 0a 20 20 small image 20 7b 0a 20 20 20 20width 3a 20100px 3b 0a 20 20 7d 0a 3c 2fstyle 3e 0a 0a 3ch2 20class 3d 22red text 22 3ecatphotoapp 3c 2fh2 3e 0a 0a 3ca 20href 3d 22 23 22 3e 3cimg 20src 3d 22https 3a 2f 2fbit ly 2ffcc run cat 22 3e 3c 2fa 3e 0a 0a 3cp 3eclick 20here 20for 20 3ca 20href 3d 22 23 22 3ecat 20photos 3c 2fa 3e 3c 2fp 3e 0a 0a 3cimg 20class 3d 22smaller image 20thick green border 22 20src 3d 22https 3a 2f 2fbit ly 2ffcc relax cat 22 3e 0a 0a 3cp 20class 3d 22red text 22 3ekitty 20ipsum 20dolor 20sit 20amet 2c 20shed 20everywhere 20shed 20everywhere 20stretching 20attack 20your 20ankles 20chase 20the 20re 20dot 2c 20hairball 20run 20catnip 20eat 20the 20grass 20sniff 3c 2fp 3e 0a 3cp 20class 3d 22red text 22 3epurr 20jump 20eat 20the 20grass 20rip 20the 20couch 20scratched 20sunbathe 2c 20shed 20everywhere 20rip 20the 20couch 20sleep 20 in 20the 20sink 20fluffy 20fur 20catnip 20scratched 3c 2fp 3e 0a have an issue user agent be mozilla 5 0 window not 6 1 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code html catphotoapp click here for cat photo kitty ipsum dolor sit amet shed everywhere shed everywhere stretch attack your ankle chase the red dot hairball run catnip eat the grass sniff purr jump eat the grass rip the couch scratch sunbathe shed everywhere rip the couch sleep in the sink fluffy fur catnip scratch |
freecodecampfreecodecamp | boilerplate for new challenge | Help Wanted | issue description I m contribute to 9412 and it take quite a while to get set up to create new challenge would be great to have a template boilerplate or generator to facilitate growth of educational material pain point wip generate unique id so mongo can seed properly no comment for what each key in the json file pertain to have to re seed on every change |
freecodecampfreecodecamp | learn nodejs | Invalid | challenge start a nodejs server have an issue user agent be mozilla 5 0 window not 6 3 wow64 applewebkit 537 36 khtml like gecko coc coc browser 55 2 126 chrome 49 2 2623 126 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible |
freecodecampfreecodecamp | responsive design challenge | Help Wanted | for the new curriculum update we need to create the follow new challenge under a new section call responsive design create a media query set a responsive breakpoint create a compound media query make an image responsive use a retina image make typography responsive other proposition for this new section will be add as separate issue and give the responsive design challenge milestone these be still open to change if you be interested in work on a specific one of these new challenge please complete the follow step 1 leave a comment on this issue with the challenge you be look to work on and I will assign you 2 try and have a pull request open with the new challenge within the next two week after you comment feel free to contribute to these and chat with we in the new responsivedesignchallenge chat room |
freecodecampfreecodecamp | apply visual design challenge | Help Wanted | for the new curriculum update we need to create the follow new challenge under a new section call apply visual design create visual balance use the text align property align text leave align text right center text justify text adjust the width of an element use the width property adjust the height of an element use the height property create a visual balance width and height property of an element element initially exist out of balance among other element adjust the width of one element relative to another element adjust the height of one element relative to another element create visual emphasis by use bold text create visual emphasis by use underline text create visual emphasis by use the italic property on text create visual emphasis by use the strikethrough property create visual emphasis by adjust the background color property of text and property of the foreground create visual emphasis by adjust the size of a header versus a paragraph tag create visual emphasis by make an card like element stand out by add a box shadow create a graphic use css learn how css keyframe work create movement use css animation learn how bezier curve work use a bezi curve to move a graphic make motion more natural use a bezi curve use css animation to change the hover state of a button add a box shadow to an element use css animation to raise a card element with a box shadow on hover increase the opacity of an element change the position of an element on its z axis use the box shadow z axis and opacity together to animate an element reuse a block of css class name to recreate an element over and over again with proper spacing in order to create pattern use a css linear gradient to create a striped element create a gradual css linear gradient use the css transform property to scale an element on hover use the css transform property skewx use the css transform property skewy create proportionality by size a header versus a paragraph tag create rhythm with css animate property create rhythm use the infinity property use an the infinity property to make a css heart beat with a steady rhythm create a vary rhythm use a vary rhythm to make star twinkle at different rate observe unity by look at site like aprilzero this be more of an exercise in understand how all the different principle of design create unity create a line use the hr element create a more complex shape use css and html create visual direction by fade in an element to the left use the css transform scale property to change the size of an element create texture by add a subtle pattern as a background image learn about complimentary color learn about tertiary color adjust the color of various element to complimentary color adjust the hue of a color adjust the tone of a color learn the importance of ratio in type learn about modular type apply different ratio to type use the font size property create a typographic style guide set the value of h1 to 68px set the value of h2 to 52px set the value of h3 to 40px set the value of h4 to 32px set the value of h5 to 21px set the value of h6 to 14px set the value of paragraph text to 16px adjust the color of an anchor tag adjust the hover state of an anchor tag adjust the font weight of header 1 5 tag adjust the line height of a paragraph until the paragraph be properly space use the text transform property to make text uppercase incorporate a google font into your header assign a google font use css other proposition for this new section will be add as separate issue and give the apply visual design challenge milestone these be still open to change if you be interested in work on a specific one of these new challenge please complete the follow step 1 leave a comment on this issue with the challenge you be look to work on and I will assign you 2 try and have a pull request open with the new challenge within the next two week after you comment feel free to contribute to these and chat with we in the new appliedvisualdesignchallenge chat room |
freecodecampfreecodecamp | challenge request css flexbox | Help Wanted | challenge name request for new challenge s issue description the current challenge in the css section do not cover css flexboxe I think flexboxe be an important css tool and should have a couple of challenge in the current css curriculum nest collapsehtml5andcss there be a detailed fcc wiki on flexboxe but it would be good to have challenge in the css curriculum newcomer to the site beginner might not necessarily reach out to the github wiki during the early stage |
freecodecampfreecodecamp | description miss algorithm detail | Help Wanted | challenge sort array with sort have an issue the description use var array 1 12 21 2 array sort function a b return a b to sort the element from small to large number but nowhere be this algorithmic concept describe |
freecodecampfreecodecamp | object orient and functional programming desperately need rewrite | Help Wanted | challenge iterate over array with map solution var 20timesfour 20 3d 20oldarray map 28function 28val 29 7b 0a 20 20return 20val 20 204 3b 0a 7d 29 3b 0a 0a 0avar 20oldarray 20 3d 20 5b1 2c2 2c3 2c4 2c5 5d 3b 0a 0a 2f 2f 20only 20change 20code 20below 20this 20line 0a 0avar 20newarray 20 3d 20oldarray 3b 0a have an issue the description of this waypoint be completely inadequate it read the map method be a convenient way to iterate through array here s an example usage var timesfour oldarray map function val return val 4 the map method will iterate through every element of the array create a new array with value that have be modify by the callback function and return it note that it do not modify the original array in our example the callback only use the value of the array element the val argument but your callback can also include argument for the index and array be act on it do not really explain the syntax what result the map method produce and require reader to speak csspeak and decipher many implicit unstate thing I be struggle to understand anything in the section object orient and functional programming not because the concept be difficult but because the lesson be poorly construct I m refer to crockford eloquent js and codeacademy to provide information write in a manner that I can understand forgive my shortness I just hope that my suggestion that this need a rewrite be take up |
freecodecampfreecodecamp | delete contribute md | Invalid | pre submission checklist x your pull request target the staging branch of freecodecamp x branch start with either fix feature or translate e g fix signin issue x you have only one commit if not squash squash multiple commit into one they into one commit x all new and exist test pass the command npm run test challenge use git commit amend to amend any fix type of change x small bug fix non break change which fix an issue x new feature non break change which add new functionality x break change fix or feature that would change exist functionality x add new translation feature add new translation checklist x test change locally x close currently open issue replace xxxx with an issue no close xxxx description |
freecodecampfreecodecamp | delete es6 shim js | Invalid | pre submission checklist your pull request target the staging branch of freecodecamp branch start with either fix feature or translate e g fix signin issue you have only one commit if not squash squash multiple commit into one they into one commit all new and exist test pass the command npm run test challenge use git commit amend to amend any fix type of change small bug fix non break change which fix an issue new feature non break change which add new functionality break change fix or feature that would change exist functionality add new translation feature add new translation checklist test change locally close currently open issue replace xxxx with an issue no close xxxx description |
freecodecampfreecodecamp | typo basic javascript replace if else chain with switch | Help Wanted | challenge replace if else chain with switch solution 0afunction 20chaintoswitch 28val 29 20 7b 0a 20 20var 20answer 20 3d 20 22 22 3b 0a 20 20 2f 2f 20only 20change 20code 20below 20this 20line 0a 20 20 0a 20 20if 20 28val 20 3d 3d 3d 20 22bob 22 29 20 7b 0a 20 20 20 20answer 20 3d 20 22marley 22 3b 0a 20 20 7d 20else 20if 20 28val 20 3d 3d 3d 2042 29 20 7b 0a 20 20 20 20answer 20 3d 20 22the 20answer 22 3b 0a 20 20 7d 20else 20if 20 28val 20 3d 3d 3d 201 29 20 7b 0a 20 20 20 20answer 20 3d 20 22there 20is 20no 20 231 22 3b 0a 20 20 7d 20else 20if 20 28val 20 3d 3d 3d 2099 29 20 7b 0a 20 20 20 20answer 20 3d 20 22missed 20me 20by 20this 20much 22 3b 0a 20 20 7d 20else 20if 20 28val 20 3d 3d 3d 207 29 20 7b 0a 20 20 20 20answer 20 3d 20 22ate 20nine 22 3b 0a 20 20 7d 0a 20 20 0a 20 20 2f 2f 20only 20change 20code 20above 20this 20line 20 20 0a 20 20return 20answer 3b 20 20 0a 7d 0a 0a 2f 2f 20change 20this 20value 20to 20test 0achaintoswitch 287 29 3b 0a 0a have a minor typo could probably be suitable as a first timer contribution typo show in screenshot I think it would make sense to rephrase if if else statement into if else if statement this would make the instruction more align with the actual syntax |
freecodecampfreecodecamp | not suppose to have pass | Help Wanted | challenge size your image solution 0a 3clink 20href 3d 22https 3a 2f 2ffonts googleapis com 2fcss 3ffamily 3dlobster 22 20rel 3d 22stylesheet 22 20type 3d 22text 2fcss 22 3e 0a 3cstyle 3e 0a 20 20 red text 20 7b 0a 20 20 20 20color 3a 20re 3b 0a 20 20 7d 0a 0a 20 20h2 20 7b 0a 20 20 20 20font family 3a 20lobster 2c 20monospace 3b 0a 20 20 7d 0a 0a 20 20p 20 7b 0a 20 20 20 20font size 3a 2016px 3b 0a 20 20 20 20font family 3a 20monospace 3b 0a 20 20 7d 0a 20 20 0a 20 20 small image 20 7b 0a 20 20 20 20width 3a 20100px 3b 0a 20 20 7d 0a 3c 2fstyle 3e 0a 0a 3ch2 20class 3d 22red text 22 3ecatphotoapp 3c 2fh2 3e 0a 0a 0a 3cimg 20class 3dsmaller image 0a 3cimg 20src 3d 22https 3a 2f 2fbit ly 2ffcc relax cat 22 3e 0a 0a 3cp 20class 3d 22red text 22 3ekitty 20ipsum 20dolor 20sit 20amet 2c 20shed 20everywhere 20shed 20everywhere 20stretching 20attack 20your 20ankles 20chase 20the 20re 20dot 2c 20hairball 20run 20catnip 20eat 20the 20grass 20sniff 3c 2fp 3e 0a 3cp 20class 3d 22red text 22 3epurr 20jump 20eat 20the 20grass 20rip 20the 20couch 20scratched 20sunbathe 2c 20shed 20everywhere 20rip 20the 20couch 20sleep 20 in 20the 20sink 20fluffy 20fur 20catnip 20scratched 3c 2fp 3e 0a have an issue user agent be mozilla 5 0 window not 6 2 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code html catphotoapp kitty ipsum dolor sit amet shed everywhere shed everywhere stretch attack your ankle chase the red dot hairball run catnip eat the grass sniff purr jump eat the grass rip the couch scratch sunbathe shed everywhere rip the couch sleep in the sink fluffy fur catnip scratch |
freecodecampfreecodecamp | problem with the description text | Help Wanted | challenge record collection solution 0a 2f 2f 20setup 0avar 20collection 20 3d 20 7b 0a 20 20 20 202548 3a 20 7b 0a 20 20 20 20 20 20album 3a 20 22slippery 20when 20wet 22 2c 0a 20 20 20 20 20 20artist 3a 20 22bon 20jovi 22 2c 0a 20 20 20 20 20 20tracks 3a 20 5b 20 0a 20 20 20 20 20 20 20 20 22let 20it 20rock 22 2c 20 0a 20 20 20 20 20 20 20 20 22you 20give 20love 20a 20bad 20name 22 20 0a 20 20 20 20 20 20 5d 0a 20 20 20 20 7d 2c 0a 20 20 20 202468 3a 20 7b 0a 20 20 20 20 20 20album 3a 20 221999 22 2c 0a 20 20 20 20 20 20artist 3a 20 22prince 22 2c 0a 20 20 20 20 20 20tracks 3a 20 5b 20 0a 20 20 20 20 20 20 20 20 221999 22 2c 20 0a 20 20 20 20 20 20 20 20 22little 20re 20corvette 22 20 0a 20 20 20 20 20 20 5d 0a 20 20 20 20 7d 2c 0a 20 20 20 201245 3a 20 7b 0a 20 20 20 20 20 20artist 3a 20 22robert 20palmer 22 2c 0a 20 20 20 20 20 20tracks 3a 20 5b 20 5d 0a 20 20 20 20 7d 2c 0a 20 20 20 205439 3a 20 7b 0a 20 20 20 20 20 20album 3a 20 22abba 20gold 22 0a 20 20 20 20 7d 0a 7d 3b 0a 2f 2f 20keep 20a 20copy 20of 20the 20collection 20for 20tests 0avar 20collectioncopy 20 3d 20json parse 28json stringify 28collection 29 29 3b 0a 0a 2f 2f 20only 20change 20code 20below 20this 20line 0a 0afunction 20updaterecords 28id 2c 20prop 2c 20value 29 20 7b 0a 20 20if 20 28value 20 3d 3d 20 22 22 20 26 26 20prop 20 3d 3d 20 22tracks 22 29 20 7b 0a 20 20 20 20collection 5bid 5d 5bprop 5d 20 3d 20value 3b 0a 20 20 7d 20else 20if 20 28prop 20 3d 3d 3d 20 22tracks 22 20 26 26 20value 20 3d 3d 20 22 22 29 20 7b 0a 20 20 20 20 2f if 28collection 5bid 5d hasownproperty 28prop 29 29 0a 20 20 20 20 20 20collection 5bid 5d 5bprop 5d push 28value 29 3b 0a 20 20 20 20else 0a 20 20 20 20 20 20collection 5bid 5d 5bprop 5d 3d 5bvalue 5d 3b 0a 20 20 20 20 2f 2fcollection 5bid 5d 5bprop 5d push 28value 29 3b 2f 0a 20 20 20 20collection 5bid 5d 5bprop 5d 3d 5bvalue 5d 3b 0a 20 20 7d 20else 20if 20 28value 20 3d 3d 3d 20 22 22 29 20 7b 0a 20 20 20delete 20collection 5bid 5d 5bprop 5d 3b 0a 20 20 7d 0a 0a 20 20return 20collection 3b 0a 7d 0a 0a 0a 0a 2f 2f 20alter 20values 20below 20to 20test 20your 20code 0aupdaterecords 282548 2c 20 22tracks 22 2c 20 22abba 22 29 3b 0a 0a have an issue user agent be mozilla 5 0 window not 6 2 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible instruction in description text javascript for the give i d in collection if prop do not contain the key track then update or set the value for that incomplete prop if prop do not contain the key track before you update it create an empty array before push a track to it if prop do contain the key track and its value be non blank then push the value onto the end of its exist track array if value be blank delete that prop its just a sugesstion because your instruction specially 3rd line be confuse a lot of people so I think you should change it your third line should be something like if the concerned object do not contain the key track then update it by create an empty array before push a track to it because you only want to update when prop contain the value key but the concerned object doesn t have the track property |
freecodecampfreecodecamp | trigger google analytic event when navbar chat button click | Help Wanted | we be try to figure out how frequently the navbar chat button be click |
freecodecampfreecodecamp | about page shop link should open a new page | Help Wanted | please edit this line l170 in server view resource about jade the shop link should open a new page when click similar to the link to quincey s quora page be sure to follow the contributor s guide if you need any help head over to the helpcontributor chat room good luck and thank for contribute tada |
freecodecampfreecodecamp | challenge that need an output to the user need to be wrap in console log | Help Wanted | the new challenge framework will no long automatically infer the output of a challenge these challenge will need to have their final statement wrap in a console log this can be do in parallel with the beta release for example this output the the return of factorialize 5 to the output box in the old framework not in the new js function factorialize num return num factorialize 5 it should explicitly output to console like so js function factorialize num return num console log factorialize 5 most javascript algorithm challenge will need to be update this can be do now without any adverse effect on the current site |
freecodecampfreecodecamp | freecodecamp issue template a suggestion | Help Wanted | under the title your code there s a place for paste js code html your code js if relevant paste all of your challenge code in here note that the comment if relevant paste all of your challenge code in here should be before the js code apostrophe |
freecodecampfreecodecamp | facebook target | Help Wanted | all social medium link on about page be target blank except facebook edit this line l80 in server view resource about jade to make the link open in a new window like the other social medium link be sure to follow the contributor s guide if you need any help head over to the helpcontributor chat room good luck and thank for contribute tada |
freecodecampfreecodecamp | shop target | Help Wanted | shop be target blank on some page front page map and not on other profile about please edit this line l27 in server view partial navbar jade so that the shop link open a new page when click just like the forum link be sure to follow the contributor s guide if you need any help head over to the helpcontributor chat room good luck and thank for contribute tada |
freecodecampfreecodecamp | request header parser microservice video break | Help Wanted | challenge request header parser microservice have an issue user agent be mozilla 5 0 window not 6 1 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible hi link to video be break think its miss an in the parameter v here be a link to screenshot and the link to youtube working video regard |
freecodecampfreecodecamp | link break to introduce javascript object notation json | Help Wanted | challenge record collection have an issue user agent be mozilla 5 0 x11 linux x86 64 applewebkit 537 36 khtml like gecko ubuntu chromium 50 0 2661 102 chrome 50 0 2661 102 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code javascript setup var collection 2548 album slippery when wet artist bon jovi track let it rock you give love a bad name 2468 album 1999 artist prince track 1999 little red corvette 1245 artist robert palmer track 5439 album abba gold keep a copy of the collection for test var collectioncopy json parse json stringify collection only change code below this line function updaterecord i d prop value if prop track return collection alter value below to test your code updaterecord 5439 artist abba |
freecodecampfreecodecamp | unable to view repeat a string challenge solution | Help Wanted | challenge name issue description this challenge have a naming issue in the archive of challenge solution keep in the user s profile the name can be see as repeat a string repeat a string and click view solution result in a challenge not find page as it be apparently search for the bogus title which should be simply repeat a string step to reproduce 1 view a camper s profile who have complete the repeat a string challenge for example mine I have confirm this happen on other camper s profile as well example 1 example 2 2 locate the challenge entry under algorithm for repeat a string repeat a string 3 click view solution browser information browser name version chromium version 50 0 2661 102 operating system ubuntu 14 04 64 bit mobile desktop or tablet desktop screenshot the bad title bad challenge title the page that result from attempt to view solution can not find challenge |
freecodecampfreecodecamp | get geolocation datum jquery selector with single quote win t pass | Help Wanted | challenge get geolocation datum solution 0afccss 0a 20 20 2f 2f 20only 20change 20code 20below 20this 20line 0aif 20 28navigator geolocation 29 20 7b 0a 20 20navigator geolocation getcurrentposition 28function 28position 29 20 7b 0a 20 20 20 20 24 28 22 23data 22 29 html 28 22latitude 3a 20 22 20 2b 20position coord latitude 20 2b 20 22 3cbr 3elongitude 3a 20 22 20 2b 20position coord longitude 29 3b 0a 20 20 7d 29 3b 0a 7d 0a 0a 20 20 2f 2f 20only 20change 20code 20above 20this 20line 0afcces 0a 3cdiv 20id 20 3d 20 22data 22 3e 0a 20 20 3ch4 3eyou 20are 20here 3a 3c 2fh4 3e 0a 20 20 0a 3c 2fdiv 3e 0a have an issue user agent be mozilla 5 0 x11 linux x86 64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code html you be here the code be 99 similar with the give example code except the single quote of jquery selector if I change datum to datum the last test case you should display the user position within the datum div element can be pass single quote for string can be pass this seem only happen for jquery selector |
freecodecampfreecodecamp | track in record collection object need quotation | Help Wanted | challenge record collection solution have an issue user agent be mozilla 5 0 window not 6 1 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible track should be in quotation this line l4540 need to be change screenshot image |
freecodecampfreecodecamp | introduce javascript object notation json doesn t exist | Bug | screenshot result in image description this be due to a recent pull request merge by bouncey where the name be change from introduce javascript object notation json to manipulate complex object 9144 note this be an urgent matter as this challenge can t be access currently to contributor the new link can be find here cc bouncey raisedadead |
freecodecampfreecodecamp | referenceerror stringify be not define | Bug | challenge record collection solution 0a 2f 2f 20setup 0avar 20collection 20 3d 20 7b 0a 20 20 20 20 222548 22 3a 20 7b 0a 20 20 20 20 20 20 22album 22 3a 20 22slippery 20when 20wet 22 2c 0a 20 20 20 20 20 20 22artist 22 3a 20 22bon 20jovi 22 2c 0a 20 20 20 20 20 20tracks 3a 20 5b 20 0a 20 20 20 20 20 20 20 20 22let 20it 20rock 22 2c 20 0a 20 20 20 20 20 20 20 20 22you 20give 20love 20a 20bad 20name 22 20 0a 20 20 20 20 20 20 5d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 222468 22 3a 20 7b 0a 20 20 20 20 20 20 22album 22 3a 20 221999 22 2c 0a 20 20 20 20 20 20 22artist 22 3a 20 22prince 22 2c 0a 20 20 20 20 20 20 22tracks 22 3a 20 5b 20 0a 20 20 20 20 20 20 20 20 221999 22 2c 20 0a 20 20 20 20 20 20 20 20 22little 20re 20corvette 22 20 0a 20 20 20 20 20 20 5d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 221245 22 3a 20 7b 0a 20 20 20 20 20 20 22artist 22 3a 20 22robert 20palmer 22 2c 0a 20 20 20 20 20 20 22tracks 22 3a 20 5b 20 5d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 225439 22 3a 20 7b 0a 20 20 20 20 20 20 22album 22 3a 20 22abba 20gold 22 0a 20 20 20 20 7d 0a 7d 3b 0a 2f 2f 20keep 20a 20copy 20of 20the 20collection 20for 20tests 0avar 20collectioncopy 20 3d 20json parse 28stringify 28collection 29 29 3b 0a 0a 2f 2f 20only 20change 20code 20below 20this 20line 0afunction 20updaterecords 28id 2c 20prop 2c 20value 29 20 7b 0a 20 20 0a 20 20 20 20if 20 28value 20 3d 3d 3d 20 22 22 29 20 7b 0a 20 20 20 20 20 20delete 20collection 5bid 5d 5bprop 5d 3b 0a 20 20 20 20 7d 20else 20 7b 0a 20 20 20 20 20 20if 20 28prop 20 3d 3d 3d 20 22tracks 22 29 20 7b 0a 20 20 20 20 20 20 20 20collection 5bid 5d 5bprop 5d push 28value 29 3b 20 20 0a 20 20 20 20 20 20 7d 20else 20 7b 0a 20 20 20 20 20 20 20 20collection 5bid 5d 5bprop 5d 20 3d 20value 3b 0a 20 20 20 20 20 20 7d 20 20 20 20 20 20 0a 20 20 20 20 7d 0a 20 20 0a 20 20return 20collection 3b 0a 7d 0a 0a 2f 2f 20alter 20values 20below 20to 20test 20your 20code 0aupdaterecords 285439 2c 20 22artist 22 2c 20 22abba 22 29 3b 0a 0a have an issue user agent be mozilla 5 0 window not 10 0 wow64 applewebkit 537 36 khtml like gecko chrome 51 0 2704 84 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code javascript setup var collection 2548 album slippery when wet artist bon jovi track let it rock you give love a bad name 2468 album 1999 artist prince track 1999 little red corvette 1245 artist robert palmer track 5439 album abba gold keep a copy of the collection for test var collectioncopy json parse stringify collection only change code below this line function updaterecord i d prop value return collection alter value below to test your code updaterecord 5439 artist abba |
freecodecampfreecodecamp | nothing happen and hint disappear when I hit run test | Bug | challenge target the same element with multiple jquery selector solution 0afccss 0a 20 20 24 28document 29 ready 28function 28 29 20 7b 0a 20 20 24 28 22button 22 29 addclass 28animated 29 3b 0a 20 20 24 28 22 btn 22 29 addclass 28shake 29 3b 0a 20 20 24 28 22 23target1 22 29 addclass 28btn primary 29 3b 0a 20 20 7d 29 3b 0afcce 0a 0a 3c 20only 20change 20code 20above 20this 20line 20 3e 0a 0a 3cdiv 20class 3d 22container fluid 22 3e 0a 20 20 3ch3 20class 3d 22text primary 20text center 22 3ejquery 20playground 3c 2fh3 3e 0a 20 20 3cdiv 20class 3d 22row 22 3e 0a 20 20 20 20 3cdiv 20class 3d 22col xs 6 22 3e 0a 20 20 20 20 20 20 3ch4 3e 23left well 3c 2fh4 3e 0a 20 20 20 20 20 20 3cdiv 20class 3d 22well 22 20id 3d 22left well 22 3e 0a 20 20 20 20 20 20 20 20 3cbutton 20class 3d 22btn 20btn default 20target 22 20id 3d 22target1 22 3e 23target1 3c 2fbutton 3e 0a 20 20 20 20 20 20 20 20 3cbutton 20class 3d 22btn 20btn default 20target 22 20id 3d 22target2 22 3e 23target2 3c 2fbutton 3e 0a 20 20 20 20 20 20 20 20 3cbutton 20class 3d 22btn 20btn default 20target 22 20id 3d 22target3 22 3e 23target3 3c 2fbutton 3e 0a 20 20 20 20 20 20 3c 2fdiv 3e 0a 20 20 20 20 3c 2fdiv 3e 0a 20 20 20 20 3cdiv 20class 3d 22col xs 6 22 3e 0a 20 20 20 20 20 20 3ch4 3e 23right well 3c 2fh4 3e 0a 20 20 20 20 20 20 3cdiv 20class 3d 22well 22 20id 3d 22right well 22 3e 0a 20 20 20 20 20 20 20 20 3cbutton 20class 3d 22btn 20btn default 20target 22 20id 3d 22target4 22 3e 23target4 3c 2fbutton 3e 0a 20 20 20 20 20 20 20 20 3cbutton 20class 3d 22btn 20btn default 20target 22 20id 3d 22target5 22 3e 23target5 3c 2fbutton 3e 0a 20 20 20 20 20 20 20 20 3cbutton 20class 3d 22btn 20btn default 20target 22 20id 3d 22target6 22 3e 23target6 3c 2fbutton 3e 0a 20 20 20 20 20 20 3c 2fdiv 3e 0a 20 20 20 20 3c 2fdiv 3e 0a 20 20 3c 2fdiv 3e 0a 3c 2fdiv 3e 0a have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 11 5 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code html jquery playground leave well target1 target2 target3 right well target4 target5 target6 |
freecodecampfreecodecamp | comment if else doesn t compile the code | Help Wanted | challenge replace if else chain with switch solution 0afunction 20chaintoswitch 28val 29 20 7b 0a 20 20var 20answer 20 3d 20 22 22 3b 0a 20 20 2f 2f 20only 20change 20code 20below 20this 20line 0a 20 20 0a 20 20 0a 20 20switch 28val 29 20 7b 0a 20 20 20 20case 20 22bob 22 3a 0a 20 20 20 20 20 20answer 20 3d 20 22marley 22 3b 0a 20 20 20 20 20 20break 3b 0a 20 20 20 20case 2042 3a 0a 20 20 20 20 20 20answer 20 3d 20 22the 20answer 22 3b 0a 20 20 20 20 20 20break 3b 0a 20 20 20 20case 201 3a 0a 20 20 20 20 20 20answer 20 3d 20 22there 20is 20no 20 231 22 3b 0a 20 20 20 20 20 20break 3b 0a 20 20 20 20case 2099 3a 0a 20 20 20 20 20 20answer 20 3d 20 22missed 20me 20by 20this 20much 22 3b 0a 20 20 20 20 20 20break 3b 0a 20 20 20 20case 207 3a 0a 20 20 20 20 20 20answer 20 3d 20 22ate 20nine 22 3b 0a 20 20 20 20 20 20break 3b 0a 20 20 7d 0a 20 20 2f 2f 20only 20change 20code 20above 20this 20line 20 20 0a 20 20return 20answer 3b 20 20 0a 7d 0a 0a 2f 2f 20change 20this 20value 20to 20test 0achaintoswitch 287 29 3b 0a 0a have an issue user agent be mozilla 5 0 macintosh intel mac os x 10 10 5 applewebkit 537 36 khtml like gecko chrome 51 0 2704 103 safari 537 36 please describe how to reproduce this issue and include link to screenshot if possible my code javascript function chaintoswitch val var answer only change code below this line if val bob answer marley else if val 42 answer the answer else if val 1 answer there be no 1 else if val 99 answer miss I by this much else if val 7 answer eat nine switch val case bob answer marley break case 42 answer the answer break case 1 answer there be no 1 break case 99 answer miss I by this much break case 7 answer eat nine break only change code above this line return answer change this value to test chaintoswitch 7 |
freecodecampfreecodecamp | join our linkedin alumnus network challenge incorrect | Help Wanted | challenge name issue description the challenge say to add full stack web development certification for the degree input upon go to linkedin it be apparent that the degree portion for add a school be not an input maybe your example be outdate but a drop down that definitely do not include full stack web development certification browser information browser name version google chrome late operating system window 10 mobile desktop or tablet desktop screenshot degreedropdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.