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
@shubham1604 - I don't really know what you are trying to do there. I guess you would have to have some kind of javascript function that checked for the authorization of a user when they clicked the button and if they were not authorized (not logged in or no account) then you would direct them to do that. I don't really know how to do that, though, I haven't done anything like that.
David Belmares
@DavidBelmares
well that solved it for me, thanks very much @khaduch
Shubham Sharma
@shubham1604
Okay
Ken Haduch
@khaduch
@DavidBelmares - target="_blank" will open the twitter quote in a new window. It's necessary because on CodePen you cannot open a new page within the same window, because of the way the properties of the frame are set up (or something along those lines.)
David Belmares
@DavidBelmares
alright
Adam Ayd
@adamayd
Hey everyone, I’m looking for some help with the Twitch TV API.
Ken Haduch
@khaduch
@adamayd - please post your question and we'll try to help
Adam Ayd
@adamayd
I made a function that successfully makes the xhr and returns JSON, but how do I do it for a list of users that doesn’t “overload” the API? Do I just map through the array of users calling the API in each iteration?
Ken Haduch
@khaduch
@adamayd - I think that that is what you have to do, unless they provide a method in the API for requesting multiple user's data in one shot? But most of the projects that I've looked at have used a for loop or forEach method and made a series of calls, one per user.
Aditya
@ezioda004
^ You have to iterate through the array and call the API
Adam Ayd
@adamayd
That sucks, I was hoping for the ability to call multiple users at once. The actual TwitchTV API allows it, but the glitch.me Twitch TV doesn’t or at least doesn’t follow the format of the Twitch API
Thanks @khaduch and Thanks @ezioda004
CamperBot
@camperbot
adamayd sends brownie points to @khaduch and @ezioda004 :sparkles: :thumbsup: :sparkles:
:cookie: 368 | @ezioda004 |http://www.freecodecamp.org/ezioda004
:star2: 3669 | @khaduch |http://www.freecodecamp.org/khaduch
Tom
@moT01
@DavidBelmares any luck?
David Belmares
@DavidBelmares
Thanks for checking in, but yes I got it to work
Tom
@moT01
was it getting stuck like a said or was i wrong there?
David Belmares
@DavidBelmares
Both
Oh
I didn't read the message lol
It did have a typo
Wasiu Idowu
@Hoxtygen
hello, anybody home? I just got hit.
Juan Marin
@JuanMP429
hello
Joseph A. Sangine
@HTML-joe
@khaduch I think i made the adjustments suggested but still no dice
Juan Marin
@JuanMP429
what is that?
coderAkmal
@coderAkmal
Any wordpress user here?
@coderAkmal
Any wordpress user here?
I need to hide a specific (sign up) page from logged in users. How do I do that
?
Deepak Manjunath
@Deepak2322
does anyone know how to disable focus ring only for mouse users ?
Vidžius
@sursider
Anyone got idea how I could make website with changeable language with js/jquery?
with php it would be easier, but I don't want to use php
i was thinking about making divs with id's and to change content inside depending on language, but maybe there's a better way?
Claudio Restifo
@Marmiz
@sursider there are many libraries that helps you handle that:
usually referred as i18n
primuscovenant
@primuscovenant
@heroiczero thx
CamperBot
@camperbot
primuscovenant sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 2132 | @heroiczero |http://www.freecodecamp.org/heroiczero
Thayyeb salim
@Thayyebsalim
image.png
There is a small space in between zero and decimal point
Henry
@GitHub-Henry
@Thayyebsalim when i test a calculator, a standard test i use is to use the
calculator to input the calculation .1 + .2 = i expect the answer .3
without any other digits trailing.
IvanKuzaev
@IvanKuzaev
Hello! Please help! I'm coding a calculator. I added keypress event listener and so it`s possible to use numpad keyboard. But you can also click the buttons directly with the mouse. The problem is that when you ress a numpad key after that the button is not more visible pressable. Why does this happens?
https://codepen.io/Ivan041/pen/JMrBdX
Stephen James
@sjames1958gm
@IvanKuzaev Your keypress handler adds the border-style:outset which overrides the .button:active CSS because it is on the element.
@IvanKuzaev Try this in your setTimeout to remove the inset style
window[key]["style"]["border-style"] = "";
Thayyeb salim
@Thayyebsalim
@sjames1958gm Could you help me out with this small space appearing between 0 and .(decimal) button?
https://codepen.io/Thayyeb_Itachi/pen/pWRqoM
IvanKuzaev
@IvanKuzaev
@sjames1958gm O, it works! Thank you very much! If I understand it right, keypress hander "overwrites" the style attriute on the fly and "hides" the button:active pseudo class. By the statement window[key]["style"]["border-style"] = "" we make that pseudo cass again visible. How simple is it!
CamperBot
@camperbot
ivankuzaev sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8835 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm
Stephen James
@sjames1958gm
@IvanKuzaev Yes, I believe that is what is happening - styles on the element override styles on the class, and setting to "" makes it go away on the element.
@Thayyebsalim Let me look
Thayyeb salim
@Thayyebsalim
@sjames1958gm Thank you