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.
Build a program that dynamically generates an HTML H1 heading tag.
Given the following string:
Write a program that generates an HTML H1 heading.
Real World Usage
String interpolation is common in everyday Ruby and/or Rails development. This particular exercise has a number of solutions, including a standard string based approach, along with an array based strategy.
Can be found on the solutions branch on github.