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
Tyler Moeller
@TylerMoeller
@igoramidzic Are you using relative paths instead of absolute paths to those files perhaps?
Igor Amidzic
@igoramidzic
@TylerMoeller yes
how do I set absolute path?
Tyler Moeller
@TylerMoeller
The absolute path would be http://localhost:3000/img/...
instead of ./img/...
Igor Amidzic
@igoramidzic
@TylerMoeller What happens when I want to deploy this for production? Tough luck for me? Gotta change every link again to http://website.com/img/?
Tyler Moeller
@TylerMoeller
Ideally, a variable can be used in place of http://localhost:3000/ so your code can move from one server to another
Igor Amidzic
@igoramidzic
oh I see
so I could do handlebars img src="{{ absolutePath }}/img"
Tyler Moeller
@TylerMoeller
I forget how to do that in node offhand, but it should be able to query something like http_host:server_port
Igor Amidzic
@igoramidzic
Oh, alright
@TylerMoeller Thank you
CamperBot
@camperbot
igoramidzic sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:star2: 1224 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
Tyler Moeller
@TylerMoeller
hope that helps get you on the right path :+1:
Igor Amidzic
@igoramidzic
lol
Tyler Moeller
@TylerMoeller
no pun intended :)
Igor Amidzic
@igoramidzic
no pun taken :shipit:
Tyler Moeller
@TylerMoeller
lol
Colin
@finkbeca
hi im new
Igor Amidzic
@igoramidzic
@finkbeca type "hello world!"
Luuk Motz
@mumBa1
hello guys, i litterly forgot how to center text in css. could someone help me?
Igor Amidzic
@igoramidzic
@mumBa1 text-align: center
Luuk Motz
@mumBa1
thanks
Igor Amidzic
@igoramidzic
np
Luuk Motz
@mumBa1
i did it with double l :)
Igor Amidzic
@igoramidzic
lmao
Colin
@finkbeca
I have a question, how can I draw a diagnol line from the top center of a div to the bottom right.
Luuk Motz
@mumBa1
i really dont know
Igor Amidzic
@igoramidzic
@finkbeca
---------------------------------------------------|
| \ |
| \ |
| \ |
|____|
oops that didn't work lol
Colin
@finkbeca
@igoramidzic haha
Igor Amidzic
@igoramidzic
/*
---------------------------------------------------|
|                                       \                                     |
|                                                \                            |
|                                                            \                |
|____________________________\__|
*/
fuk
Luuk Motz
@mumBa1
legend
Colin
@finkbeca
is their a way to make like a clean diagnol and not use the backslash lol
Luuk Motz
@mumBa1
get a permanent marker and a ruler
just look it up on intrnet
where do you need it for?
Luuk Motz
@mumBa1
how do i center a picture then?
rusdie
@rusdie
im stuck
at portfolio
:cry:
Luuk Motz
@mumBa1
whats the matter
rusdie
@rusdie
i just got no idea
can you give me example of your portfolio ?
Luuk Motz
@mumBa1
currently im doing the tribute page
rusdie
@rusdie
ah
after tribut you will get portfolio
Luuk Motz
@mumBa1
but just tell aboout where you live how old you are