Skip to content

Instantly share code, notes, and snippets.

@dartlab-user
Forked from anonymous/.metadata.json
Last active August 29, 2015 14:14
Show Gist options
  • Save dartlab-user/5755931149bfc48c94ac to your computer and use it in GitHub Desktop.
Save dartlab-user/5755931149bfc48c94ac to your computer and use it in GitHub Desktop.
Hello World!
{
"origin": "dartlab.org",
"url": "http://dartlab.org/#:gistId",
"history": [
"9aace131ee1c8027e06c",
"7c210d0f19d9a15fd7cb"
]
}
<h1>Hello from HTML!</h1>
<h1><span/></h1>
// Go ahead and modify this example.
import "dart:html";
var greeting = "Hello from Dart!";
// Displays a greeting.
void main() {
// This example uses HTML to display the greeting and it will appear
// in a nested HTML frame (an iframe).
document.body.append(new HeadingElement.h1()..appendText(greeting));
}
span:after {
content: "Hello from CSS!";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment