##slid.es
###THINGS TO INCLUDE:
- Team Name
#Questions
** Questions should be answered with the simplest, most barebone solution possible.
###1. Arrays
array = ["Blake","Ashley","Jeff"]
a. Add a element to an array
select
element with options
from a JSON filename
and value
attributes to populate a params
hash of user inputted dataparams
hash in your route so you can use it in a viewdo this first: | |
http://www.codeschool.com/courses/try-jquery | |
include jquery in your layout | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> | |
stackoverflow: how do i change options in dropdown with jquery? | |
http://stackoverflow.com/questions/1801499/how-to-change-options-of-select-with-jquery | |
<option> MDN https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option |
#Sinatra: Part 3
Continue re-creating the student website as a dynamic web application using Sinatra and the Student Class you created in the Student Class DB lab.
Add a route/controller for the students individual profile pages.
Add the ERB template for the students individual profile pages.
#Sinatra: Part 2
Continue re-creating the student website as a dynamic web application using Sinatra and the Student Class you created in the Student Class DB lab.
Add the static assets (stylesheets, javascripts, and images) from the student static website.
Style the students index page
Re-create the student website as a dynamic web application using Sinatra and the Student Class you created in the Student Class DB lab.
Student ORM files Note1: If you use this ORM, it has a dependency on the Persistable module, you must grab and require this file. Note2: You MUST USE THE GEMFILE. All gems go in the gemfile, and no longer do we do "require 'sqlite3'" in our actual program. Files you wrote (like student.rb) are required as normal. Part 1: Rendering a list of students.