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
vínαч puppαl
@vinaypuppal
@jjoshpoland instead of this urlhttp://quotesondesign.com/api/3.0/api-3.0.json use this https://crossorigin.me/http://quotesondesign.com/api/3.0/api-3.0.json
@jjoshpoland see i just prefixed u r quotes API url with https://crossorigin.me because your API wont allow CORS (https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
Joe
@JFSene
Any guide to help on the Portfolio challenge?
vínαч puppαl
@vinaypuppal
@jjoshpoland so to bypass that we need to use proxy server like https://crossorigin.me
Josh
@jjoshpoland
ok, that got the code running. thank you. But, I don't know how to get the quote out of whatever is being returned by the API. Also, the errors weren't showing up on my console. Am I doing something wrong with that?
Marc Droz
@b1tc0de
hi everyone, i finished the tribute page but the bootstrap does not seem to be active, if i am not mistaken it does that automatically in codepen?
vínαч puppαl
@vinaypuppal
@jjoshpoland let me check your pen
Marc Droz
@b1tc0de
how do i share it correctly?
vínαч puppαl
@vinaypuppal
@jjoshpoland did u save i see old code only
Josh
@jjoshpoland
@b1td0wn you need to activate it in the html settings. its under quick-add under CSS
saved
vínαч puppαl
@vinaypuppal
@b1td0wn https://medium.freecodecamp.com/codepen-tips-and-best-practice-cf926ebd0b11#.f7wvz15v4 read this article to know how to work in codepen
Marc Droz
@b1tc0de
thanks @jjoshpoland @vinaypuppal
CamperBot
@camperbot
b1td0wn sends brownie points to @jjoshpoland and @vinaypuppal :sparkles: :thumbsup: :sparkles:
:cookie: 435 | @vinaypuppal |http://www.freecodecamp.com/vinaypuppal
:cookie: 264 | @jjoshpoland |http://www.freecodecamp.com/jjoshpoland
vínαч puppαl
@vinaypuppal
@jjoshpoland just add this it will work
html = json.quote
the doer
@ewathedoer
Looking for the feedback on the new version of my Simon Game http://theonewhodo.es/simon-game/
I’m not sure why sometimes it does not play on mobile devices. Any feedback or help about the mentioned bug would be appreciated :)
Josh
@jjoshpoland
thanks!
thanks @vinaypuppal
CamperBot
@camperbot
jjoshpoland sends brownie points to @vinaypuppal :sparkles: :thumbsup: :sparkles:
:cookie: 436 | @vinaypuppal |http://www.freecodecamp.com/vinaypuppal
vínαч puppαl
@vinaypuppal
@jjoshpoland because this is returned from API
{
author:"Ludwig Wittgenstein"
id:933
permalink:"http://quotesondesign.com/?p=933"
quote:"Everything that can be said, can be said clearly.  "
}
Josh
@jjoshpoland
did you just put the json object into the html to get that?
vínαч puppαl
@vinaypuppal
help format @jjoshpoland
CamperBot
@camperbot

:point_right: code formatting [wiki]

Multi line Code

```js ⇦ Type 3 backticks and then press [shift + enter ⏎] (type js or html or css)

<paste your code here>,
then press [shift + enter ⏎]

``` ⇦ Type 3 backticks, then press [enter ⏎]

Single line Code

This an inline `<paste code here>` code formatting with a single backtick() at _start_ and _end_ around thecode`.

See also: ☛ How to type Backticks | ☯ Compose Mode | ❄ Gitter Formatting Basics

:pencil: read more about code formatting on the FCC Wiki

dimitrije12
@dimitrije12
@vinaypuppal do you know how can i fix async problem
i tried adding $.ajaxSetup({
async: false
}); to my code
but it returns only last element of my array of streamers
vínαч puppαl
@vinaypuppal
@dimitrije12 share your pen url again i will try to debug
dimitrije12
@dimitrije12
vínαч puppαl
@vinaypuppal
@dimitrije12 so u can use Streamers array to generate req URL and find channel name from returned API instead of from Streamers array
@dimitrije12 data.stream.channel.name gives u Streamers name u have in array.
dimitrije12
@dimitrije12
@vinaypuppal ohh i get it, i will try it right now
vínαч puppαl
@vinaypuppal
@dimitrije12 but if stream is null then u may not get name
@dimitrije12 so u can request streamer info with this URL https://api.twitch.tv/kraken/users/
Example: https://api.twitch.tv/kraken/users/brunofin
dimitrije12
@dimitrije12
Yeah but then i cant get info if the user is streaming at the moment
njhudd
@njhudd
Hello! I've just finished my first Front End Project (pair programmed with @dhuddleston to help me with some of the basics). Any comments / critiques? http://codepen.io/njhudd/full/ZOqZRP/
dimitrije12
@dimitrije12
so i have to call two API's, one to get user info, and second to read if they are online or not @vinaypuppal
vínαч puppαl
@vinaypuppal
@dimitrije12 so u need to make two request
  • first to get stream info
  • second to get user/channel/streamer info
    if stream is null they are offline
Olga C
@Octopinky
@njhudd Its looking good! Great job
vínαч puppαl
@vinaypuppal
@njhudd Looks good. One suggestion read about media queries(http://www.w3schools.com/css/css_rwd_mediaqueries.asp) and use them to decrease the font size for small screens of title and paragraph. Rest all looks good
DoYouLoveGames
@DoYouLoveGames
hey yall, i just started writing my code on pen.io but for some reason the image ive selected isnt coming up.
nvm, i copied the wrong link
jrandallhansen
@jrandallhansen
@njhudd I like it too. if youre making use of jade and sass maybe feel free to style that bad boy up a little more. or just move on
I am working on the build a random quote machine project. anyone have advice on good jquery and json tutorials/materials? ive never called an API before and the exercises on FCC didnt provide much context to me
Ryan Williams
@Ryanwfile

Can someone please help me with this code for the simon project, I am having difficulty getting the on click function to require more on click button presses in order to proceed. The code I have so far that isn't working is

$('.sector').on('click',function(){/*Handles the user's button clicks, sector is the class name of the 4 lights */
  console.log("Count is " + count + ", and the order array is [" + order + "]");
   for (var i = 0; i < count; i++){
     if (this == order[i]){//if what is clicked is the correct button in the order array, this is where I need help
       setTimeout(function(){
         if (this.id == order[i] && order[i] == 'red'){
           buttons.brightRed();
           setTimeout(function(){buttons.red()},1100);

         }
         else if (this.id == order[i] && order[i] == 'green'){
           buttons.brightGreen();
           setTimeout(function(){buttons.green()},1100);

         }
         else if (this.id == order[i] && order[i] == 'blue'){
          buttons.brightBlue();
          setTimeout(function(){buttons.blue()},1100);

        }
        else if (this.id == order[i] && order[i] == 'yellow'){
          buttons.brightYellow();
          setTimeout(function(){buttons.yellow()},1100);

        }
       },1100 * count)//ends the setTimeout statement of the for loop
     }
 }//ends for loop
 beeper();//The function that randomly generates and displays the button pattern for the user to repeat

});

The codepen link is http://codepen.io/Ryanwfile/pen/qNJAJO Thank you for any help

DZRana
@DZRana
For fans of Stranger Things (CONTAINS SPOILERS!), take a look at my codepen! If you have any suggestions or could tell me how to fix that spacing between the text and the button, that would be great. Thanks! http://codepen.io/DZRana/pen/RRZgav
Darshan
@Dave1089
@DZRana u have nested ur row div in text-center class... so everything will be center aligned in your body.. either remove that or move row div out of jumbotron/text-center div
DZRana
@DZRana
@Dave1089 ahhh gotcha. Thanks for taking a look!