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
CompGeekGirl
@LisaRamos
@jondcoleman That would be great but I don't have speakers, though. Yes, I've been jabbing at this for a while and it's been driving me insane.
Jonathan Coleman
@jondcoleman
hmm, do you have earbuds that have a mic?
like apple headphones
CompGeekGirl
@LisaRamos
@jondcoleman I obviously don't.
Jonathan Coleman
@jondcoleman
@LisaRamos hmm sorry
ok we can try this over chat for a bit, I'll pm you
CompGeekGirl
@LisaRamos
@jondcoleman Sure. Sounds like a good idea.
Jonathan Coleman
@jondcoleman
Did you get my private message @LisaRamos?
bitgrower
@bitgrower
where's the lessons/hikes/name ? for using codepen ?
Salman Shahid
@salman-shahid
Just before the front end projects
bitgrower
@bitgrower
thanks @mynameissal
CamperBot
@camperbot
bitgrower sends brownie points to @mynameissal :sparkles: :thumbsup: :sparkles:
CamperBot
@camperbot
:star: 288 | @mynameissal | http://www.freecodecamp.com/mynameissal
bitgrower
@bitgrower
got burnt out on js for a bit ... time to do the front end stuff ... hopefully I'll be able to assimilate algo stuff requiring recursive array.reduce calls after I let it marinate a bit ... LOL ...
there are at least 3 of the challenges I probably spent 8 hours on ... just understanding how to solve the problem, and understanding solutions ... really got to know js better, though ...
Salman Shahid
@salman-shahid
It happens lol. I know I've spent atleast 1/2 a day stuck on a project because of a typo.. I'm glad I learnt about debugging a few days ago.
bitgrower
@bitgrower
oh yeah ... console.log is your friend ...
I think if I were to design a course, the first thing I would teach people is how to debug, the second thing is how to use git, and the 3rd would be regular expressions ... LOL ...
fortunately, my long stints were just more in understanding more about either the solution for the problem (smallest common multiplier)...or understanding more about js -- steamroller, seek and destroy
I now have heavily commented versions of all 3 ... :)
Salman Shahid
@salman-shahid
^^
Is there a guide for taking my code from jsfiddle or codepen and hosting it on the web?
I want to switch from jsfiddle to my desktop IDE
bitgrower
@bitgrower
help rooms
CamperBot
@camperbot

:point_right: help rooms [wiki]

Help Rooms

Choose the right room for your question!

:pencil: read more about help rooms on the FCC Wiki

Sergey
@SZharkov
Can anybody explain me what's wrong? Why new quotations don't appear? http://codepen.io/Zharkov/pen/pgQZNP
mrheffern
@mrheffern
It seems to be working to me
@SZharkov are you sure it isnt working?
bitgrower
@bitgrower
maybe different os/browser combos ? FF &chrome use more standard JS, safari, less so ...
Eddy Mogollon Soto
@Eddymogollon
Hi guys, I've basically finished the Weather API but I've realized that it tells me the district where I live and not the city. So even though it is pretty specific, it says, for example: Kendall West, FL instead of Miami, FL. Why that might be?
Joseph Morse
@jnmorse
@Eddymogollon Its partly do to how ever openweathermap processes your requests and handles data on there end, but also geolocation is generally only so accurate, for instance it says I'm Claremont, tech I'm in Charlestown, I just happen to be pretty close to Claremont.
Eddy Mogollon Soto
@Eddymogollon
@jnmorse In the example they have in FCC it says Miami though! I wonder what the difference is
Joseph Morse
@jnmorse
@Eddymogollon the example uses another api for locations, though that one tells me I'm in a different state...
@Eddymogollon least the old one did, not haven't checked the newer example I noticed they had..
Eddy Mogollon Soto
@Eddymogollon
@jnmorse I technically finished it, perhaps after I finish styling it I might look into the source code from FCC to see any difference
Joseph Morse
@jnmorse
@Eddymogollon I just 'finished' rewriting mine, on a kick of rewriting my projects using react right now. really should try to do the simon and tic tac toe one..
I even rewrote my pomodoro one at three times now...
Eddy Mogollon Soto
@Eddymogollon
@jnmorse That would be a great idea! I plan to refactor the other projects I've done too! Question, the Tic tac toe one, you just used HTML, CSS and JS without canvas, right?
Joseph Morse
@jnmorse
@Eddymogollon guess wasn't clear enough, I haven't actually got to those two yet, I started them and sorta only used html, css, and javascript. not sure about doing things with canvas
Eddy Mogollon Soto
@Eddymogollon
@jnmorse I see, well good luck then! I plan to start the tictactoe one probably this week!
Amir Ghafouri
@amirghafouri

@mutantspore

well when the timer is not greater than zero you need to swap to the “other” timer value. To keep track of which you should be counting down, I used a “flag” called timerType.
for example.
if (timerType == 'session') { …. and in that if I set things up for the break time, cleared the clock face, sounded the alarm and changed the flag to be timerType = “break”. So obviously if the timerType was “break” i’d do a similar thing but for the session values. there is no need to actually stop the timer … just change the values. You only really need to stop it for “stop” or “reset” or maybe “pause"

This is what I ended up doing and it works great:

function decTime() {
  // AG: check to see if timer is for session or break
  if (!onBreak) {
    //fill the circle
    filler(countDown);
    // display the current count down
    showCount();
    // decrement the counter if it's not at zero
    if (countDown > 0) {
      countDown--;
    } else {
      // AG: transition from session to break
      onBreak = true;
      countDown = breakTimerSeconds;
    }
  } else {  
    // unfill the circle
    unfiller(countDown);
    // display the current count down
    showCount();
    // decrement the counter if it's not at zero
    if (countDown > 0) {
      countDown--;
    } else {
      // AG: transition from break to session
      onBreak = false;
      countDown = workTimerSeconds;
    }
  }
}
Maciej Bembenista
@macbem
https://jsfiddle.net/9fyk4qev/ i might use a little debugging help here :( random quote machine doesn't show quotes at all - it was working before, i had to quickly end my work and I messed something up
I thought that the API provider might have locked me out after using his api for 200 times in 60 minutes
but this doesn't work even on codepen, even from another PC and town
Sam Reeves
@smreeves
Hey everyone! I think I've finished my calculator app. I'm going to monkey with the background to make it a little easier, but otherwise all functionality I wanted to incorporate is done. If you have some time to look it over, I'd be grateful! I'm sure there are a few things I could tweak to make it better. Thanks! http://codepen.io/sreeves89/full/gPBzjK/
Andrew Schmidthuber
@calicode
love the ui. took me a second to realize i had to turn it on. i think the user stories want both types of clear
Sam Reeves
@smreeves
Bottom-left has a "back" button when I would imagine is similar to the CE functionality. Yes, I was a bit worried about "turning it on" but I liked that functionality since I was basing off of a real calculator that I had in front of me. Maybe either I'll put a note that it needs to be turned on or have it automatically come on as soon as someone starts pressing buttons.
Andrew Schmidthuber
@calicode
i would go with the latter