To Examples

 DivTags Example

Directions

  1. Create a new Rails project named DivTags.
  2. Generate a controller with the named Info having the view content.
  3. Source code for the content view: content.erb.htm.
  4. Source code for the layout page: application.erb.htm.
  5. Source code for the CSS stylesheet: info.scss.
  6. Localhost URL to see content view:
    http://localhost:3000/info/content