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
Coy Sanders
@coymeetsworld
looks clean @Danderson1603
maybe put a little space between the main picture and description above but besides that looks good to me
Salomon
@zarruk
@jdtdesigns Thanks for your help! However, what I want to know is how you did for the elements to be in the center
CamperBot
@camperbot
:cookie: 883 | @jdtdesigns |http://www.freecodecamp.com/jdtdesigns
zarruk sends brownie points to @jdtdesigns :sparkles: :thumbsup: :sparkles:
Salomon
@zarruk
@jdtdesigns ok nevermind, i already found out
hernanfinucci
@hernanfinucci
heyy guys im doing the build a quote generator and i dont know if im supposed to write 300 quotes or there is an algorithm or something
does someone know im really stuck
Tom
@moT01
@hernanfinucci use a quote api, -it will give you a random quote from their site
check out quotesondesign.com --check out their api docs, they give a pretty good explanation on how to use it
Karla N Aguilar
@knaguilar
hey guys! So I'm about to start the Local Weather Project and I was just wondering if anyone knew whether the best way to tackle this project is to use a weather api or if there is a simpler way like by grabbing the geolocation and somehow finding out the weather? Thanks :)
Tyler Moeller
@TylerMoeller
@Toffanelly If you have your codepen loaded via https:// you cannot call an API over HTTP. If you want to use Open Weather Map over HTTPS, you have to pay :( so it's best to use a different weather API, a different location API, or both: https://forum.freecodecamp.com/t/show-the-local-weather-openweathermap-warning/60292
:point_up: January 24, 2017 1:00 PM
@nikkilr88 You'll have to right-click the page and select "view source" to see how they are incorporating bootstrap.
@vberrios To use font awesome, do this:
<!DOCTYPE html>
<html >
  <head>
   <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
  </head>
  <body>
  </body>
</html>
Tyler Moeller
@TylerMoeller
@artoodeeto No, bootstrap doesn't make it so you don't media queries.
It really depends on what you want to do - bootstrap mainly helps with the responsive grid, which takes care of some of the media query logic. Take a look at their .css file to see what they do: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css
@knaguilar Depending on the weather API you use, you'll likely have to get the location first, and then get the weather using the location. To avoid headaches, choose a weather API that supports HTTPS, like Weather Underground, Apixu, or Dark Sky.
Salomon
@zarruk
@zarruk
Does anybody know why my variables are not being displayed? https://codepen.io/zarruk/pen/VPWrWL?editors=1010
for example, after $(".defTiempo").html(definirTiempo);, definirTiempo is not being displayed in the defTiempo class div
Coy Sanders
@coymeetsworld
typo @zarruk var definirTiempo: "4";
Jessi L Wasell
@JessiW
Hi - I'm needing some help with a DataViz React project - but there doesn't seem to be anyone in that room - could someone help me?
I'm working on my Camper Leaderboard - and right now I'm trying to get just one username to display on the page at the moment to test my code. Problem is its not displaying on the page and I'm not sure why. I don't have any errors to show me why.
Here's my pen if anyone would like to take a look:
Salomon
@zarruk
@coymeetsworld argggghh hahahaha i was having a tough time. thanks!
CamperBot
@camperbot
zarruk sends brownie points to @coymeetsworld :sparkles: :thumbsup: :sparkles:
:star2: 1923 | @coymeetsworld |http://www.freecodecamp.com/coymeetsworld
Jessi L Wasell
@JessiW
I wondered if things are rendering before its received the info from the API - but I kind of don't think so because I can console.log() any of the info and get it back from the API in the console.
Tyler Moeller
@TylerMoeller
blob
@JessiW I haven't started looking at your code yet, but what are you trying to do with these resources?
Plus, you have html, head, and body tags in your html - codepen can do some odd things if you include those.
Jessi L Wasell
@JessiW
Well, I don't really need the jquery library anymore - I had been working with jquery until another camper told me that wasn't a good idea to do with react - I'll remove that one and come back - hold on.
@TylerMoeller
Okay - its removed - anyway - I had the non minified version of react in there to get more descriptive error messages
I eventually planned on taking all but minified out for the finished product - the non-minified versions are just there for debugging purposes right now - does that make sense?
@TylerMoeller
Tyler Moeller
@TylerMoeller
Yes, I just saw both minified and uniminifed, from different sources and thought you might want to clean it up before debugging further
Jessi L Wasell
@JessiW
Well, they are actually there for debugging - should I take the non-minified out now?
@TylerMoeller
Tyler Moeller
@TylerMoeller
@JessiW From what I know, you shouldn't use the minified react and react-dom until you are finished with the code
Jessi L Wasell
@JessiW
okay - I'll take it out and we'll see what happens then :) @TylerMoeller
Tyler Moeller
@TylerMoeller
Hopefully, it provides some meaningful message :)
I will try to take a look in a bit - just noticed that right away as I was going to eat dinner :pizza:
Salomon
@zarruk
would you guys use the setInterval() function for the pomodoro clock project?
Jessi L Wasell
@JessiW
okay just the non-minified there now.... I have no error tho! okay - Thank you and have a great dinner :) @TylerMoeller
CamperBot
@camperbot
jessiw sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:star2: 1403 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
Tom
@moT01
@zarruk i think thats what i used
it is
John Nunns
@johnnunns
var obj = {
  key: [1000, 10, 50, 10]
}
function getElementsThatEqual10AtProperty(obj, key){
for (var i = 0; i<obj[key].length; i++){
    return i
}

return i
}
getElementsThatEqual10AtProperty(obj, 'key');
why am I returning 0 here?