Skip to content

Instantly share code, notes, and snippets.

@kellishouts
kellishouts / todo layouts.md
Last active August 29, 2015 14:16 — forked from theRemix/todo crud.md
To Do Layouts (optional)

ToDo Layouts

Here are some pretty layouts for the To Do List. These are optional, you can use your own styles if you wish.

List View

1

List View Hover States

2

@kellishouts
kellishouts / out_of_this_world_sample_styles.css
Created February 6, 2015 04:28
Out of this World Sample Styles
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700|Fjalla+One);
html{
font-size: 16px;
font-family: 'Lato', sans-serif;
color: #FFF;
}
body{
background-image: url('/images/bg.jpg');
@kellishouts
kellishouts / Out_of_this_World_Responsive.md
Last active August 29, 2015 14:14
Out of this World: Responsive & Multi-Column

Out of this World: Responsive

Setup

  • Create a new branch from the Out of This World project.
  • Set up a server to run the project on localhost.
  • Optional: completely wipe the content of your old stylesheet and start over.
  • In the external stylesheet, style the page to meet the following requirements.
  • You CAN modify the HTML markup.
  • No javascript
@kellishouts
kellishouts / index.html
Created February 6, 2015 02:59
Out of This World Markup
<html>
<head>
<meta charset="UTF-8">
<title>Out of This World</title>
<link rel="stylesheet" href="/stylesheets/styles.css">
</head>
<body>
<header>
<h1 id="title">Cosmos</h1>
<h2 id="subtitle">Hearts of the Stars Euclid</h2>

Red Green Blue

Exercise with Media Queries

Create a standard html5 setup linking an external stylesheet.

index.html
stylesheets/
 styles.css
@kellishouts
kellishouts / css_properties.md
Last active August 29, 2015 14:14
Basic CSS Properties to MASTER

Level 1:

Spacing

  • margin
  • padding
  • this combo: margin:auto; display:block

Text

  • color
  • font-size
@kellishouts
kellishouts / Out_of_this_World_Lists.md
Last active August 29, 2015 14:14
Out of This World: Lists

Out of this World: Lists

Setup

  • Create a new branch from the Out of This World project.
  • Set up a server to run the project on localhost.
  • Optional: completely wipe the content of your old stylesheet and start over.
  • do not add any additional markup to the index file.
  • In the external stylesheet, style the page to meet the following requirements.

Requirements

@kellishouts
kellishouts / Out_of_this_World_Styling.md
Last active August 29, 2015 14:14
Out of this World: Styling

Out of this World: Styling

Setup

  • Create a new branch from the Out of This World project.
  • Set up a server to run the project.
  • In your project directory, create a directory called 'stylesheets'.
  • Inside the stylesheets directory, create an external stylesheet called styles.css
  • In your index document, link to the external stylesheet.
  • Besides adding the link to the stylesheet, do not add any additional markup to the index file.
  • In the external stylesheet, style the page to meet the following requirements.
@kellishouts
kellishouts / selectingdom.md
Last active August 29, 2015 14:14
Selectingdom

Selectingdom

1. Write a style declaration (or set of declatations) that will: (a) make "Fire Kingdom" red, and (b) make everything else grey.

 <ul>
  <li class="kingdoms">
  	Kingdoms
    <ul>
      <li id="fire_kingdom">Fire Kingdom</li>
@kellishouts
kellishouts / JS-OOP-Example.js
Created January 30, 2015 02:45
Javascript OOP Example
// oop.js
// Class Definition (is Capitalized)
function Animal ( name ) {
// class constructor
// instance properties
this.name = name;
this.last_ate = null;
console.log('created a new Animal named', this.name);