GithubHelp home page GithubHelp logo

dkennell / rails-hello-world-lab-v-000 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-co-students/rails-hello-world-lab-v-000

0.0 0.0 0.0 432 KB

License: Other

Ruby 82.65% JavaScript 1.83% CSS 1.90% HTML 13.62%

rails-hello-world-lab-v-000's Introduction

Rails Hello World

In this lab you will integrate a static route so that the application will render a "Hello World" page.

Objectives

  1. Draw a route
  2. Map a route to a controller/action
  3. Render (implicitly or explicitly) a static template
  4. Create a static template

Testing

The RSpec/Capybara test suite currently is not passing, to run the tests, you will have passed the lab when the test is passing.

Instructions

Below are the tasks that you will need to complete in order to finish the lab:

  • Integrate a route for localhost:3000/hello_world

  • Create a static controller that inherits from the application controller and holds the hello_world action. You can have the call to the view file occur using either the implicit or explicit processes.

  • Create a file in the views' directory that will be called by the static controller's hello_world action, and add the heading <h1>Hello World</h1> to the file (the test is case sensitive, so make sure you enter it as shown).

You can test this out in the browser and via the RSpec test suite.

rails-hello-world-lab-v-000's People

Contributors

jordanhudgens avatar annjohn avatar alternative-dk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.