Generate HTML page with Ruby ERB

Job ID: 34707054

Budget: $10 – $30 USD

* Use Ruby ERB to generate a single HTML page showing the data received from the Marvel API, which can be found at https://developer.marvel.com/docs
* The user must be able to select a character from dropdown of random characters (limited to 3)
* Once the character is selected, a random story should be displayed featuring that character, as well as the description and thumbnails of all the characters in that story.
* The layout / design of the generated HTML does not have to be fancy (no custom css needed) but the HTML needs to be well formed so that you can view it in a browser by simply opening it.

Note, all the story and character data should be embedded in the HTML file, so that one can view the page in a browser even when offline.
You should supply detailed instructions on what needs to be installed (ie Ruby, bundler etc) and how to run the project.

Only 2 files required:
marvel.rb file (which is the file that should be executed in order to generate index.html)
marvel.html.erb (which is the template file to be used by the ERB engine)

But you can add additional files if it will make the code easier to maintain, ie:
story.rb
character.rb

Please note, this is NOT a Rails project, and should not take you more than 2 to 4 hours.
Related categories: HTML Ruby