Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
chompoo500ml
@chompoo500ml
because onkeypress might not send key number in event with some browser as mine is firefox
when i tested your pen the api never called; cuz 13 key never fired
calling wiki api might be tricky cuz i am not familiar with; and i think many people in FCC who passed that quest can share how they work with you further; then you might need to wait ;p
Thomas Tylek
@zippkidd
@Amasian I think you need to request JSONP, not JSON, otherwise You end up with that CORS error
@Amasian , take a look at mine on codepen: https://codepen.io/zippkidd/pen/EQRrmQ
It's a little rough around the edges, but the API requests work
coderNewby
@coderNewby
@darrenfj thanks for replying to my PM
CamperBot
@camperbot
codernewby sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2470 | @darrenfj |http://www.freecodecamp.org/darrenfj
tundeiness
@tundeiness

i need help her please...

pre.innerHTML += "<div class='row listing'><div class='col-sm-3 logo'><img class = 'img-responsive src=' " + data.logo +  " '></div>" + "<div class='row text'>
            <div class='col-sm-12 name'><p><a href=" ' + data.url + ' " target = "_blank">  + data.display_name + "</a></p></div><div class='row status'>
            <div class='col-sm-12 worx'><p class='neon'>ON-AIR</p></div>
         </div>
         </div></div>"

i want to turn these html element into strings

Jefferson
@jeffersonnnn
hi guys, i need help rendering a fresh call to an API housed in another component onClick. Can i get help, please?
Jefferson
@jeffersonnnn
okay okay, what about a guide on how to change state to trigger an api call in reactjs? Help? Anybody?
Michael Grienauer
@mgrienauer
https://mgrienauer.github.io/twitch_streamers/ what do you guys think of my twitch streamers project? any feedback is welcome...i know in chrome the search button isnt color filling properly but cant figure out why
chompoo500ml
@chompoo500ml
@mgrienauer very interesting project
Aditya
@ezioda004
@mgrienauer To fix the search button, you can remove height: 100% from .btn and add
.btn {
   align-self: stretch;
}
Michael Grienauer
@mgrienauer
@ezioda004 ok, that worked. Awesome haha ive been trying to figure that out for a while. thanks!
CamperBot
@camperbot
mgrienauer sends brownie points to @ezioda004 :sparkles: :thumbsup: :sparkles:
:cookie: 544 | @ezioda004 |http://www.freecodecamp.org/ezioda004
Su yang
@gitchimera
new world ~
mustimuu
@mustimuu
Hello can someone help me out?
i want my menu to float to the right, but it doesent work
Ken Haduch
@khaduch
@mgrienauer - your twitch streamer project is nice! I don't know why it wasn't obvious to me at first who was online or offline at first glance. After selecting them via the buttons then I saw it. It might be because most of the screen was occupied by offline (all the same color) users. One thing that would be a nice touch is if you could just add the functionality to have the "Enter" key trigger the search.
I just tried one random string in the search box and it found nothing and returned no indication, although in the devtools console there was a 404 error displayed. It would be good to handle that error and display a status in some way? All-in-all it's a nice implementation of that project!
mustimuu
@mustimuu
Hello
Can someone help me with something in wordpress?
CamperBot
@camperbot
amasian sends brownie points to @chompoo500ml :sparkles: :thumbsup: :sparkles:
creator0323
@Amasian
@chompoo500ml OMG thank you so much for your kind advice! it was so helpful! Now I will keep working on my project! thank you again!
CamperBot
@camperbot
:cookie: 71 | @chompoo500ml |http://www.freecodecamp.org/chompoo500ml
creator0323
@Amasian
@zippkidd yeah when I examine some CORS articles, I studied that concept too! but I did not consider it because they said it is not a complete tool. but I think I need to be more flexible occasionally lol thank you for your advice and reply!
CamperBot
@camperbot
amasian sends brownie points to @zippkidd :sparkles: :thumbsup: :sparkles:
api offline
chompoo500ml
@chompoo500ml
@Amasian yvw!
Michael Grienauer
@mgrienauer
@khaduch thanks ken. yea i tried working in a sort algorithm to show the online players first but it was getting messy so i decided it was necessary lol. ill try to add something to handle those errors and maybe highlight the search box as red if the player isnt found
CamperBot
@camperbot
mgrienauer sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3895 | @khaduch |http://www.freecodecamp.org/khaduch
Thomas Tylek
@zippkidd
@mgrienauer , very nice project. You've inspired me for my own twitch streamer app
Michael Grienauer
@mgrienauer
@zippkidd thats awesome, thanks for the praise! good luck on your project!
CamperBot
@camperbot
mgrienauer sends brownie points to @zippkidd :sparkles: :thumbsup: :sparkles:
api offline
Marc
@MWBauer
Hey guys/gals. Can I get a clue as to how to call something onto my page?
hr.style-seven { overflow: visible; /* For IE */ height: 30px; border-style: solid; border-color: black; border-width: 1px 0 0 0; border-radius: 20px; } hr.style-seven:before { /* Not really supposed to work, but does */ display: block; content: ""; height: 30px; margin-top: -31px; border-style: solid; border-color: black; border-width: 0 0 1px 0; border-radius: 20px; }
hr.style-seven { overflow: visible; /* For IE */ 
height: 30px; 
border-style: solid; 
border-color: black; 
border-width: 1px 0 0 0;
 border-radius: 20px; } 
hr.style-seven:before { /* Not really supposed to work, but does */ 
display: block; 
content: "";
 height: 30px; 
margin-top: -31px; 
border-style: solid;
 border-color: black;
 border-width: 0 0 1px 0;
 border-radius: 20px; }
I mostly understand what's being done here, but how do call that to be my <hr/> ?
Jefferson
@jeffersonnnn
can i get perf optimisation tips for my react sample app?
Marc
@MWBauer
Aint no one here
Marc
@MWBauer
gonna go play with VirtualBox
br3ntor
@br3ntor
is it just me or did the main fcc chat room disapear?
niniyzni
@niniyzni

Hi,

  • I am new to js.
  • I am trying to iterate json structure.
  • when I see isDefault: true, I need to show as a default name.
  • I tried but right now I am getting an error .
  • can you tell me how to fix it.
  • providing my relevant code below.
  • code is very big so I am pasting in gist
    https://gist.github.com/niniyzni/5c19f385b35f9418086125799803efe7

TypeError: sportsRecord.find is not a function
at birdLionUpdate.setTigers (bird-Lion-update.ts:981)
at SafeSubscriber.eval [as _next] (bird-Lion-update.ts:367)

setTigers(sportsRecord: any) {

    let that = this;
    let tempObj = {};
    //tempObj['TigerNo'] = 237;
    //tempObj['Lion'] = getDefault(playermoons).Lion

   // tempObj['TigerNo'] = this.getDefault(sportsRecord).TigerNo;
    let defauktTigerNOsportsRecord =  sportsRecord.find((elem) => { return elem.isDefault; });




    tempObj['TigerNo'] = sportsRecord.playerTigers[0].TigerNo;
    tempObj['TigerName'] = 'Nail Sports Bay Area';
    // tempObj['TigerNo'] = sportsRecord.selectedTigerNo;
    // tempObj['TigerName'] = sportsRecord.selectedTigerName;
    this.TigerTempArray = [];
    this.TigerTempArray.push(tempObj);
    let TigerssportsRecord = sportsRecord.playerTigers;
    let TigerssportsRecordList = this.TigerTempArray;
    let selectedTiger = TigerssportsRecord.find(elem => elem.TigerNo == 237);
    this.playerLionUpdateVal.TigerNo = 237;
    // let selectedTiger = TigerssportsRecord.find(elem => elem.TigerNo == sportsRecord.selectedTigerNo);
    // this.LionCreateVal.TigerNo = sportsRecord.selectedTigerNo;
    this.selectedTigerArr = selectedTiger;
    this.TigerCarousel.setTigersportsRecord(TigerssportsRecord, TigerssportsRecordList, 237);
    //this.TigerCarousel.setTigersportsRecord(TigerssportsRecord, TigerssportsRecordList, sportsRecord.selectedTigerNo);
    $("#TigerCarouselLabel .TigerHint").css("display", "none");
    setTimeout(function () {
        $("#unSelectedTigersLogoBox1 .currentNwLogo").bind("click", function (e) {
            e.stopPropagation();
            that.singleSelection(sportsRecord, e);
        });
    }, 100);
}T
DerMann97
@DerMann97
Hello guys !
DerMann97
@DerMann97
is there a software engineer here ?
Ken Haduch
@khaduch
@br3ntor - hello, I just saw your note. They did disband the main freeCodeCamp chatroom. I don't know if I've seen a reason, maybe it was just not too productive in terms of discussion of programming problems? It did seem to be a popular room, but oftentimes it did seem to be fast and free-flowing conversations about a wide variety of topics, not strictly related to the freeCodeCamp lessons, challenges or projects.