-
Notifications
You must be signed in to change notification settings - Fork 1
/
varsTest.html
27 lines (24 loc) · 1.35 KB
/
varsTest.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta charset="utf-8" />
<title>Gopher Server Friending Test</title>
<script type="text/javascript" src="src/gopher-voice.js"></script>
<script type="text/javascript" src="src/gopher-client.js"></script>
<script type="text/javascript" src="varsTest.js"></script>
</head>
<body>
<p><h2>Login:</h2></p>
<p>User Name: <input id="loginText" type="text" width="300"> Password: <input id="passText" type="password" width="300"> <button id="loginBtn">Login</button><p>
<hr>
<p><h2>Set Variable</h2></p>
<p>key: <input id="setVarKeyText" type="text" width="300"> value: <input id="setVarValText" type="text" width="300"> <button id="setVarBtn">Set</button></p>
<hr>
<p><h2>Set Variables</h2></p>
<p>key: <input id="setVarsKeyText1" type="text" width="300"> value String: <input id="setVarsValText1" type="text" width="300"></p>
<p>key: <input id="setVarsKeyText2" type="text" width="300"> value String: <input id="setVarsValText2" type="text" width="300"></p>
<p>key: <input id="setVarsKeyText3" type="text" width="300"> value Number: <input id="setVarsValText3" type="text" width="300"> <button id="setVarsBtn">Set</button></p>
<p><h2>Get Variables</h2></p>
<p><button id="getVarsBtn">Get</button></p>
</body>
</html>