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
CamperBot
@camperbot
vvang044 sends brownie points to @jarenescueta731 :sparkles: :thumbsup: :sparkles:
:cookie: 286 | @jarenescueta731 |http://www.freecodecamp.com/jarenescueta731
Vik
@vvang044
there you go
Jaren Escueta
@jarenescueta731
no problem good luck!
Vik
@vvang044
live and learn
Tulio Natale
@tuliodnw

@tuliodnw
people can someone help me in my simon, i want that when the ai reads the color and makes the sound, to also change the opacity of the background, exactly as when you click a color

http://codepen.io/tuliodnw/pen/ZOQjRr?editors=0011
also when doing the sequence, if im too fast, some colors dont make a sound, how can i make it so that doesnt happen,

Jaren Escueta
@jarenescueta731
@tuliodnw you can add a jQuery .click() event and add a css opacity property to the element. experiment with .on("click", ...) and .off("click", ...). i haven't reached this one myself yet
Tulio Natale
@tuliodnw
@jarenescueta731 i did that, but when the ai does a playback it doesnt make a click
Jaren Escueta
@jarenescueta731
@tuliodnw sorry i made that comment without looking at the code first. this is beyond me...
Tulio Natale
@tuliodnw
@jarenescueta731 np you will get here
TinCan-Assassin
@TinCan-Assassin
I could use some help. on my portfolio page. My navbar isn't showing up on my mobile device, but it is showing up on my laptop. http://codepen.io/TinCan-Assassin/pen/YWzMVL/
Kyle W Pilkinton
@tadake
ther
there is a problem with line 1 @TinCan-Assassin give me a second
TinCan-Assassin
@TinCan-Assassin
OK, thanks
Kyle W Pilkinton
@tadake
swap line one with this
<div id="navbar" class='navbar '>
you have to have a class with your div. does this help?
@TinCan-Assassin
TinCan-Assassin
@TinCan-Assassin
Complete with single quotes, or is that a typo?
Kyle W Pilkinton
@tadake
there interchangable @TinCan-Assassin its completely up to what your confortable using
TinCan-Assassin
@TinCan-Assassin
Thanks @tadake
CamperBot
@camperbot
tincan-assassin sends brownie points to @tadake :sparkles: :thumbsup: :sparkles:
:cookie: 403 | @tadake |http://www.freecodecamp.com/tadake
Kyle W Pilkinton
@tadake
your welcom :+1: @TinCan-Assassin
matthew3454
@matthew3454
I'm having trouble determining why I have an unexpected identifier error, along with the errors: function closure expressions' is only available in Mozilla JavaScript extensions (use moz option) and expected an assignment or function call and instead saw an expression. Can someone please help me figure it out? This is my weather app so far:https://codepen.io/codeabode20/pen/XKWqRp?editors=0010 Thank you.
Tulio Natale
@tuliodnw

people im close to my simon to work 100% , you can play now, but then the ai is doing the playback the opacity doesnt change if the same color goes twice

http://codepen.io/tuliodnw/pen/ZOQjRr?editors=1010

DuskyPixel
@DuskyPixel
seems like when it finishes it stays looking like it is pressed. Which would probably mean that you are not putting it in an up looking state before moving to the next color (or the same color)
Stephen
@stephepush
Hi, this is what I have for the mutations algorithm. Am I on the right track?
//mutations attempt
function mutation(arr) {
  var splitArr = [];
  for (var i = 0; i < arr.length; i++){
    splitArr.push(arr[i].toLowerCase().split(""));
  }
  console.log(splitArr);

var jIter = 0; 
//named so because in the next for loop j will be the iterant because i has already been used. j will be iterated and results will go into the variable to be used in a conditional statement
for (var j = 0; j > arr[1].length; j++){
    if (splitArr[1].indexOf(splitArr[0]) >= 0){
        jIter = jIter + 1;
        console.log(jIter);
    }

  }

  if (jIter >= arr) {
    return true;
  } else { 
    return false;
  }
}

mutation(["Mary", "Army"]);
Ken Haduch
@khaduch
@matthew3454 - looks like you are missing the curly braces to enclose the body of the function for your ip-api getJSON call.

@matthew3454 - maybe a couple things- - the initial add of the braces made the error indicator go away, but there was also a problem with the closing paren for the $.getJSON call - I put this code in place:

  $.getJSON("http://ip-api.com/json",
    function(data2) {
      lat = data2.lat;
      long = data2.lon;
      console.log(long);
    });

I hope that helps?

@matthew3454 - also noticed a typo in 'backgroun-image', I think?
Still more, t he closing brace and paren for the ready function blocks out the var long and var lat from being able to access it in the var api = code... just a couple more things, after I went back and looked at the console.
Kikelomo
@queennectarine
Hey y'all, I'm getting started on my random quote generator. I wanted to start by using the code from one of free code camp's challenges just to see how it works. I tried to just get the raw output from the cat photo api to show up as my quote to start, but I can't even get that to work for some reason. A little help? https://codepen.io/queennectarine/pen/wWMrVv
Ken Haduch
@khaduch

@queennectarine - helllo there - it looks like you are running into a cross-origin request problem, in other words, the site is not set up to allow cross-origin requests. You can solve part of the problem by using JSONP - just change your URL to this:

var url = "https://www.freecodecamp.com/json/cats.json?callback=?";

That seems to solve the cross-origin problem and you will get a return. It still isn't displaying in the browser - I'm going to poke at that next.

Ken Haduch
@khaduch
@queennectarine - I'm not sure - it just might be set up to handle JSONP requests properly - it looks like a return is being made, but it is not triggering the callback function? I'm not sure how to proceed with that - perhaps trying a different site? I changed the url to a different site and using JSONP, it returned a usable data object and triggered the callback.
Kikelomo
@queennectarine
@khaduch Thank you so much for the tips!
CamperBot
@camperbot
queennectarine sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 1295 | @khaduch |http://www.freecodecamp.com/khaduch
Kikelomo
@queennectarine
@khaduch Can I know what site you used for url actually? I can't seem to find one that's working for me.
Manuel Micu
@manu-4216
help scrum
CamperBot
@camperbot
no wiki entry for: scrum
Manuel Micu
@manu-4216
help agile
CamperBot
@camperbot

:point_right: agile manifesto [wiki]

The Agile Manifesto

For Agile Software Development

Agile development was written in 2001 by a group of 17 software experts that included the creators of Scrum Extreme Programming (XP), Dynamic Systems Development Method (DSDM), and Crystal; a representative of feature-driven development; and several other thought leaders in the software industry. The Agile Manifesto established a common set of overarching values and principles for all of the individual agile methodologies at the time. This is that manifesto.

:pencil: read more about agile manifesto on the FCC Wiki

Ken Haduch
@khaduch

@queennectarine - this is something that I picked up a while ago by googling and kept a note on it - there is a site that you can use to handle these types of transfers, a proxy site that handles jsonp transfers (I don't know the technical details, sorry that I cannot explain it!) I just got it working with the cats.json site that you were trying to use - this is the URL -

var url = "https://jsonp.afeld.me/?callback=?&url=https://www.freecodecamp.com/json/cats.json";

using that, it now dumps the raw JSON data into your browser panel of CodePen.

you can substitute other URLs into that request in place of the freecodecamp.com one that you are using for an example.
Kikelomo
@queennectarine
@khaduch oh sweet!! thank you so much!!
CamperBot
@camperbot
queennectarine sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:warning: queennectarine already gave khaduch points
Ken Haduch
@khaduch
@matthew3454 - there were several errors in there - I forked your pen and ended up with a version that is working - I'll put the link here: forked weather site - I had to fix a couple things, added a couple console.log statements, etc. You can look at that and see what I did.
Blake Harris
@bharris62
anyone wanna help me with some regex stuff, im lost!
Ken Haduch
@khaduch
@bharris62 - hello - what's up with regex?