Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Rohit Choudhary
    @maverick2
    hint
    CamperBot
    @camperbot

    hint [1/7]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    Rohit Choudhary
    @maverick2
    hint
    CamperBot
    @camperbot

    hint [2/7]

    # Explanation:

    We have to return a sentence with camel case. This means that the first letter will always be in uppercase and the rest lowercase.

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    Rohit Choudhary
    @maverick2
    hint
    CamperBot
    @camperbot

    hint [3/7]

    Hint: 1

    • You should start by splitting the string into an array of words.
    • Split the sentence.

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    Rohit Choudhary
    @maverick2
    hint
    CamperBot
    @camperbot

    hint [4/7]

    Hint: 2

    • You should make the word lowercase before making the first letter uppercase.
    • Use replace method on each word to capitalize the first letter of each word.

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    Rohit Choudhary
    @maverick2
    hint
    CamperBot
    @camperbot

    hint [5/7]

    Hint: 3

    • You will need to create a new string with pieces of the previous one and at the end merge everything into a single string again.
    • In replace method , give first argument as the position of the first letter using charAt. For second argument write a function to return the capitalized letter as the replacement.

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    SteveRaskin
    @SteveRaskin
    hint
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    SteveRaskin
    @SteveRaskin
    hint
    CamperBot
    @camperbot
    These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
    SteveRaskin
    @SteveRaskin
    hint
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    SteveRaskin
    @SteveRaskin
    hint
    CamperBot
    @camperbot
    These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
    Clinton Villanueva
    @Thojad
    bf Make Object Properties Private
    CamperBot
    @camperbot
    Sorry, can't find a bonfire called make object properties private. [ Check the map? ]
    Clinton Villanueva
    @Thojad
    bf Make Object Properties Private
    CamperBot
    @camperbot
    Sorry, can't find a bonfire called make object properties private. [ Check the map? ]
    Christopher Ngo
    @ingochris
    help
    bonfire falsybouncer
    Leslie Covington
    @LesCov610
    how do I ignore the apostrophe?
    Cam
    @Dragon8029
    hint
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    Cam
    @Dragon8029
    hint
    CamperBot
    @camperbot
    These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
    Cam
    @Dragon8029
    hint
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    Jim Strickland
    @JStrick999
    hint
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    TheGr8Lemmoncawl
    @TheGr8Lemmoncawl
    hint
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    TheGr8Lemmoncawl
    @TheGr8Lemmoncawl
    hint
    CamperBot
    @camperbot
    These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
    Sorry, can't find a bonfire called title case a sentence hint. [ Check the map? ]
    Liz
    @lizzyfin
    hint
    CamperBot
    @camperbot

    hint [1/1]

    ## :construction: After this are possible spoiler hints.

    Make sure you've tried to hard to solve it yourself before proceeding. :construction:

    type hint for next hint :pencil: [Contribute at the FCC Wiki]

    Liz
    @lizzyfin
    hint
    CamperBot
    @camperbot
    These hints depend on people like you! Please add to this :point_right: Bonfire's Wiki Hints Page
    Ricardo Nunes
    @RicardoJFN

    Hi everyone, can someone help me in something? I have this code:

    function titleCase(str) {
    var formatedString = str.toLowerCase().split(' ');
    var final = "";

    for (var i = 0; i != formatedString.length; i++) {
        final += formatedString[i].replace(formatedString[i].charAt(0), function(x){
            return x.toUpperCase();
        });
    }
    return final;

    }

    My code works but it returns the string without spaces, can't figure it out where to put the join method since at the end of the replace method it returns an error

    Ricardo Nunes
    @RicardoJFN
    Nevermind that, i've conclude it
    changed the var final into a an array
    as an array i can use push and return the final with a join method