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
Hesham Ismail
@uaefame
@moT01 Thanks again
CamperBot
@camperbot
:warning: uaefame already gave mot01 points
uaefame sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
Tom
@moT01
yup, good luck
Merryl
@MerrylArok
Can someone help me understand why my topnav still has margin on top and left?
http://codepen.io/Merryl/pen/LbwQNp/
Tom
@moT01
body has a default margin
c0d0er2
@c0d0er2
Can somebosy please help me with getting my images apart? https://codepen.io/c0d0er2/pen/oYrppg
Tyler Moeller
@TylerMoeller
@c0d0er2 Add the img-responsive class to your images - or use CSS and use max-width: 100%
c0d0er2
@c0d0er2
@TylerMoeller Thanks!
CamperBot
@camperbot
c0d0er2 sends brownie points to @tylermoeller :sparkles: :thumbsup: :sparkles:
:star2: 1222 | @tylermoeller |http://www.freecodecamp.com/tylermoeller
Sorin Ruse
@sorinr
@c0d0er2 here some idea for your problem example
Ashwini Sridhar
@Ash1108
Hello. I have got a problem . My code isn't accepting 100% width. Can anyone see to it and help me to find out the mistake?
Ankit Agarwal
@ankit-prgmr
@Ash1108 can you post your code link?
Ashwini Sridhar
@Ash1108
My problem is my 2nd image isn't taking 100% .
Ankit Agarwal
@ankit-prgmr
@Ash1108 Change this line <div> <!--award images ends here--> to this
</div> <!--award images ends here-->
@Ash1108 You were not closing that div
Ashwini Sridhar
@Ash1108
Oh thankyou @ankit-prgmr Such a silly mistake, i was analyzing it for half an hour. Thanks!
CamperBot
@camperbot
ash1108 sends brownie points to @ankit-prgmr :sparkles: :thumbsup: :sparkles:
:cookie: 255 | @ankit-prgmr |http://www.freecodecamp.com/ankit-prgmr
Ankit Agarwal
@ankit-prgmr
@Ash1108 No worries
Skyelar Habberfield
@habberfields
Hey everyone! Just a random question... any recommended image hosting sites? tried using my flickr but the file for my logo comes through low res
Ankit Agarwal
@ankit-prgmr
@habberfields you can use cloudinary or this https://imgsafe.org/
dilip chavan
@dilipchavan561
how to give link of codepen after completing tribute page??
i guess bo luck here,
no luck
dilip chavan
@dilipchavan561
????
Ritvars
@RitvarsZ
@dilipchavan561 Go in your codepen, and just copy the url, then go on fcc and submit it ✌
Igor Amidzic
@igoramidzic
Can someone help me with a problem?
I have a web app which has a '/', '/account', and '/account/info'.
Everything works in '/' and '/account', but if I go to '/account/', I get this:
Capture.PNG
using node js & express
c0d0er2
@c0d0er2

Can anybody please help me on Use Bracket Notation to Find the First Character in a String in JavaScript? Here is my code:

var firstLetterOfFirstName = "";
var firstName = "Ada";
firstLetterOfFirstName = firstName[0];

// Setup
var firstLetterOfLastName = "";
var lastName = "Lovelace";

// Only change code below this line
var firstLetterOfLastName = "";
var lastName = "Frank";
firstLetteOfFirstName = firstName[0];

Here is my link: https://www.freecodecamp.com/challenges/use-bracket-notation-to-find-the-first-character-in-a-string

Igor Amidzic
@igoramidzic
@c0d0er2 Read the instructions. It says the firstLetterOfFirstName variable should be = 'L'
@c0d0er2 So, you should set firstLetterOfFirstName = lastName[0],
since the last name starts with L.
Your first name starts with A
c0d0er2
@c0d0er2
@igoramidzic Ok, Thanks!
CamperBot
@camperbot
:warning: could not find receiver for igoramidzic
c0d0er2 sends brownie points to @igoramidzic :sparkles: :thumbsup: :sparkles:
Igor Amidzic
@igoramidzic
@c0d0er2 Any time
Tyler Moeller
@TylerMoeller
@igoramidzic Those errors mean that the files don't exist in those locations. If the files are indeed there, we'd have to see all your code to help further.
Igor Amidzic
@igoramidzic
@TylerMoeller Well no, they're not there.
My images folder, for example, is in 'localhost:3000/img',
@TylerMoeller but if I go to 'localhost:3000/account/', it tries to look for img folder in 'localhost:3000/account/img'
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"