Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: src/site/codelabs/darrrt/examples/4-classbadge/piratebadge.html

Issue 35913002: Try Dart 1 hour experience first draft (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: updated image of dart editor with new directory name Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/codelabs/darrrt/examples/4-classbadge/piratebadge.html
diff --git a/src/site/codelabs/darrrt/examples/4-classbadge/piratebadge.html b/src/site/codelabs/darrrt/examples/4-classbadge/piratebadge.html
new file mode 100644
index 0000000000000000000000000000000000000000..ff36547af55375f5452380ef2fa89898e91388c4
--- /dev/null
+++ b/src/site/codelabs/darrrt/examples/4-classbadge/piratebadge.html
@@ -0,0 +1,36 @@
+<!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+ for details. All rights reserved. Use of this source code is governed by a
+ BSD-style license that can be found in the LICENSE file.
+-->
+
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Pirate badge</title>
+ <link rel="stylesheet" href="../piratebadge.css">
+ </head>
+ <body>
+ <h1>Pirate badge</h1>
+
+ <div class="widgets">
+ <div>
+ <input type="text" id="inputName" maxlength="15">
+ </div>
+ <div>
+ <button id="generateButton">Aye! Gimme a name!</button>
+ </div>
+ </div>
+ <div class="badge">
+ <div class="greeting">
+ Arrr! Me name is
+ </div>
+ <div class="name">
+ <span id="badgeName"> </span>
+ </div>
+ </div>
+ <script type="application/dart" src="piratebadge.dart"></script>
+ <script src="../packages/browser/dart.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698