This is the content for the website at hackasaurus.org.
You need Python version 2.6 or higher. All other dependencies are self-contained within the project's code repository.
var myListener = { | |
handleEvent: function(event) { | |
// This produces e.g. [object XrayWrapper [object HTMLHtmlElement]], | |
// instead of [object HTMLHtmlElement]. | |
console.log(event.target); | |
} | |
}; | |
document.addEventListener("mouseover", myListener, true); |
<!doctype html> | |
<html> | |
<head> | |
<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script> | |
<script src="http://toolness.github.com/mas-bebe-itvs-sprint/cornish.js"></script> | |
</head> | |
<style> | |
.footnote { visibility: hidden; } | |
.footnote.active { visibility: visible; } | |
</style> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script> | |
<script src="http://toolness.github.com/instapoppin/instapoppin.js"></script> | |
</head> | |
<style> | |
.footnote { visibility: hidden; } | |
.footnote.active { visibility: visible; } | |
</style> |
<header>A Love Bomb From Atul</header> | |
<section> | |
<img src="http://lovebomb.me/templates/atul-files/lovebomb.svg" alt="Love Bomb"> | |
<p>This massive love bomb goes out to <a href="http://en.wikipedia.org/wiki/Tim_berners-lee">Tim Berners-Lee</a> for creating the world's largest <a href="http://en.wikipedia.org/wiki/World_Wide_Web">public resource</a> and working with others to make it as splendid as possible.</p> | |
<aside> | |
</section> |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>Test Suite</title> | |
<link rel="stylesheet" href="qunit.css"> | |
<h1 id="qunit-header">QUnit example</h1> | |
<h2 id="qunit-banner"></h2> | |
<div id="qunit-testrunner-toolbar"></div> | |
<h2 id="qunit-userAgent"></h2> | |
<ol id="qunit-tests"></ol> | |
<div id="qunit-fixture"></div> |
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="description" content="A mission that invites youth to creative a narrative based on characters and a storyline they create, while learning how to remix the web."> | |
<title>Inanimate Alice meets Hackasaurus</title> | |
</head> | |
<body> | |
<h1>Inanimate Alice meets Hackasaurus</h1> | |
<p>A user generated digital novel and Hackasaurus X-ray Goggles, what better tools to engage the future generation of webmakers! The mission is to teach the basics of coding through the lens of youth interest in storytelling. This challenge invites youth to creative a narrative based on characters and a storyline they create, while learning how to remix the web.</p> | |
<h2>How it's done</h2> |
This is the content for the website at hackasaurus.org.
You need Python version 2.6 or higher. All other dependencies are self-contained within the project's code repository.
<p>I am syntax-highlighted HTML!</p>
#! /usr/bin/python | |
import os | |
import BaseHTTPServer | |
import SimpleHTTPServer | |
PORT = 8001 | |
types = { | |
'.manifest': 'text/cache-manifest', |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>live preview test thing</title> | |
<style> | |
textarea { | |
display: block; | |
width: 100%; | |
min-height: 200px; | |
} |