Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 2020 20:09
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
Haseeb Arshad
@haseebuchiha
@SkyCoder01 I need advice on weather I should skip this or not
Gulsvi
@gulsvi
@achudoz Unfortunately, you have to make two API calls for every user. It can be combined into one function by doing one getJSON and then another in the callback of the first
bilu-Blen
@bilu-Blen
@haseebuchiha @ArashDai Thanks for your help @SkyCoder01 it worked, thanks a lot for your help. :smile:
CamperBot
@camperbot
bilu-blen sends brownie points to @haseebuchiha and @arashdai and @skycoder01 :sparkles: :thumbsup: :sparkles:
:cookie: 159 | @arashdai |http://www.freecodecamp.com/arashdai
:cookie: 292 | @skycoder01 |http://www.freecodecamp.com/skycoder01
:warning: bilu-blen already gave haseebuchiha points
Haseeb Arshad
@haseebuchiha
@SkyCoder01 Please guide me on what I should do :worried:
Gulsvi
@gulsvi
@haseebuchiha You have to make your own choice :) I don't know where you're at with your studies. You can do the challenges in any order and always go back to do them in order later if you change your mind.
Nothing is permanent :)
achudoz
@achudoz
@SkyCoder01 Ok, that's what I was afraid of. Well, off to the land of excessive code I go! :D Thanks for the info
CamperBot
@camperbot
achudoz sends brownie points to @skycoder01 :sparkles: :thumbsup: :sparkles:
:cookie: 293 | @skycoder01 |http://www.freecodecamp.com/skycoder01
Gulsvi
@gulsvi
@achudoz Also, not sure if you're aware that you don't need an API key. You can use FreeCodeCamp's mirror
Haseeb Arshad
@haseebuchiha
@SkyCoder01 You da best man. Thanks A LOOOOOTTT!!!
CamperBot
@camperbot
haseebuchiha sends brownie points to @skycoder01 :sparkles: :thumbsup: :sparkles:
:warning: haseebuchiha already gave skycoder01 points
achudoz
@achudoz
@SkyCoder01 I know, But I managed to find one and it feels cleaner to go to the source
Ghost
@ghost~589bb2dad73408ce4f490e7b
Hi! can someone help me with the fontawesome cdn link?
Arash D
@ArashDai
so im a bit confused
i have this error:Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
so i added these headers to my request
headers: {
"Access-Control-Allow-Origin": '*',
"Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Accept"
}
am i on the right path?
Tyler Moeller
@TylerMoeller
@ArashDai What API are you trying to use?
Arash D
@ArashDai
the wikipedia viewer, it works fine when i paste it into my url bar
well thats the base url
thats a search for starwars
Tyler Moeller
@TylerMoeller
@ArashDai This Stack Overflow Answer should help you out: http://stackoverflow.com/a/38921370
Arash D
@ArashDai
god damn it
thank you
Tyler Moeller
@TylerMoeller
When I hit an error with a free code camp project, I usually search for "Stack Overflow" "Error text in quotes" "Free Code Camp" :)
Jason Luboff
@JLuboff
@TylerMoeller Hey Tyler, whats the easiest way to make two equal width columns using CSS? I can do it easily with Bootstrap, but trying to avoid using it
Tyler Moeller
@TylerMoeller
@JLuboff Hmm, width: 50% isn't working?
Arash D
@ArashDai
so if im understanding this properly some api's just require this? i dont remember ever running into this before
Tyler Moeller
@TylerMoeller
@ArashDai I think it's up to how the server is configured, a lot of APIs handle it differently
Arash D
@ArashDai
ok cool
Jason Luboff
@JLuboff
@TylerMoeller No..I tried it..but let me check something real quickl
mscirocco8
@mscirocco8
hey guys I'm using <nav> in my html text (bootstrap is enabled) and am trying the examples I see online and none of them work? how do I do a navbar?
Mois├ęs Man
@moigithub
@mscirocco8 u need to check IF the examples are for bootstrap v.3 or v.4
and use the corresponding library
also .. if the component u using on the example..is dynamic.. u will need to add the bootstrap JS library too
Tyler Moeller
@TylerMoeller
@JLuboff Lots of things can get in the way, like borders, padding, margin, collapsing margins. Might have to use width: calc(50% - 2px) or something like that. For example:
<style>
.column {
  float: left;
  width: calc(50% - 2px);
  height: 200px;
  border: 1px solid black;
}
</style>
<div class="column"></div>
<div class="column"></div>
The 2px accounts for the 1px border on each
mscirocco8
@mscirocco8
@moigithub cool ty
CamperBot
@camperbot
mscirocco8 sends brownie points to @moigithub :sparkles: :thumbsup: :sparkles:
:star2: 2723 | @moigithub |http://www.freecodecamp.com/moigithub
Tyler Moeller
@TylerMoeller
Or, if you want them to be equal width within a container with a fixed width:
<style>
  .wrapper {
    width: 400px;
  }
  .column {
    float: left;
    width: calc(50% - 2px);
    height: 200px;
    border: 1px solid black;
  }
</style>
<div class="wrapper">
  <div class="column"></div>
  <div class="column"></div>
</div>
Jason Luboff
@JLuboff
@TylerMoeller Let me ask this..I placed both div's inside of another div. I gave the parent a width of 700px. Then the child a width of 50%. I do have some padding both bottom and top, but I don't think any right/left padding..I'll have to look closer
@TylerMoeller Genius. I think its the float: left; that fixed it :+1: Thanks