Skip to content

Commit 83a4748

Browse files
Create noeval.html
1 parent e241d20 commit 83a4748

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

noeval.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width">
6+
<title>Sno - No Eval</title>
7+
<link rel="icon" type="image/x-icon" href="https://avatars.githubusercontent.com/u/149719209?s=200&v=4"/>
8+
<script src="https://snojs.github.io/petite-sno/noeval/min.js"></script>
9+
<link rel="stylesheet" href="https://guyotjs.github.io/bcss/bc.css"/>
10+
</head>
11+
<body>
12+
<div class="true-center text-center">
13+
<p id="count" class="f-xl"></p>
14+
<button onclick="add()" class="p bg-white border-gray r">+</button>
15+
</div>
16+
<script>
17+
let count = 0;
18+
function add(){
19+
count = $set(count+1);
20+
}
21+
$scope(()=>{return count},"count");
22+
</script>
23+
</body>
24+
</html>

0 commit comments

Comments
 (0)