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
Apollo
@enigmacipher
Using selectors wont work when I style multiple tables, adding classes to each element is time consuming. Would be nice to use a container
Ali Bulut
@ali27001
@enigmacipher you want to put a line between them
Simon Cordova
@gbsimon87
Hey all! :)
Tom
@moT01
:wave:
alteducation
@alteducation
HI Can Someone help me with a bit of yaml code
A. J. Bozdar
@moajday
Yamk code here at FCC?
Jonathan Cunanan
@jcunanan05
hello i am doing basic css but it seems I have a problem withfloat left and inline-block. I was just wondering should I learn flexbox to make this layout good?? https://codepen.io/jcunanan05/pen/gWmraE
Tom
@moT01
@jcunanan05 flex is very useful - i would recommend to learn it either way
https://www.youtube.com/watch?v=G7EIAgfkhmg
Jonathan Cunanan
@jcunanan05
thanks @moT01 !! ok i should start learning it right now. Any advice for me how should i tackle the overlapping box in my codepen??
CamperBot
@camperbot
jcunanan05 sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 973 | @mot01 |http://www.freecodecamp.org/mot01
Jonathan Cunanan
@jcunanan05
ohhh i saw the guide. it may be the fastest solution
Tom
@moT01
im not a fan of floats and dont use them much - perhaps cause i dont understand them completely and struggled the few times i used them
what are you going for
Jonathan Cunanan
@jcunanan05
just putting the overlapping box in the container. haha maybe i should use flex then so the content would be inside the parent div
because float makes the content be on top of the parent that's why it overlaps i think
maybe i should remove that float and learn about flex containers haha
Aditya
@ezioda004
@jcunanan05 Why do you have float: left on both child divs?
Jonathan Cunanan
@jcunanan05
thanks @ezioda004 i should change it then
CamperBot
@camperbot
jcunanan05 sends brownie points to @ezioda004 :sparkles: :thumbsup: :sparkles:
:cookie: 430 | @ezioda004 |http://www.freecodecamp.org/ezioda004
Aditya
@ezioda004
@jcunanan05 I mean if you remove them it wont overflow, whats your intention exactly?
Emil
@aguyinmontreal
Hi guys! Can someone suggest me good resources on how to connect a React front-end to a back-end? How to package/distribute all the files? How to connect with the APIs? Which APIs are required? How using APIs in React is different than in JQuery? How to get real-time updates from the back-end?
Thanks!
Kartik V
@zephy20
@aguyinmontreal are you totally new to js
Igor Pugach
@etcIgor
hi everyone, who can prompt how to align text to the middle with bootstrap. I can't cope in any way... https://codepen.io/etcIgor/pen/eVZRyy?editors=1000
Stephen James
@sjames1958gm
@aguyinmontreal create-react-app is designed to create a distributable package for React.
The APIs would depend on the application.
You can use JQuery to make your API calls in React, just have to put the requests in specific life cycle methods (you can also use browser fetch API)
Real time updates would generally be done with web sockets and that is not React specific
@etcIgor which text are you trying to center?
Igor Pugach
@etcIgor
that is under the image...
Emil
@aguyinmontreal
@kartikv20 no, I'm good with Express/NodeJs/Jquery / however React is new to me
Kartik V
@zephy20
for API, jQuery is outdated
use fetch
it has a relatively simple format
Sweet Coding :)
@SweetCodingInc
@kartikv20 whoaaa????
since when XMLHttpRequest become outdated?
Emil
@aguyinmontreal
@sjames1958gm thanks, I heard that when using React, we had to avoid mix it with Jquery at all cost, what's your stand on that? What else do you suggest for APIs?
CamperBot
@camperbot
aguyinmontreal sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8935 | @sjames1958gm |http://www.freecodecamp.org/sjames1958gm
Aditya
@ezioda004
@etcIgor Since that p has col-md-8 col-md-offset-2 try
p {
   text-align: right;
}
Jonathan Cunanan
@jcunanan05
@aguyinmontreal axios is good too
Stephen James
@sjames1958gm
@aguyinmontreal I don't agree with avoid at all cost type statements. You use the tools that are appropriate.
I would look to solving the problem with native tools such as fetch API before going to use jquery.
Certainly a lot of jquery is HTML formatting which would not be useful when you are using React for that.
Igor Pugach
@etcIgor
but in the original version css is not used at all (
Kartik V
@zephy20
@SweetCodingInc well not outdated, but more people are shifting to fetch
Aditya
@ezioda004
@etcIgor Ok without CSS then add class = "text-right" on that p
Igor Pugach
@etcIgor
didn't help, will experiment further, thanks
Aditya
@ezioda004
Sure, its a bootstrap class and works fine when I tested on your pen.
Emil
@aguyinmontreal
@sjames1958gm so for example, on Gitlab, when people are adding comments on an open "issue", and I see the new comments appearing live on my screen, that's necessarily websockets? It cannot be done with API requests?
Pieter Stokkink
@forkerino
@aguyinmontreal you can use API calls for it, but then you need to poll the server manually every x amount of time