Objectives
- If Statements
- Each Loops
- While Loops
- Exercises!
#SORTS
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" type="text/css" href="cookie_styles.css"> | |
| <title></title> | |
| </head> | |
| <body> | |
| <h1>hello this is an h1!! <a href="http://www.google.com">Go To Google </a> | |
| </h1> |
#Sunday Notes and Resources
Agenda:
margin: 0; and margin: 0 auto| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Example 9</title> | |
| <style> | |
| body { | |
| margin: 0; | |
| font: normal 12px/18px 'Helvetica', Arial, sans-serif; | |
| background: #44accf; | |
| } |
Colt Steele
| body{ | |
| text-align: center; | |
| background: url("http://dash.ga.co/assets/anna-bg.png"); | |
| background-size: cover; | |
| background-position: center; | |
| color: white; | |
| font-family: helvetica; | |
| } | |
| p{ |
| # Simple Singly Linked List Implementation in Ruby | |
| class Node | |
| attr_accessor :value, :next_node | |
| def initialize(value) | |
| @value = value | |
| end | |
| end | |
| class LinkedList | |
| def initialize(value) |
| require 'nokogiri' | |
| class Review | |
| attr_reader :raw, :date, :stars, :user, :body | |
| def initialize(html='') | |
| @data = html | |
| @date = extract_meta('datePublished') | |
| @stars = extract_meta('ratingValue') | |
| @user = extract_user |