Fetching contributors…
Cannot retrieve contributors at this time
42 lines (37 sloc) 1022 Bytes
<!DOCTYPE html>
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.
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pirate badge</title>
<script defer type="application/dart" src="main.dart"></script>
<script defer src="packages/browser/dart.js"></script>
<link rel="stylesheet" href="styles.css">
<h1>Pirate badge</h1>
<div class="widgets">
<input type="text" id="inputName" maxlength="15">
<button id="generateButton">Aye! Gimme a name!</button>
<div class="badge">
<div class="greeting">
Arrr! Me name is
<div class="name">
<span id="badgeName"> </span>