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
how do i implement the tweet button in the quote machine
How to implement the function that click a tag of navbar, then go to relevant area in the same webpage?
@saeedjassani Here it is i just implemented a random number generator between 0 and the length of the colors array
@yunyanliu you can use anchor elements with ids
for example:
<a href="#about">about</a>

<div id = "about">
<!-- content -->
thank you, @h1tag
yunyanliu sends brownie points to @h1tag :sparkles: :thumbsup: :sparkles:
:cookie: 817 | @h1tag |http://www.freecodecamp.com/h1tag
Saeed Jassani
@Pendramon thanks for that, but I was going to implement random number generator myself
saeedjassani sends brownie points to @pendramon :sparkles: :thumbsup: :sparkles:
:cookie: 134 | @pendramon |http://www.freecodecamp.com/pendramon
need help in navbar!
i already added navbar-right class For "about " but it didn't go in that way.
help me out
Hey guys! I have an issues with adding image to my webpage in codepen can somebody help me with fixing this? https://codepen.io/Shukrhat/pen/EmqqRJ
prince verma
@mshukhrat where you want to add an image in your code?
Hoang Thanh Tu
@mshukhrat where is place that you want to add image?
thank you guys! I`m done
Hello, does anyone's dark sky api still works now?
It worked yesterday.
This is the console Error code:
Fetch API cannot load https://api.darksky.net/forecast/abc151891e74f78923426c014ba187e4/37.8267,-122.4233. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://null.jsbin.com' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
@bangyuwen add ?callback=? at the end of the darsky url
prince verma
anyone ? need help in class called "navbar-right "
Do you mean like this? It still can't work haha
@bangyuwen it should work with getJSON. Don't know about fetch
@h1tag I'm trying AJAX now. But it seems not working.
I'll try getJSON later!
@bangyuwen I think in ajax you have to set dataType to jsonp
@bangyuwen if you want to use fetch, you can use crossorigin.me
@alpox I fixed it with adding prefix https://cors-anywhere.herokuapp.com/. THX a lot.
bangyuwen sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:star2: 1119 | @alpox |http://www.freecodecamp.com/alpox
@h1tag THX a lot,! I fixed it!
bangyuwen sends brownie points to @h1tag :sparkles: :thumbsup: :sparkles:
:cookie: 819 | @h1tag |http://www.freecodecamp.com/h1tag
@alpox hey, do you know the juggling async exercise in the continue working with nodejs servers challenge?
If yes, then can you give me a hint/hints on how to solve it
@bangyuwen YW!
Ayush Kumar

function destroyer(arr) {
  // Remove all the values
  var z="";
 var y=arguments[0];
  var x=[];  
  x= y.filter(function(a){

    for(var d=0;d<arguments.length;d++)
        return "a";


 return x; 

destroyer([1, 2, 3, 1, 2, 3], 4, 5);
what should be the out put of these code ???
@h1tag i didnt do any challenges of the backend. What is it about?
Hi, look at my tic-tac-toe!


you need to use http.get(). However, this time you will be provided with
three URLs as the first three command-line arguments.

You must collect the complete content provided to you by each of the URLs
and print it to the console (stdout). You don't need to print out the
length, just the data as a String; one line per URL. The catch is that you
must print them out in the same order as the URLs are provided to you as
command-line arguments.

Adrian Padurean
@SkyC0der You gave me some feedback, regarding first point: I have no idea what Bootstrap 3/4 is, I just used those functions :-?
@h1tag Possible solutions:
  1. Load each content one after another (Start the next only if the last finished)
  2. Load them parallel and set the result to an exact position in an array (In the order you need them) and keep a counter which you increment each time the request of one came back. Then, you always test if the counter is 3 already. In that case, you got them all and the results are in the right order in the array.
  3. Put all calls into promises and use Promise.all to wait for them all to finish. The result will be in order.
@alpox there are also hints with the exercise (but I need more hints :smile:) . Do you want me to pm you the hints (because they're somewhat long)? Or post them in the backend room ? (maybe this will give you more context)
@h1tag private message would be best i guess :D
@radekjohn Maybe i'm missing out if its needed but i see no AI :D