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
abhijith shenoy
@shenoyabhijith
right center
sennator
@sennator2
hi guys
do we have to know the stuff we copy when we use API
i mean i could not write that stuff by myself in a decade
or point is just to understand what it do
?
Sorin Ruse
@sorinr
@shenoyabhijith center to what?
Sorin Ruse
@sorinr
@sennator2 try to read the docs, look at the examples given by each api and understand what will be the response you get when calling that api. most of the apis have pretty much the same kind of url structure
sennator
@sennator2
@sorinr thanks
CamperBot
@camperbot
sennator2 sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:star2: 1073 | @sorinr |http://www.freecodecamp.com/sorinr
sennator
@sennator2
im pretty much overwhelmed with the stuff i just saw
so not sure if we are supose to be able to come up with this stuff by ourselves
or we just need to know how to manipulate this
Sorin Ruse
@sorinr
@sennator2 don't worry about that. its normal for the beginning. with time it will seem a piece of cake
sennator
@sennator2
@sorinr hope so :)
Sorin Ruse
@sorinr
@sennator2 read a lot, practice/fail a lot and step by step you will learn.
sennator
@sennator2
@sorinr can you tell me why it wont display a second quote when i click the button?
Akash Kumar Verma
@AkashKumarVerma
@shenoyabhijith what do you you want it just beside the weather text or what
Sorin Ruse
@sorinr
@sennator2 why do u call http://wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1 on click event? and not same api http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1&callback=
Clyde Lobo
@oppiniated
@sennator2 your are missing http://quotesondesign.com in your ajax call
sennator
@sennator2
@oppiniated @sorinr thanks :))
Sorin Ruse
@sorinr
@sennator2 i would place all api call and logic into an unique function like getQuotes(logic in here) and call this function on both doc ready or btn click event
CamperBot
@camperbot
sennator2 sends brownie points to @oppiniated and @sorinr :sparkles: :thumbsup: :sparkles:
:warning: sennator2 already gave sorinr points
:cookie: 492 | @oppiniated |http://www.freecodecamp.com/oppiniated
sennator
@sennator2
@sorinr i will do that as soon as I figure out what it means :D
@sorinr just kidding i'll give it a try :)
Tomas
@TOMEJUS
Hey everyone! hope everyone is fine!
Sorin Ruse
@sorinr
@sennator2 :+1:
@TOMEJUS hi
Akash Kumar Verma
@AkashKumarVerma
@TOMEJUS hi
Tomas
@TOMEJUS
Im working on my portfolio assignment, and I was wondering if someone could help me about bootstrap, Im stuck with this for a few hours already, just cant wrap my head about it.
I can't figure out how to eliminate empty spaces using bootstrap column, basically I create div with class col-xs-4 and inside I put an IMG, everything's is fine (I center the image with center-block). However if I put a border around the image it leaves the empty spaces from both sides (since the img was centralized) how to get rid of these empty spaces? Problem isn't the border (as I can put it directly on image) but about wrapper itself, I can't add another wrapper because it will still have the size of col-xs-4, and ofcourse can't put a fixed width which would defeat the purpose of bootstrap. Any suggestions? I imagine it may be confusing, so there is an image with mark-up: https://s28.postimg.org/ns6ynkrn1/emptyspaces_TRUE.png what I want to achieve is: https://s27.postimg.org/kvh3a3fab/emptyspaces.png (without using IMG tag itself, but rather putting border on wrapper and eliminating white spaces) is that even possible?
Not sure if you can see the pictures, if anyone is even alive/checking it. let me know! thanks in advance
Sorin Ruse
@sorinr
@TOMEJUS have you used class="container" ?
Tomas
@TOMEJUS

Yes I am, well container-fluid

It goes like this:

container-fluid
row
col-xs-4
img tag

Akash Kumar Verma
@AkashKumarVerma
@TOMEJUS link to your code please
Sorin Ruse
@sorinr
@TOMEJUS take a look at this example to understand whats going on
Tomas
@TOMEJUS
http://codepen.io/monkevicius/full/ygevVY/ A link, after you hoover over the image u'll get the idea, WHY i need this. I want to scale image bigger within the same dimensions, but since I have white spaces IT FILLS spaces and then works like it should, so basically if it wouldn't have empty spaces it would be perfectly. Btw, ppreciate all the help guys!
Any other feedback is welcome as well!
Akash Kumar Verma
@AkashKumarVerma
@TOMEJUS the image is just scalling and nothing happening
Tomas
@TOMEJUS
@AkashKumarVerma image is supposed to scale. The idea is: it scales BUT WITHIN its dimensions, now since there is empty spaces it scales TILL IT fills the empty spaces and then continues to scale within its dimensions, but the problem is not there, problem is the wrapper can't figure it out how to eliminate the empty spaces, I believe I am looking the wrong side :(
Akash Kumar Verma
@AkashKumarVerma
@TOMEJUS i am sorry but what empty space are you taking about i can see only red borders and the image scaling inside them
Tomas
@TOMEJUS
Found it @AkashKumarVerma this is what I want to achieve: http://jsfiddle.net/hashem/7vY7v/ exactly like this, however due to empty spaces it fills them up, which I do not want to happen
@AkashKumarVerma https://s28.postimg.org/ns6ynkrn1/emptyspaces_TRUE.png these spaces, can you see them?
Akash Kumar Verma
@AkashKumarVerma
@TOMEJUS whatbrowser are you using
Tomas
@TOMEJUS
Chrome, I believe if I'd put bigger size images the issue would go away, but I really want to solve this without doing that :(
Akash Kumar Verma
@AkashKumarVerma
@TOMEJUS no they are not appearing in Firefox50