Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • 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
Evan W
But I guess I'll just do what you said until I find out how to do that
@alhazen1 thanks for the help
dirtier sends brownie points to @alhazen1 :sparkles: :thumbsup: :sparkles:
:cookie: 394 | @alhazen1 |http://www.freecodecamp.com/alhazen1
d wilder
@AliFox15 Maybe you didn't save yet. All I see is an empty html skeleton
Greg Duncan
@Dirtier sorry - I was giving you a tip (my opinion really) give your functions very distinct names and that make it clear what they are doing
Sorry@alhazen1 ,Now it's saved
d wilder
@GregatGit I agree that having functions with same name could lead to some serious conflicts
Evan W
@GregatGit Haha yea I feel you. Most people who do it this way name it ready though, bc that really is the clearest description there is I think lol
I mean what do you think of when you read a function named ready lol
There really is an advantage to doing it like that, it cuts load times down by a ton by only putting essential stuff inside the ready function, and having it call functions outside of it that are can be loaded as they are needed
Is it in the center of the page now?
d wilder
@AliFox15 If you use text-center you will need to apply it to every div you want centered. Put that class in the div wrapping the image
<div class="text-center"><img class="picture-center" src="https://c2.staticflickr.com/4/3689/10613180113_fdf7bcd316_b.jpg"/></div>
Evan W
@alhazen1 Here's my working version, but again, it only works on computers.
And sometimes when you hit enter it doesn't even show the wiki, other times it does. No idea why. I'm not getting any console errors from the API or anything
The enter key wont even register when you use it inside this little window in the chat room =S
There has to be an easier way to do this
Is there anyway to make a form submit action just pass along the value of the text input to a function?
I cant think of a way to write that in html
@Dirtier Center it in body element
Evan W
wow,just firgured it out
I need to add center-block to my img element
d wilder
This message was deleted
Evan W
@AliFox15 are you using bootstrap?
@AliFox15 centering in bootstrap is as easy as making all the columns add up to 12 lol
if I want something to be centered I can make it <div class='col-xs-4'> and then surround that div with two other divs just like it with class='col-xs-4'>
4 + (centered 4) + 4
= 12
Don't set any static widths in your css and bam you have a responsive, centered div
Just put the image inside it
d wilder
@AliFox15 Yes, your best bet is to use Bootstrap. In addition to ease of layout it will give you responsive layout that will look good on smaller screens like smart phone
Evan W
I thought he said he was using bootstrap earlier
idk maybe not
guys i have done my portfolio page plz give me some review i know i have to crct something plz advise me
Hi guys,just come into a new problem,I can use center text to move the text to the center of page,but when it comes to ul li,the dot is not following.
Can I fix it?
Evan W
@AliFox15 you can't center lists with text-align
It will center the text, but not the actual <li> element
Wrap the list in a div, center the div.
@ravi6112 Your links don't appear to be working in your navbar, and the pics aren't loading for me
Also the navbar seems to be always open or something
@ravi6112 In that project you want the links to link down to some other part of the page. So make your navbar links like this href='#nameofdivwhereyouwantlinktogo'
like href='#portfolio' if the are where you have your portfolio is in a div with the id of 'portfolio'
d wilder
@ravi6112 Looks like you well on your way to an awesome portfolio but I don't think the public has permissions on your images.
JD Tadlock
@Dirtier you can use offsets to center ;)
hey @jdtdesigns