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
Stephen James
@sjames1958gm
@leet-hacks Each click drives the next color - so you don't need a loop.
Roge
@RogeMateos
Screen Shot 2017-11-13 at 12.45.39.png
can anyone tell me why this route is not working please
Seah Eng Chye
@Seahchye
@sjames1958gm How do i confirm? clicking on the button?
abraham anak agung
@padunk
@RogeMateos is it background-image
Stephen James
@sjames1958gm
@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
@Seahchye
@RogeMateos has a file called 'src', the code might be confused here
Roge
@RogeMateos
i also tried ../img/background_vinyl.jpg
Seah Eng Chye
@Seahchye
@sjames1958gm I set up the codes through FCC JSON lessons, but I dont get what is colorIndex
Bhoomi Khanderia
@bhoomikhanderia
Hello! How can I implement scroll triggered animation?
Ryan
@Ryan-ED
thanks @jtan3
CamperBot
@camperbot
ryan-ed sends brownie points to @jtan3 :sparkles: :thumbsup: :sparkles:
:cookie: 463 | @jtan3 |http://www.freecodecamp.com/jtan3
Stephen James
@sjames1958gm
@Seahchye colorIndex would replace your i in the for loop - a global index into your colors
alpox
@alpox
@Bhoomi-Github Lil bit of jquery :-)
Bhoomi Khanderia
@bhoomikhanderia
@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
alpox
@alpox
Renan Cunha
@sarkioja
Hey guys! Newbie here.
Just finish my first project (The tribute page). Could someone review ?
https://codepen.io/sarkioja/full/zPZoLY
Tks!
Pascal Clanget
@Gh05d

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
@Gh05d
@sarkioja looks good. Add target="_blank" to the link so that they work properly when being clicked on
Renan Cunha
@sarkioja
@Gh05d Tks for the heads up! I forgot about that. Already update the code.
Shahe Imran
@imonboss
Hey Guys, I am new to this Group
Markus Kiili
@Masd925
@imonboss Hi.
Shahe Imran
@imonboss
Hi @Masd925
Ken Haduch
@khaduch
@imonboss - hey, welcome to freeCodeCamp (if you're new to the program) and welcome to HelpFrontEnd
Shahe Imran
@imonboss
Yes I am brand New to this world @khaduch
Ken Haduch
@khaduch
@imonboss - welcome aboard!
Shahe Imran
@imonboss
Thanks Captain @khaduch
CamperBot
@camperbot
imonboss sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3499 | @khaduch |http://www.freecodecamp.com/khaduch
Ken Haduch
@khaduch
@imonboss :)
Shahe Imran
@imonboss
@khaduch :D
Hope I will have all the Noob Help I need from this awesome community :)
Ken Haduch
@khaduch
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
@imonboss
Happy to be part of this nice community! Hopefully I will learn many new things
lion18
@lion18
How can I use the link in 27th Line JS to add background image or icon to https://codepen.io/lion18/pen/yzrKQw
dinesh
@1532j0004kg
which link if u can send/
tundeiness
@tundeiness
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?
Tom
@moT01
how are you getting results / or what do results come as
i had single div and i would append each item to
Paul
@candlefish
@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
@maxv
Hello everyone :)
Kaz Baig
@kbaig
@maxv :wave:
Marius Nicolae
@bytao7mao
Hello guys, can someone help in understanding a little problem ?
A-J Roos
@Asjas
@bytao7mao You post the problem you have and someone will assist if they can
Marius Nicolae
@bytao7mao

I have the following :

"Create a view consisting of a list of battles. The list should be:
-filterable by attacker and /or defender country;
-searchable by country (eg. I search for italy, the list should display only battle with italy as defender or attacker)
UI/UX bonus points!
API: www.exampleee.com/en/etc

I have a json file and from what i understand i have to make some API calls ?
Max Voronov
@maxv
@bytao7mao The link leads to an error page
Marius Nicolae
@bytao7mao
the link is fictiv