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
Josh Beyer
wait thats backwards, the paragraph is going out of the header
actually, everything after nav is placed out side the header for some reason
I can just take the h1 and p out of the header, and it works just fine.. I just don't like not know what I was doing wrong.
Ken Haduch
@Joshbeyer - I think that the margin and padding are pushing your h1 and that paragraph down outside of the header?
Josh Beyer
I have been up for a long time.. I knew it was a simple mistake lol i can't believe I overlooked that
Ken Haduch
If you turn off the fixed height in the header code, then the row / column part drops down below the "We'll help you design yours" text...
@Joshbeyer - it's crazy stuff... I've been up a long time, too... going offline now - hope I gave you something to go on? Good luck!
Josh Beyer
Yes, its working fine now. Thanks!
Faddah Wolf
hi all, i could still use some help with my portfolio project, i keep getting it near done, then something messes up and i’m stuck again. here’s the codepen: https://codepen.io/faddah/pen/egVyrM — what is happening now is, in the portfolio section, suddenly, the top three panels that had actual <iframe>’s in them to actual projects of mine, suddenly vanished and are not showing. it may have been some typo or something left out in my HTML or CSS, i’ve combed them looking for what caused this, but can’t seem to find it. any help, please?
In console when i did this
var test = 1;
why it returns 2 outputs?
any idea?
V Arun Kumar
Hey guys, i'm working on twitch project and based on the guidelines given in the project page of fcc, they mentioned to use https://wind-bow.gomix.me/twitch-api/ but when i try to use the link in console i get redirection error and redirecting to https://wind-bow.glitch.me/twitch-api/, and i switched to glitch.me and its working. i just want to ask whether it is alright to use glitch or is there any other way to use gomix?
V Arun Kumar
@Rakesh18754 the first output 1 is from console.log(print value to console not return value to console) and the second output undefined is the return value of console.log, after console.log(test);call a function(ofc you have to define it first) and see what it returns.
@Rakesh18754 for any queries about JS use this room https://gitter.im/FreeCodeCamp/HelpJavaScript

hey, in pomodor clock i have an onclick on a div that start the timer
ho do i prevent additional clicks on that div so it wont activate the function again and again?


@o2ri disable it on click
how to do it?
Winnie Wu
@fortMaximus Thank you for the suggestion and encouragement.
winniefuller sends brownie points to @fortmaximus :sparkles: :thumbsup: :sparkles:
:cookie: 702 | @fortmaximus |http://www.freecodecamp.com/fortmaximus
basically something like this: onclick="this.disabled=true
search around a bit, there are different ways to do it
tried onclick="this.disabled=true;timer(0.1)", didnt work ,
but thanks for the direction
one more thing lets say i want to ad a stop button , what is the way it can stop the interval from antoher function?
V Arun Kumar
@arunvkumr this works apparently
so I guess its ok to use it
V Arun Kumar
@kirbyedy thanks :+1:
arunvkumr sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
:star2: 1986 | @kirbyedy |http://www.freecodecamp.com/kirbyedy
@o2ri $("your button").attr("disabled", true);
how do i form the function name after onclick="this.disabled=true;
is it jquery?
i am tryinn not to learn it at the beging
Mohamed Derhalli
@o2ri why not doing onclick='myfunc()'
then u would have
function myfunc(){
//do whatever here

logs - 6

any idea why?

@Rakesh18754 Javascript has no strict typing and so it converts the "7" to a 7 in an integer calculation
Spyrantis Theodoros

im working on the twitch api project, can i get some help please? How and i suppose to make the buttons work? :/


Please help anyone I am stuck
does anyone know of a free weather api that runs on javescript?? TIA to use for the weather project??
@snickerz freecodecamp links to this one https://openweathermap.org/current#geo
@jtan3 thank you will try that
snickerz sends brownie points to @jtan3 :sparkles: :thumbsup: :sparkles:
:cookie: 360 | @jtan3 |http://www.freecodecamp.com/jtan3
Is it just me, or is the editor in the tutorials a bit buggy? Whenever it loads the next task and I set the cursor to edit, I end up in the wrong line when starting to edit.
@defregga i use code pen for my tutorials then paste my answer into the tutorial