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
Bilkiss
@Bilkiss

for only one close li tag:

<li class="text-center"><li>help needed here</li> @wilcombebolger

Harrison Freeman
@HarrisonLib
@wilcombebolger Does putting the list in a div work?
Ken Haduch
@khaduch
@HarrisonLib - you can put lists in a div.
Muhammad Hasham
@MohammadHasham
 var greeting = $(".online").hover(function(){        
           $( this ).fadeToggle("slow","swing")
          });
         setTimeout(greeting, 10);
why is this not working?
Liman Abba
@limanCode
<nav class="navbar navbar-default">
<div class="container-fluid">
<a class="navbar-brand" href="#">Liman Abba</a>
<div class="navbar-header navbar-right">
<ul class="nav navbar-nav nav-tabs">
<li><a href="#">About</a>
<li><a href="#">Portfolio</a>
<li><a href="#">Contact</a>
</ul>
</div>
</div>
</nav>
My code pen is not showing the navbar when i type this
Janine vN
@janine9vn
@limanCode can you link your codepen?
@janine9vn see the link above
Janine vN
@janine9vn
@limanCode If your CSS and JS sections, you need to quick add the Bootstrap files
Liman Abba
@limanCode
bootstrap in both css and js? and again I saw two rows, do i need to add to both rows or just once?
Janine vN
@janine9vn
@limanCode You want to add it in both to get the navbar to fully function in case you add a dropdown or something. You just need to add it once
Liman Abba
@limanCode
@janine9vn thanks so much, it works
CamperBot
@camperbot
limancode sends brownie points to @janine9vn :sparkles: :thumbsup: :sparkles:
:cookie: 221 | @janine9vn |http://www.freecodecamp.com/janine9vn
Liman Abba
@limanCode
@janine9vn I will follow your handle, pls follow back
Haelmorn
@Haelmorn
hey, anyone could help me? I want to place the image in a set distance from the edge of the background, how can I do that?
Artis Raudive
@ar14059
Hi everyone. I have a problem with getting information from wikipedia API, here is my program code in codepen: http://codepen.io/artisraudive/pen/JKkWXR?editors=0010 . I use "$.getJSON" method to get json data from URL.
Muhammad Hasham
@MohammadHasham
http://codepen.io/Mohammad_Hasham/pen/QEAVWY?editors=0010
why are my mouse events not working properly
JeansBolong
@JeansBolong
wiki Where do I belong
CamperBot
@camperbot

:point_right: algorithm where do i belong [wiki]

Algorithm Where do I Belong

:triangular_flag_on_post: Remember to use Read-Search-Ask if you get stuck. Try to pair program :busts_in_silhouette: and write your own code :pencil:

:checkered_flag: Problem Explanation:

This can be a tricky problem to understand. You need to find where in the array a number should be inserted by order, and return the index where it should go.

Relevant Links

:pencil: read more about algorithm where do i belong on the FCC Wiki

Xihai Luo
@coolsday
guys, can you suggest some custom fonts i can use and where/how i can get them?
Diego Souza
@diegosouza
@coolsday google fonts
Xihai Luo
@coolsday
@diegosouza where can i get them from?
Angel Eduardo
@angelfeliz
hello people
Diego Souza
@diegosouza
@coolsday https://www.google.com/fonts see the usage instructions there
Artis Raudive
@ar14059
Hi everyone! I can't understand, why "getJSON" method don't work with certain url, here is my code in CodePen: http://codepen.io/artisraudive/pen/JKkWXR?editors=0010 . Code works, if i use variable "api", that is commented above code.
Diego Souza
@diegosouza
@ar14059 it works with any address you can have a GET request
Angel Eduardo
@angelfeliz
@ar14059 i had this problem too "Access-Control-Allow-Origin", when i call the wiki api . that is because you need to call using Jsonp function and add a call_back function at the end of the url to trick the proxy, what i did is use angular. You can do it with jquery or angularjs. this is my codePen if you like to check out http://codepen.io/erodriguezfeliz/pen/KMddWy
Xavier Velez
@JonSnow08
Has anybody here completed the Simon Game and have a moment to help me out?
I've got a few of the functions done, a good amount of code but im lost as to where to go next
Veron Oparebea
@Veron247
hello
A friend introduced me to freecodecamp. And am much happy to join
Muhammad Hasham
@MohammadHasham
Diego Souza
@diegosouza
@Veron247 welcome
Beth Qiang
@bethqiang
is anyone in here familiar with the materialize framework, especially with respect to grids?
Ken Haduch
@khaduch
@MohammadHasham - a couple things I noticed
  • when first loading, there is (or at least was) an empty space in the the grid - a row in the middle of the rows that was not completely filled in (This might be random - I just reloaded and there were several gaps in the rows)
  • clicking on "online" still leaves the "Account Closed" images there. (And should those have a name attached? Since you used a name to find them)
  • the "Account closed" uses also show up for the "Offline users"
  • After clicking "online users", "offline users" and then "All users" - the online users are no longer shown? Also "Online Users" and then "All Users" doesn't show the offline users?
@bethqiang - I'm not, but would give it a shot? Do you have a link and a specific question?
Tyler Moeller
@TylerMoeller
@bethqiang Yes, I've used the materialize grid.
@khaduch Similar concept to bootstrap, but no xs grid size: http://materializecss.com/grid.html
Ken Haduch
@khaduch
@TylerMoeller @bethqiang - yes, I was just looking at the docs... very similar.
Xavier Velez
@JonSnow08
 var LightUp = function() {
      for (var i = 0; i < sequence.length; i++) {
           switch (sequence[i]) {
            case 1:
               $('.cntrl1').css('background-color', "#ff0000");
               setTimeout(function() {
                  $('.cntrl1').css('background-color', '#330000');

               }, 500);
               break;
            case 2:
               $('.cntrl2').css('background-color', "#00ff00");
               setTimeout(function() {
                  $('.cntrl2').css('background-color', '#003300');

               }, 500);
               break;

            case 3:
               $('.cntrl3').css('background-color', "#ffff00");
               setTimeout(function() {
                  $('.cntrl3').css('background-color', '#4d4d00');

               }, 500);
               break;
            case 4:
               $('.cntrl4').css('background-color', "#0000ff");
               setTimeout(function() {
                  $('.cntrl4').css('background-color', '#000033');

               }, 500);
               break;
         }
      }
how would I set this up to not light up all at the same time
right now it's going all at once, I need it in order
Beth Qiang
@bethqiang

@khaduch @TylerMoeller so i have a grid, where the left column has a picture and the right column has some text. i've been trying to get the picture to be vertically aligned, but i haven't yet succeeded. (i have tried a myriad of placements of "valign-wrapper" and "valign") a snippet of the code without the valign-wrappers/valign (i'm adding html via javascript/jquery) is below, as well as a link to the codepen that i'm attempting to use.

      onlineHTML = '<a href="' + url + '" target="_blank"><div class="row online"><div class="col s3 m2 center"><img src="' + logo + '" class="logo-style"></div><div class="col s9 m10"><p class="name">' + name + '</p><p>'+ game + ': ' + description + '</p></div></a>';
      $("#streamers").prepend(onlineHTML);

what it looks like now: http://codepen.io/bethqiang/pen/xOzJGr

@khaduch @TylerMoeller i've tried putting valign-wrapper and valign in various places in the various divs/elements and i just haven't been able to get it yet. also, sorry, i didn't realize that snippet of code would be slightly annoying to read, haha. i can reformat it if it makes y'all's life easier.
Tyler Moeller
@TylerMoeller
@bethqiang lol, I just went through this with my Twitch.tv project in Materialize. It was hard to get the images to align correctly. I'll try to take a closer look at your pen and see if I can help.
Ken Haduch
@khaduch
@bethqiang - vertical alignment is a bit of a nasty thing, unless you can use flex - that seems to make things really easy. I think that you might be able to put your image inside a flexbox that has it set for centering? I'm not that familiar with flex, but I'll bet it would work... let me see if I can figure out how to add it? Unless someone else here (I know there are some flex devotees here from time to time) knows if it can be done.
Beth Qiang
@bethqiang
@khaduch i've been considering trying to learn how flex works to incorporate flex into future projects, but i figured i'd at least finish this series of projects before embarking on something new haha. but yes, if it can be done in flex, happy to learn! @TylerMoeller awesome! let me know :)