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
ALINATSUI
@ALINATSUI
Would append work with AJAX?
Jonathan
@JonKaric
It should do
ALINATSUI
@ALINATSUI
ok I'll give it a try @jonkaric.
Chase
@Belax8
@ALINATSUI try this $("p").append("Current temperature in " + " " + location + ", " + "is " + "" + fahrenheit + "" + ". " + "It is" + " " + temp_f + "."+ " The current uv index is" + " " + uv + ". " );
add that just before your console.log
ALINATSUI
@ALINATSUI
aha! @belax8....
Chase
@Belax8
Ya. That's the basic idea. Now you can just customize it to the way you want.
ALINATSUI
@ALINATSUI
Cool @belax8...I guess I'll take out the console.log since I won't need it?
Chase
@Belax8
@ALINATSUI also, I think it's easier to write Javascript in the javascript section of codepen instead of in the HTML section. It's easier to see if you have any errors. And the colors help me read the code faster. Just a tip.
ALINATSUI
@ALINATSUI
@Belax8 Good idea!
Benji
@benjinsi
Hello folk
i'm starting using codePEn. I don't know how to get an url link to validate my "Build a Tribute Page". Someone can help?
Samuel Jones
@samjcs
Hello I need some help with understanding why this centering dose not work the way I think it does
if I do with 100% and margin: 0 auto; it does not center but if I decrease the width it does>
Jonathan
@JonKaric
Headings are display:block by default, so they already are width:100%
just put text-align:center; on the h1
Samuel Jones
@samjcs
Gotcha
I thought way to hard about that
Chase
@Belax8
@benjinsi open up your pen and just copy the url that you have in your browser
Benji
@benjinsi
@Belax8 thanks!
CamperBot
@camperbot
benjinsi sends brownie points to @belax8 :sparkles: :thumbsup: :sparkles:
:cookie: 406 | @belax8 |http://www.freecodecamp.com/belax8
Chase
@Belax8
anytime @benjinsi
Jonathan
@JonKaric
What are brownie points? what do they do?
Chase
@Belax8
@JonKaric They aren't really anything. They are just a way of 'rewarding' people that help out. But you can't do anything with them
You can send them by saying thank you and then someone's name
thanks @JonKaric
CamperBot
@camperbot
belax8 sends brownie points to @jonkaric :sparkles: :thumbsup: :sparkles:
:warning: could not find receiver for jonkaric
Jonathan
@JonKaric
Ohh i see, thanks
Chase
@Belax8
Anytime!
Benji
@benjinsi
in case i leave the webPage for a while and later, would like to recover my previous work on codePen , how can i get my works back?
Chase
@Belax8
@benjinsi you need to a codepen account (it's free) and then you can just save all your pens and you can access them whenever
Benji
@benjinsi
@Belax8 fine thanks
CamperBot
@camperbot
benjinsi sends brownie points to @belax8 :sparkles: :thumbsup: :sparkles:
:warning: benjinsi already gave belax8 points
juw3lstar
@juw3lstar
how do i even out the space of a line, bottom and top compared? cause there is different space between lines.
the head-page text :)
do you understand what i mean?
Chase
@Belax8
@juw3lstar Sorry, I'm not sure what you are asking. Are you trying to make your Home Introduction Projects Contact more centered vertically?
juw3lstar
@juw3lstar
no, more horizontally, they are already centered vertically.
there is different space between the top of the text and the top-border and the bottom of the text and the bottom border
although i have the same padding/margin on top/bottom
Jonathan
@JonKaric
it's because you have added a max width of / max-height: 74px; /
Reggie
@Reggie01

@pawan92
Not sure if your found your answer. You have filters in place on your codepen.

if (data.status===422 ){ 
  // your dead channels
} else if( data. stream ) { 
  // your online channels 
} else { 
  // your offline channels
}

This is currently filtering your online, offline and dead channels.

juw3lstar
@juw3lstar
i only applied that to head-page
Jonathan
@JonKaric
remove this and your parent (in this case head-page) will be as large as it's children
Chase
@Belax8
@juw3lstar or you can change your .name css to padding: 10px;