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
Pendramon
@Pendramon
@saeedjassani Its just button hover and button active it doesn't change the background color on the page tho
@saeedjassani also your button is set to change to the first color of the colors array you need to do a for loop or something so it changes to different colors
h1tag
@h1tag
@lucky73 on Codepen?
Mohak Chaturvedi
@lucky73
@h1tag yes
h1tag
@h1tag
@lucky73 @lucky73 did you add jQuery in the settings?
Mohak Chaturvedi
@lucky73
yes i have added it
h1tag
@h1tag
@lucky73 try putting the js code in the js box/section
and remove the script tags of course, when u put it there
Mohak Chaturvedi
@lucky73
let me try
Pendramon
@Pendramon
@saeedjassani also there is no need to set the box's style background-color in js you can just do it in css
or is there let me check what you have done xd
Mohak Chaturvedi
@lucky73
@h1tag it is working now i thing the script tags are the problem
@h1tag thank you
CamperBot
@camperbot
lucky73 sends brownie points to @h1tag :sparkles: :thumbsup: :sparkles:
:cookie: 816 | @h1tag |http://www.freecodecamp.com/h1tag
h1tag
@h1tag
@lucky73 yea, you have to put the js code in the js section on Codepen
leomartin
@abhirupleo
how do i implement the tweet button in the quote machine
?
yunyanliu
@yunyanliu
How to implement the function that click a tag of navbar, then go to relevant area in the same webpage?
Pendramon
@Pendramon
@saeedjassani Here it is i just implemented a random number generator between 0 and the length of the colors array
h1tag
@h1tag
@yunyanliu you can use anchor elements with ids
for example:
<a href="#about">about</a>

<div id = "about">
<!-- content -->
</div>
yunyanliu
@yunyanliu
thank you, @h1tag
CamperBot
@camperbot
yunyanliu sends brownie points to @h1tag :sparkles: :thumbsup: :sparkles:
:cookie: 817 | @h1tag |http://www.freecodecamp.com/h1tag
Saeed Jassani
@saeedjassani
@Pendramon thanks for that, but I was going to implement random number generator myself
CamperBot
@camperbot
saeedjassani sends brownie points to @pendramon :sparkles: :thumbsup: :sparkles:
:cookie: 134 | @pendramon |http://www.freecodecamp.com/pendramon
need help in navbar!
i already added navbar-right class For "about " but it didn't go in that way.
help me out
Shukhrat
@mshukhrat
Hey guys! I have an issues with adding image to my webpage in codepen can somebody help me with fixing this? https://codepen.io/Shukrhat/pen/EmqqRJ
prince verma
@verma-o
@mshukhrat where you want to add an image in your code?
Hoang Thanh Tu
@hoangthanhtu
@mshukhrat where is place that you want to add image?
ZaynMalloc
@ZaynMalloc
Shukhrat
@mshukhrat
thank you guys! I`m done
BangYuWen
@bangyuwen
Hello, does anyone's dark sky api still works now?
It worked yesterday.
https://jsbin.com/bapahuquyi/edit?js,console
This is the console Error code:
Fetch API cannot load https://api.darksky.net/forecast/abc151891e74f78923426c014ba187e4/37.8267,-122.4233. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://null.jsbin.com' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
h1tag
@h1tag
@bangyuwen add ?callback=? at the end of the darsky url
prince verma
@verma-o
https://codepen.io/flintsky1/pen/EmBbBG
anyone ? need help in class called "navbar-right "
?
BangYuWen
@bangyuwen
@h1tag
Do you mean like this? It still can't work haha
https://jsbin.com/bapahuquyi/edit?js,console
h1tag
@h1tag
@bangyuwen it should work with getJSON. Don't know about fetch
BangYuWen
@bangyuwen
@h1tag I'm trying AJAX now. But it seems not working.
I'll try getJSON later!
h1tag
@h1tag
@bangyuwen I think in ajax you have to set dataType to jsonp
alpox
@alpox
@bangyuwen if you want to use fetch, you can use crossorigin.me
BangYuWen
@bangyuwen
@alpox I fixed it with adding prefix https://cors-anywhere.herokuapp.com/. THX a lot.
CamperBot
@camperbot
bangyuwen sends brownie points to @alpox :sparkles: :thumbsup: :sparkles: