en.javascript.info/02-ui/05-widgets/02-widgets-structure/05-voter-proto/solution/index.html
Ilya Kantor f301cb744d init
2014-10-26 22:10:13 +03:00

27 lines
467 B
HTML
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="voter.js"></script> <!-- отрефакторить -->
</head>
<body>
<div id="voter" class="voter">
<span class="down"></span>
<span class="vote">0</span>
<span class="up">+</span>
</div>
<script>
var voter = new Voter({
elem: $('#voter')
});
</script>
</body>
</html>