whats up everyone so trying to get my wiki viewer done and i need a pointer as to how to break up all the results i get into link headers and short previews. can anyone point me in correct direction : http://codepen.io/pawan92/pen/zqzWYB

guys maybe you can help just my own little project, can't seem to get a function to work, in short, when i click on a box (as seen from boxes event listener) all the notes play instead of just the corresponding index in the notes array...

@sbarayev - there is a problem with doing things this way. You are declaring a number of different functions... wait, I see two problems at least, maybe one is more significant than the other.

your test (or what looks like a test) if ( i = j ) is not correct. You want to do either i == j or i === j if you are comparing values. That might be the problem?

the second thing that I think is the problem for real is that you are creating a number of anonymous functions for click handlers. Each of those functions references the variable i. When you declare functions like this, the value of i is a 'global' to each of them, and the problem is that after the for loop creates these functions, each function sees the same 'final' value of i. If you want to prove this, put a console.log statement in there and have it print the value of i and see if that isn't the case?

@sbarayev - without having the full code to look at, those are my best guesses...

@MMux this is the error that stopped me in my tracks and has made me thow my hands in the air ```XMLHttpRequest cannot load http://api.jquery.com/ajax/test.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://s.codepen.io' is therefore not allowed access. The response had HTTP status code 404.

@outsmart here's a link to mine if this helps. I think you have to use JSONP json w/ padding; otherwise you won't get a responsehttp://codepen.io/MMux/pen/qZVyMatry adding &callback=? to the end of your request

@trip16661 ahh..sorry :( didn't mean to cause more work :( but you can now either simplify it or change the way you implement it maybe. Maybe make a "Random" button and a "More from this Author" button? and program the "More from this Author" to do a new search...? not sure

I use zup-image, i already try google drive but even if i change settings of rights to put it public it doesn't work. @kirbyedy i mean website to stock picture and photos for our <img/> and background-image...

no wiki entry for: with this code the loop worked through the query however non of the if statement worked how can i make the if statements workdocumentreadyfunctionvar users freecodecamp storbeck terakilobyte habathcxrobotcalebthomasballingernoobs2ninjasbeohoffesl_sc2 for var i0 iuserslength i getjsonhttpsapitwitchtvkrakenstreamsusersicallback functiondata resultsemptyif datastream null resultsappendimg srcdatastreamchannelprofile_bannerimg resultsanimate003300if dataerror resultsappendpaccount closed brusersipif datastream null resultsappendpoffline brdatachanneldisplay_namep consolelogdata documentgetelementbyidtestinnerhtml datastreamchannelprofile_banner

The errors were due to the document method I called for the banner picture the method tried to get the banner for all the looped query however only the streaming user would return a banner others gave error @mutantspore

@Zoher-ali heh , keep trying :) If nothing else works, here is the way I did it... but you should not look at the code IMO until you've been trying to solve it on your own for at least a few hours/days ;P http://codepen.io/URobert/pen/WQgqve

@96street as far as i know you have to follow the order if li is in ul you have to write them ul before li. and .. using px for pixels makes sense there is percentage values too , also not using ; on last property of css class was the syntax I was taught but use them it doesn't makes a difference.

Hi all - first time asking for help on here so apologies if I don't follow the etiquette ;) - I've searched online, and played around for (literally) days on the Wikipedia project. I've made good progress, but am stuck on using .append to add HTML elements to my page (I want to show the entries I have gotten from Wikipedia). Would somebody mind taking a look?

@robertadamian I don't think so. The nth-child selects the specific element within it's parent and no others. But in this case you'll want to select the button element in the well, not just the well itself.

@findname Your nav is set up a bit off, you declared your nav as navtabs, you'll want to change that to a navbar. THen your ul class should be a "nav navbar-nav pull-right" after that remove the pull-right from the li's

@findname It's not that it wasn't working inside of li, it was just a lot more extra code that was uneeded as they were all held within the ul function it was easier to move the block right than each individual piece. The main issue that caused them to shift down was the navtab bootstrap you were using.

@DivaWeb, that's the one where you have to shift the character 13 places right?

@findname Because each li has a height (as it is it's own block), and the pull-right is not resizing the block or making it an inline-block, it is simply floating it right, so you have that initial height of the li for each of them.

@findname if you're using Bootcamp already, I would suggest you create the page using bootcamp classes rather than just un-classed divs and such... that will get rid of things like that for you automatically

I'm stucking in above trouble,, that when I delete "else return "No such contact";", every thing is fine. But when it's coded like above, It returns "No such contact" though conditions is true. (My English is so bad -_- and I don't know how I can explain this. )

@findname you want to organize your stuff into rows and columns.. a ROW is something that goes across the screen from left to right. a COLUMN goes vertically. if you just want a row without anything else on it, you can make the contents of that row take up all 12 columns. Perhaps something like:

@findname so bootstrap uses "breakpoints" for different screensizes to determine how to show an image. because your screen is smaller than the "large" (lg) breakpoint, it didn't know how to handle it because we never defined smaller sizes

@findname to see it in action, try this (you can remove it after): assign 2 classes to the divs:col-xs-12 col-md-8

@findname once you do that to all the divs, try shrinking your browser window to make it less wide

@findname you'll notice at the beginning, there's a gap on the right - 4 columns of whitespace, since we told it to take up 8 columns on a "medium" (md) display. when the browser shrinks to "extra small" (xs) size, it grows to fill up all 12 columns

@findname that is where the name "responsive" web design comes from.. it "responds" to the size of the viewport so it can appear differently on mobile device screens vs. desktop to accommodate the specific needs of each environment

@findname awesome. ok.. that is because at a MEDIUM size screen, you have the bottom div taking up col-md-8 columns out of 12. for an EXTRASMALL size screen, you have the bottom div taking up col-xs-12 out of 12

@findname that is responsive design. now I leave you to do the rest :P

I thought the hitting th fork button would change the code..anyway try adding a tag element such as <p>this is the line </p> and give it a style so that the text appear in the center...like <p style="text-align:center">This is the lion</p>

hello everyone! i finished my random quote generator, and everything is working except for that, when i refresh the page, when i click the "Get Quote" button the first time, no data gets pulled from the API and i end up with empty quotation marks on my page. But on the second and all following clicks, it works fine. i've tried googling this many times, and have come up empty. please help!https://codepen.io/jvhensley/pen/OMYmyX

Hey guys, finally I'm done with the Portfolio challenge. Maybe someone could give it a quick look, or feedback. It's my first project with no experience at all, so it's not perfect haha. There's a couple things in particular that bug me and I'd like to adjust them but I haven't, since I don't know how. They both are in the "about" section - a photo and a text, In full screen/desktop view the photo is too big, so i'd like to make it look smaller and the text alignment is just wrong, there's too much empty space on the right. I tried to change '.col' but it didn't help. Any advice would be appreciated. Thanks! http://codepen.io/igoramel/full/jqYmmy/

Just want to make sure I'm not way off base here...for the Portfolio project, should I know how to do everything just from the FCC lessons? Or should I be looking at outside resources in order to clarify how to do some of this stuff?

Hey guys, I have a question about open weather api. I can't get the call to go through because of a mixed content error since open weather only uses regular http. Anyone else encounter this problem and know a way around it?

@gpressman ok second issue is that you need to call your api from within the geolocation function or at least wrap your getjson in a function and call that function from within it. they are both asynchronous