Tag: javascript

  • Bonfire: Check for Palindromes Solution

    Bonfire: Check for Palindromes Solution

    We’re going to check for palindromes today for one of our Bonfire challenges. This is something I haven’t done yet. I have two solutions this time. The first relies on pre-existing methods. The second is a for loop. Approaching the Problem Let’s first take a look at what we’re given. function palindrome(str) {   // […]

  • Bonfire: Reverse a String Solution

    Bonfire: Reverse a String Solution

    It seems my previous Bonfire post has been fairly popular, so I figured I might as well share some of my other solutions in case someone might find it useful. This time, I’m tackling the Bonfire prior to the Factorializing one. These solutions aren’t necessarily the best, most efficient way of solving the Bonfires. They’re […]

  • Bonfire: Factorialize a Number Solution

    Bonfire: Factorialize a Number Solution

    I’m going through FreeCodeCamp’s coding track as a way to brush up on Javascript, and re-familiarize myself with its more programming-centered features. I have been using Javascript primarily with websites. Most of the time, I’m not dealing with anything beyond timing, detecting user actions and maybe a little bit of animation. So and wanted to […]