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
Rune Bak Jacobsen
@runebakjacobsen
@AnnasLab you could also give it 2 or 3? I dont think a fixed with would be the best choice to use for the nav
AnnasLab
@AnnasLab
@rune-jacobsen okay I'll give it try thanks for help have a great day
CamperBot
@camperbot
annaslab sends brownie points to @rune-jacobsen :sparkles: :thumbsup: :sparkles:
:star: 287 | @rune-jacobsen | http://www.freecodecamp.com/rune-jacobsen
Rune Bak Jacobsen
@runebakjacobsen
@AnnasLab No worries - put it in the same container if you want it side by side, or else it will also jump down
AnnasLab
@AnnasLab
@rune-jacobsen Yes i'll make the nav horizental in small screen ;)
Rune Bak Jacobsen
@runebakjacobsen
Exactly @AnnasLab, think responsive ;)
AnnasLab
@AnnasLab
@jnmorse thanks bto i'll take your notes in consideration
CamperBot
@camperbot
annaslab sends brownie points to @jnmorse :sparkles: :thumbsup: :sparkles:
:star: 393 | @jnmorse | http://www.freecodecamp.com/jnmorse
AnnasLab
@AnnasLab
Thanks guys have a great days :D
Pavel
@Savrov
Hello again, i have a quote generator here with one issue: after the first opening of page there is no quote. I need to push a Generate button. How i can do it automatically?
http://codepen.io/Savrov/pen/VeNMgP
Goje Samuel Andrei Daniel
@pringon
can anyone tell me why is it only filtering the first element i click on?
Andrew Vanboxel
@avanbox
@Savrov I did something like this: $(document).ready(function() {
insertQuote();
Jan Pribošek
@GreatDanton
!rooms
CamperBot
@camperbot

rooms

See all the FreeCodeCamp rooms at gitter.im/FreeCodeCamp/rooms
Or check this wiki article for a shortlist
Chris Hinton
@hintcj
can someone tell me how to link to my pens in code pen? Whenever I put the URL in, I get a 404 error.
Dick Fink
@dickfink
@hintcj can you try posting a url?
Chris Hinton
@hintcj
Andrew Vanboxel
@avanbox
worked for me
Dick Fink
@dickfink
me too
Andrew Vanboxel
@avanbox
if your trying to link to them its better is you replace "pen" with full
Chris Hinton
@hintcj
Alright, yeah, I don't know what the problem was then. Thank you @dickfink @avanbox
CamperBot
@camperbot
hintcj sends brownie points to @dickfink and @avanbox :sparkles: :thumbsup: :sparkles:
:star: 208 | @avanbox | http://www.freecodecamp.com/avanbox
:star: 168 | @dickfink | http://www.freecodecamp.com/dickfink
Andrew Vanboxel
@avanbox
np
Dick Fink
@dickfink
avanbox — great tip w/ “full"
Chris Hinton
@hintcj
@avanbox Why does changing to full make a difference?
Dick Fink
@dickfink
i belive it just changes how it’s displayed (code minimized)
Chris Hinton
@hintcj
oh okay, that makes sense then. First time using code pen!
Andrew Vanboxel
@avanbox
yeah it makes it full screen
Dick Fink
@dickfink
@vizFlux could it have something to do with your countdownCrt() function checking for seconds === 0 and resetting seconds to 59 before executing timeCount()? That seems like it could be problematic….
rodascesar
@cesarrodas
Im trying to make my navbar button active when you scroll, can someone help?
Dick Fink
@dickfink

@cesarrodas You’re going to have to detect the scroll position of your page and the (vertical) position of the sections on your page, and then based on that, give the corresponding menu item in your menu a specific class.

http://api.jquery.com/scrollTop/
http://api.jquery.com/position/

Something like this (not tested):

if ( $('body').scrollTop() > $('.section-a').position.top ) {
$('.menu-items').removeClass('selected');
$('.menu-a').addClass('selected');
}

if ( $('body').scrollTop() > $('.section-b').position.top ) {
$('.menu-items').removeClass('selected');
$('.menu-b').addClass('selected');
}

if ( $('body').scrollTop() > $('.section-c').position.top ) {
$('.menu-items').removeClass('selected');
$('.menu-c').addClass('selected');
}

Hiresh
@hiresh
unable to filter json
       $.getJSON('https://en.wikipedia.org/w/api.php?format=json&action=query&generator=search&prop=extracts&exlimit=max&explaintext&exintro&exsentences=1&gsrsearch=suits&callback=?',function(json){
    json = json.filter(function(val) {
  return (val.index !== 1);
});
    $(".message").html(JSON.stringify(json));

      });
I want to filter the entries not having index 1
but no nothing displays, whereas when I simply stringify json, output is as expected, filter seems like ruining the thing, kindly help
Victória Simonetti
@victoriasimonetti
Hi, how can I put images from my pc in codepen? we need a special account for hosting?
Dick Fink
@dickfink
@victoriasimonetti you need to host them somewhere online and point to the URL, there are lots of free services which do that (imgur.com comes to mind)
rodascesar
@cesarrodas
@dickfink thanks, i'm interested in getting mines to work, however. I thought I want close.
CamperBot
@camperbot
cesarrodas sends brownie points to @dickfink :sparkles: :thumbsup: :sparkles:
:star: 169 | @dickfink | http://www.freecodecamp.com/dickfink
Hiresh
@hiresh
       $.getJSON('https://en.wikipedia.org/w/api.php?format=json&action=query&generator=search&prop=extracts&exlimit=max&explaintext&exintro&exsentences=1&gsrsearch=suits&callback=?',function(json){
    json = json.filter(function(val) {
  return (val.index !== 1);
});
    $(".message").html(JSON.stringify(json));

      });
json is not filtered, help please
Victória Simonetti
@victoriasimonetti
@dickfink thanks! =)
CamperBot
@camperbot
victoriasimonetti sends brownie points to @dickfink :sparkles: :thumbsup: :sparkles: