Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Jun 19 2020 20:09
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
Stephen James
@Seahchye If you have confirm that you are getting the quotes (maybe use console.log in your forEach)
You can then examine the json and determine what string values you want to put into your page.
you can use the browser DOM API or something like jquery to do that
@padunk thanks! I have inserted a placeholder for articles without images
alessiochiffi sends brownie points to @padunk :sparkles: :thumbsup: :sparkles:
:cookie: 391 | @padunk |http://www.freecodecamp.com/padunk
Stephen James
@leet-hacks Each click drives the next color - so you don't need a loop.
Screen Shot 2017-11-13 at 12.45.39.png
can anyone tell me why this route is not working please
Seah Eng Chye
@sjames1958gm How do i confirm? clicking on the button?
Abraham Anak Agung
@RogeMateos is it background-image
Stephen James
@Seahchye Not sure I understand your question.
Assume you have global
var colorIndex = 0;
in your click handler
if (isColor) {
   // set color to white 
} else {
   // color is colors[colorIndex]
  colorIndex = (colorIndex + 1) % color.length
isColor = !isColor;
@RogeMateos src looks like a server side directory - looking at your dist directory there is no src
Seah Eng Chye
@RogeMateos has a file called 'src', the code might be confused here
i also tried ../img/background_vinyl.jpg
Seah Eng Chye
@sjames1958gm I set up the codes through FCC JSON lessons, but I dont get what is colorIndex
Bhoomi Khanderia
Hello! How can I implement scroll triggered animation?
thanks @jtan3
ryan-ed sends brownie points to @jtan3 :sparkles: :thumbsup: :sparkles:
:cookie: 463 | @jtan3 |http://www.freecodecamp.com/jtan3
Stephen James
@Seahchye colorIndex would replace your i in the for loop - a global index into your colors
@Bhoomi-Github Lil bit of jquery :-)
Bhoomi Khanderia
@alpox Hi! Yes I was googling it but did not find anyhting specific. I want an image to appear on scroll and settle with overshoot kind of animation
Renan Cunha
Hey guys! Newbie here.
Just finish my first project (The tribute page). Could someone review ?
Pascal Clanget

Hey folks, I get this error in my react application:

POST http://localhost:4000/graphql 500 (Internal Server Error)
HTTPFetchNetworkInterface.fetchFromRemoteEndpoint @ apollo.umd.js:520
(anonymous) @ apollo.umd.js:535

This is my networkInterface:

const networkInterface = createNetworkInterface({
  uri: "http://localhost:4000/graphql",
  opts: {
    credentials: "same-origin",
    mode: "no-cors" //remove this for production => Security!

Did I declare something wrong? Without the anti cors option, I get an cross-server-error.

Pascal Clanget
@sarkioja looks good. Add target="_blank" to the link so that they work properly when being clicked on
Renan Cunha
@Gh05d Tks for the heads up! I forgot about that. Already update the code.
Shahe Imran
Hey Guys, I am new to this Group
Markus Kiili
@imonboss Hi.
Shahe Imran
Hi @Masd925
Ken Haduch
@imonboss - hey, welcome to freeCodeCamp (if you're new to the program) and welcome to HelpFrontEnd
Shahe Imran
Yes I am brand New to this world @khaduch
Ken Haduch
@imonboss - welcome aboard!
Shahe Imran
Thanks Captain @khaduch
imonboss sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3499 | @khaduch |http://www.freecodecamp.com/khaduch
Ken Haduch
@imonboss :)
Shahe Imran
@khaduch :D
Hope I will have all the Noob Help I need from this awesome community :)
Ken Haduch
good to have new people coming into the chat rooms - there used to be a lot more activity here, it's a good learning environment, many good contributors to help out here.
Shahe Imran
Happy to be part of this nice community! Hopefully I will learn many new things
How can I use the link in 27th Line JS to add background image or icon to https://codepen.io/lion18/pen/yzrKQw
which link if u can send/
Tunde Oretade
hi all any ideas on how to split multiple results from wikisearch into paragraphs in my html on the fly?. that is I want my html to know the amount of search result and then create that amount of paragraphs and then slot each results into their respective paragraphs in no particular order?
how are you getting results / or what do results come as
i had single div and i would append each item to
@tundeiness In the Ajax success code block — success: function (data) { ... } — you could create an array to hold the results of data.query.pagesand then use the length of that array to create a loop which creates the right number of paragraphs, each with one of the results.
Max Voronov
Hello everyone :)
Kaz Baig
@maxv :wave:
Marius Nicolae
Hello guys, can someone help in understanding a little problem ?
A-J Roos
@bytao7mao You post the problem you have and someone will assist if they can