Skip to content

Instantly share code, notes, and snippets.

Intro to jQuery

Dom Manipulation

Selectors in jQuery

In jQuery selecting elements is very similar to querySelectorAll that we covered with the js DOM api. To get a DOM element we use $('selector') to fetch the element from the DOM.

Let's do an #id example,

Rails View

  • Understand steps to set up rails app.

    *

    Start Sublime

    *

    Edit Gemfile - 'pry'

    *

    Bundle Install

    *

    Edit .gitignore file

    *

    Add Bootstrap

  • Understand steps to get rails app running.

    *

    Setup first route

    * Setup first Controller

Rails View

  • Understand steps to set up rails app.

    *

    Start Sublime

    *

    Edit Gemfile - 'pry'

    *

    Bundle Install

    *

    Edit .gitignore file

    *

    Add Bootstrap

  • Understand steps to get rails app running.

    *

    Setup first route

    * Setup first Controller

#Debugging & Testing

test update

Find the errors in the following

1.)