Skip to content

learn-co-students/sinatra-basic-views-lab-seattle-web-102819

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra Basic Views Lab

Objectives

  1. Set a controller action to render a separate view
  2. Render HTML in the view

Instructions

You've been hired to build an app for the local bowling alley. They want a page that displays their regular hours, dates of tournaments, bowling alley bar menus, and eventually, a way to reserve and pay for a lane online.

But for now, they'll settle for just the basics.

Step 1:

In app.rb, you'll want to create a controller action that responds to a GET request and loads index.erb in the browser.

Step 2:

Start writing HTML in index.erb. Run the rspec tests to make sure you have the appropriate content on the page.

View Sinatra Basic Views Lab on Learn.co and start learning to code for free.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages