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
Ken Haduch
@khaduch
@yogiwhocodes @ezioda004 - this is the forked copy of the pen that is mostly working - just for reference
Tychro van den Broeke
@tychro
does anyone know how to get the time and date in JS linked to my HTML?
Aditya
@ezioda004
Current time?
Tychro van den Broeke
@tychro
yes
and the date
yozhikvtumane
@yozhikvtumane
Hello! I am currently doing Twitch project and I subscribed to FreeCodeCamp channel, but I can't see it in object I get from the server
Aditya
@ezioda004
@tychro
var d = new Date();
var n = d.getDate();
To get the current date
Tychro van den Broeke
@tychro
is time the same?
Aditya
@ezioda004

Kinda, you'd have to do something like

d.getHours(); 
d.getMinutes(); 
d.getSeconds();

and concatenate them

@yozhikvtumane Can you post your codepen link?
Kaz Baig
@kbaig
There's also a bunch of methods on Date to get the string in different formats, found in the Conversion getter section of the Date documentation
Aditya
@ezioda004
^
yozhikvtumane
@yozhikvtumane
Aditya
@ezioda004
@yozhikvtumane Dont think they let you see the subscribers of a channel, you can only see followers
yozhikvtumane
@yozhikvtumane
I am trying to get what the task is asking for
Aditya
@ezioda004
Yes but youre not requesting from https://api.twitch.tv/kraken/users/<user ID>/follows/channels , the fcc one only takes 3 parameters, unless I'm wrong
yozhikvtumane
@yozhikvtumane
Aditya
@ezioda004

This server caches data to lower the request rate. To prevent abuses this server accepts GET requests only, and serves only routes /users/:user, /channels/:channel, and /streams/:stream

None of them returns the list of channels followed by a user.

yozhikvtumane
@yozhikvtumane
list of channels is in "user" object

This server caches data

How often does it refresh data?

Aditya
@ezioda004
No idea, maybe someone else knows about this but as far as I know it doesnt return it
grantknaver
@grantknaver
anyone familiar with firebase?
yozhikvtumane
@yozhikvtumane
I think I got it wrong
I don't need to parse the whole list of user's subscriptions and see whether FCC is online or not, I just need to create random list of channels with FCC in it and check them, right?
Samer
@samerx96
Hey guys
do you think a 256gb macbook pro 15' 2016 with touchpad + iPad pro 4g 128gb for 2260$ is a good deal?
William Watts
@Braillon7
@ehutchllew @moT01 nope no luck...I can console log an output but i can't seem to get an action out of any class I use https://codepen.io/Braillon7/pen/RxBWbY
William Watts
@Braillon7
"transform: translate(0, 100%);" is hiding the task-form...once commented out you can see it
Dan Lafferty
@DanLaff
@Braillon7 I'm looking at your code and your jQuery call is trying to add an "active" class to all elements with the 'task-form' class. You don't have .active defined in your CSS. Perhaps you're confusing it with the active selector? A class named "active" is not the same as ":active". Also, your CSS has invalid comments in it - // is for JavaScript. CSS needs /* */
I'm having trouble figuring out what you're trying to accomplish by scanning above - if you can summarize, I'm happy to take a closer look
ehutchllew
@ehutchllew
@Braillon7 fixed it. Sorry couldn't respond, internet went out.
@Braillon7 @DanLaff Like Dan said, you have to change .task-form:active to .task-form.active
Dan Lafferty
@DanLaff
If it's a matter of opening/closing the form with a sliding motion, remove the transition and transform code from your CSS and change your jQuery to:
$(".add-circle, .close-btn").on("click", () => $(".task-form").slideToggle());
William Watts
@Braillon7
wow you guys were a lot of help...I feel like an idiot. I thought I already tried that before as I originally had &.active and it wasn't working. This was a simple as a fix as I assumed it would be and believe it or not I spent all day trying to figure it out lol
@ehutchllew thank you
CamperBot
@camperbot
braillon7 sends brownie points to @ehutchllew :sparkles: :thumbsup: :sparkles:
:cookie: 368 | @ehutchllew |http://www.freecodecamp.org/ehutchllew
William Watts
@Braillon7
@DanLaff thank you
Brandon Blackwell
@Radlerz1

hello, if i have an object like this

randomObject : {
name: 'randomName',
age: 34
}

is there a way I can update name without knowing that the object is randomObject?

William Watts
@Braillon7
hmmm how come @DanLaff didn't get any brownie points? give the man his brownie points lol
Dan Lafferty
@DanLaff
I'm not a camper, just visiting to practice coding while helping others in the process
@Radlerz1 Object.keys() should help you with that
William Watts
@Braillon7
lol oh...well thank you kind Sir! @DanLaff
CamperBot
@camperbot
braillon7 sends brownie points to @danlaff :sparkles: :thumbsup: :sparkles:
api offline
Dan Lafferty
@DanLaff
Happy to help :)
Brandon Blackwell
@Radlerz1
{
_id: "5a5fa8998e0cb9206c0d33a7",
__v: 0,
twitter: {
id: "786553098864963584"
}
}