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
BrianWilliams28
@BrianWilliams28
@SkyC0der when defining nextNumber how would i differentiate between last number of the array and the current number of the array?
LiciniusRex
@hashtagyolo1
thanks again @SkyC0der
CamperBot
@camperbot
hashtagyolo1 sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:warning: hashtagyolo1 already gave skyc0der points
Gulsvi
@gulsvi
@BrianWilliams28 You need to add the last two numbers of the array to get nextNumber
Gaurav
@gauravmagan
@SkyC0der thank you
CamperBot
@camperbot
gauravmagan sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 2521 | @skyc0der |http://www.freecodecamp.com/skyc0der
Thomas Alves
@suforozinho
@SkyC0der hey, sorry for late reply, well, i think it's my computer, thanks
CamperBot
@camperbot
suforozinho sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 2522 | @skyc0der |http://www.freecodecamp.com/skyc0der
Gulsvi
@gulsvi
No problem
BrianWilliams28
@BrianWilliams28
@SkyC0der yeah i get that part, i'm just not connecting the pieces in my mind of how to write it out
Gulsvi
@gulsvi
@BrianWilliams28 How would you get the last element of an array?
(socratic question)
LiciniusRex
@hashtagyolo1
@Lorrie01 I can build a quote generator like that. It's the api I've been struggling with. FCC has done nothing to explain what I'm actually doing with it so having to try and cobble it together from elsewhere and help on here
BrianWilliams28
@BrianWilliams28
@SkyC0der the very last element or the element preceeding the current element?
Gulsvi
@gulsvi
You need both of those
Lorrie Pearson
@Lorrie01
@hashtagyolo1 I apologize. I was only trying to help.
LiciniusRex
@hashtagyolo1
@Lorrie01 sorry, didn't mean to come across rude. Been struggling with this for a bit now. Without getting this call to work I can't do any more on site. Somewhat stressful
BrianWilliams28
@BrianWilliams28
@SkyC0der arr.length - i?
Gulsvi
@gulsvi
@BrianWilliams28 Correct, that would get you the last element
Lorrie Pearson
@Lorrie01
no worries @hashtagyolo1 these projects can get stressful. I'm working on the Javascript calculator for FCC and finally finished an Etch-a-Sketch project for a different program. Hope you work it out soon. Take care
Gulsvi
@gulsvi
@BrianWilliams28 Use the length - 1 and length - 2 for the last two elements
LiciniusRex
@hashtagyolo1
I'll keep chipping away at it @Lorrie01
BrianWilliams28
@BrianWilliams28
@SkyC0der var nextNumber = arr[arr.length - 1] + arr[arr.length - 2]; ?
Gulsvi
@gulsvi
yes @BrianWilliams28
LiciniusRex
@hashtagyolo1
I've stripped out all extraneous code. There is nothing but the call and a button. And yet still it does not work. I am very confused :/
BrianWilliams28
@BrianWilliams28
@SkyC0der thanks! i'll see what i can do from here
CamperBot
@camperbot
brianwilliams28 sends brownie points to @skyc0der :sparkles: :thumbsup: :sparkles:
:star2: 2523 | @skyc0der |http://www.freecodecamp.com/skyc0der
Gulsvi
@gulsvi
@hashtagyolo1 You still haven't added jQuery
LiciniusRex
@hashtagyolo1
sigh. I remember now :/
literally 4 clicks to resolve. Thanks once again.
Gulsvi
@gulsvi
:)
LiciniusRex
@hashtagyolo1
I really do not understand how to get the data from my api and make it useable in a page.
iso
@iso1048
@hashtagyolo1 Do you know how to access data from nested objects/arrays?
LiciniusRex
@hashtagyolo1
@gothamknight Just had a buddy jump on the line and help me out. I do know how to do that, but wasn't sure enough of myself to know where to go
https://codepen.io/LiciniusRex/pen/ZJoGVp
All functioning. Now to make it pretty
iso
@iso1048
@hashtagyolo1 awesome.
LiciniusRex
@hashtagyolo1
I can already see how much of a change this will make to the complexity of websites I can make. It's pretty eye opening tbh
Gaurav
@gauravmagan
hi calling the data from mock generated
Screen Shot 2017-08-21 at 5.04.11 PM.png
Lallo Vigil
@lalov1
I've been struggling with finishing some items on the Simon project. Could anyone help me? https://codepen.io/lalov1/pen/MvgvxY
Gaurav
@gauravmagan
Screen Shot 2017-08-21 at 5.04.29 PM.png
but unable to display the data on front end
Mois├ęs Man
@moigithub
let data; <-- have no values
http://bootstrap-table.wenzhixin.net.cn/examples/
should be something like
let data =[{first_name: 'boo', last_name:'baaa', Phone: '341324324', email:'asdfs@mail.com', image:'xxx'}]
Gulsvi
@gulsvi
And, that table should probably have a <thead> and <tbody>
(not sure if bootstrap react adds that stuff in for you)