Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
Callum Ward
@bearswamppastor I think it does, for codepen to be able to access it
Thanks @JLuboff
gabrira sends brownie points to @jluboff :sparkles: :thumbsup: :sparkles:
:cookie: 494 | @jluboff |http://www.freecodecamp.com/jluboff
Jacob Jackson
@callumquick So I would need the <a href="http://9430jfkldkjfg0..."> ?
anybody here know how to make those menus that get fixed to the top of the screen when you scroll past them?
not like bootstrap's .navbar-fixed that is fixed from the beginning, but one that has a static position, following the flow of the page, but before it is about to leave the viewport it gets fixed to the top of the screen
Callum Ward
@bearswamppastor Yep, a web link of some kind, then it should be able to find it
@eliecerthoms Perhaps it is done using a check for scroll height and then transitioning the bar from an in-page element to a navbar-fixed?
@callumquick interesting, gonna try that
Walid Ashri
@eliecerthoms check this
@walidashri lol, was trying to implement exactly that one, but whenever I start dealing with position: absoluteon the menu bar, it breaks completely
Walid Ashri
@eliecerthoms you work in codepen?
@walidashri no, working with a templating engine, but let me see if I can set it up there
Sam Griffen
Can anyone help me on how I would access the first "extract" key in this JSON data? https://en.wikipedia.org/w/api.php?action=query&format=json&prop=extracts%7Cinfo&titles=Harry+Potter%7CEragon&exsentences=1&exlimit=10&exintro=1&explaintext=1&inprop=url I'm working on the wiki viewer project...
Igor Amidzic
Is anyone good with css/bootstrap who can check why some of my styles are working and some aren't?
I commented my code so you can find which work and which don't more easily, thanks!
@amidzicigor i don't see the comments so not sure what you mean or where to look
Igor Amidzic
@sparklie3 In the css, there are comments
where are these comments in the css?
I don't see anything like // comment or <!-- comment -->
i think css comment is /* comment */
oh, i see them now
Igor Amidzic
@sparklie3 lol
Callum Ward
@ssgriffen Sadly you're not going to be able to get the extract without knowing in advance the Page ID
@ssgriffen Instead of action=query you'd be better to look at action=opensearch for just searching
@amidzicigor did you copy this css somewhere?
Igor Amidzic
@sparklie3 What do you mean?
i've never used the bootstrap btn on a form input
to describe the class
so for example, i don't see what you use btn btn-default as your css class to begin with, but then again, btn-default isn't really necessary even
Igor Amidzic
@sparklie3 I just found a bootstrap component that aligns buttons vertically. I simply switched the btn with a text box
@sparklie3 Yeah I took out btn-default
@sparklie3 The thing is, if you tab the '.form-signup', it works fine.
if you tab the entire section starting with .form-signup, and put it under the one right before it
hey all
it's because of this class btn-group-vertical
you'll see if you remove the class, your border-radius then functions
so the btn-group-vertical might have an override
Igor Amidzic
@sparklie3 Hmm
@sparklie3 Know any fixes for this? Is there any other way to get my textboxes to be vertical?
well, you can look up bootstrap to see how exactly btn-group-vertical works
it's a little odd you're using btn for input fields, but then again, i'm not a expert on bootstrap
maybe that's what you do, i've never used btn class for things that aren't buttons
and your input field isn't a button, it's a textbox
or inputbox
off the top of my head, you can set div, create your own class
Igor Amidzic
@sparklie3 Yeah I know, I just created a bootleg setup for the textboxes. There needed to be a btn class for them to line up
What am I doing wrong here?

function mutation(arr) {
var arr0 = arr[0].toLowerCase();
var arr1 = arr[1].toLowerCase();  
  if (arr0 === arr1){
    return true;
  } else if(arr0.indexOf(arr1, 0) === arr1.length || arr1.indexOf(arr0, 0) === arr0.length) {
    return true;
  else {
    return false;


mutation(["hello", "Hello"]);

can someone please tell me whats wrong with my code: https://codepen.io/Merryl/pen/JbaYvL?editors=0010

chrome doesnt support getlocation over http and i cant get the api to function over https
amazing stuff really
proxy like crossorigin.me doesnt work either
Firefox is throwing up errors like its gang signs