about summary refs log tree commit diff
path: root/usth/ICT3.2/prac/5/2.html
blob: f02260510a0c63f1000284a27958d19aa78d29a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<script src=2.js></script>
<style>button, h1, h2, p { text-transform: capitalize }</style>

<body>
<div id=user><button onclick="get_collection('user')">List users</button></div>
<div id=post><button onclick="get_collection('post')">List posts</button></div>
</body>
</html>