January


Not CompletedBuild an HTML Heading Generator in Ruby

In this Ruby coding exercise you'll learn how to build an HTML H1 heading generator that takes in a title and outputs a full HTML title.

Not CompletedJanuary 2 - Using Ruby Here Doc Syntax to Dynamically Generate HTML Code

In this coding exercise we'll examine how to leverage the Ruby Here Doc syntax to generate HTML with dynamic content.

Not CompletedJanuary 3 - Word Counting and Reporting in Ruby

This coding exercise examines how to properly count the total number of words in Ruby. Additionally, we'll walk through how to breakdown the counts for each specific word in a string.

Not CompletedJanuary 4 - Perform Monkey Patching in Ruby on Isolated Classes

This coding exercise will teach you how to use Refinements in Ruby in order to add custom functionality to specific classes.

Not CompletedJanuary 5 - Generate the Alphabet in Ruby

In this coding exercise we'll walk through how to automatically generate the full alphabet in Ruby, without hard coding in the full set of letters.

Not CompletedJanuary 6 - Add the Next Letter or Number in a String Sequence in Ruby

In this Ruby coding exercise you'll learn how to add the next element in a sequence of numbers or letters.

Not CompletedJanuary 7 - Extract a Random Element from a Collection of Arrays Nested in a Hash

This coding exercise walks through how to work with the Hash data structure in Ruby. Specifically, you will learn how to select a random element from a set of nested arrays inside of a hash.

Not CompletedJanuary 8 - Accurately Calculating Large Decimals

This coding exercise walks through how to accurately multiple large decimals and examines how a potentially dangerous bug can slip into a codebase.

Not CompletedJanuary 9 - Build a Program that Can Calculate Fractions and Output a Fraction in Ruby

In this exercise you'll learn how to effectively perform calculations on fractions in Ruby, including how you can build a method that returns a fraction.

Not CompletedJanuary 10 - Build a Dynamic Sum Method in Ruby

This coding exercise walks through how to build a method that takes a single integer as an argument and builds a sum of all of the integers counting up to the argument value.

Not CompletedJanuary 11 - Return Odd Elements from an Array in Ruby

In this exercise you'll learn how to select the odd elements from an array of integers and return the collection of odd items.

Not CompletedJanuary 12 - Build a Pseudo Random Number Generator that Follows a Specific Sequence

In this coding exercise you'll learn how to build a pseudo random number generator in Ruby that dynamically creates a set of random numbers based on a pre-defined sequence.

Not CompletedJanuary 13 - Hashed FizzBuzz in Ruby

This coding exercise tests your knowledge of the popular FizzBuzz developer interview question, with a twist. In this version of FizzBuzz you'll build a hash data structure filled with FizzBuzz data.

Not CompletedJanuary 14 - Finding the Average Value in an Array in Ruby

In this coding exercise you'll learn how to open the Array class and add an average method that finds the average value from an array of integers.

Not CompletedJanuary 15 - Reverse the Letters in a String Without Using the Reverse Method in Ruby

In this coding exercise you'll re-create the reverse method in Ruby. You are required to build a method that reverses the characters in a string and returns the reversed values.

Not CompletedJanuary 16 - Rotate Elements in an Array in Ruby

In this coding exercise we'll walk through how to easily rotate the items inside a Ruby array and change the index values for each element.

Not CompletedJanuary 17 - Generating a Hash from Two Arrays in Ruby

This coding exercise examines how to build a method that takes in two arrays and outputs a hash where one array makes up the keys and the other array makes up the values.

Not CompletedJanuary 18 - Build a High/Low Game in Ruby

This Ruby coding problem tests your ability to implement conditionals, work with user input, and generate random numbers.

Not CompletedJanuary 19 - Rebuild the include? Method in Ruby to Check for Array Values

In this coding exercise we'll walk through how to rebuild Ruby's include? method to see if a value exists inside of an array.

Not CompletedJanuary 20 - How to Check if a Value Exists in a Set of Nested Hashes in Ruby

This coding exercise extends our knowledge on the Hash data structure and walks through how to check and see if a value exists in any number of Hash collections nested inside an array.

Unsupported Browser

devCamp does not support ancient browsers.
Install a modern version for best experience.