-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (56 loc) · 1.5 KB
/
index.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TABLE</title>
</head>
<link rel="stylesheet" href="index.css">
<style>
</style>
<body>
<center>
<!-- <h1>TABLE</h1> -->
<p>WRITE YOUR TABLE HERE</p>
<input type="number" placeholder="TABLE" id="table">
<input type="number" placeholder="TIMES" id="times">
<button onclick="table()">FIND TABLE</button>
<div id="cont"></div>
<button onclick="CLEAR()">CLEAR</button>
</center>
</body>
</html>
<script src="index.js">
</script>
<!--
// <html>
// <head>
// <title>Check Strings are Anagram</title>
// <script>
// function checkAnagram(str1, str2) {
// let ObjStr1 = {};
// if (str1.length !== str2.length) {
// return false;
// }
// for (ch of str1) {
// // console.warn(ch)
// ObjStr1[ch] = (ObjStr1[ch] || 0) + 1;
// }
// // console.warn(ObjStr1);
// for (ch of str2) {
// // console.warn(ObjStr1[ch]);
// if (!ObjStr1[ch]) {
// return false;
// }
// ObjStr1[ch]--;
// }
// return true
// }
// console.warn(checkAnagram("anil", "nila"));
// </script>
// </head>
// <body>
// <h1>Check Strings are Anagram</h1>
// </body>
// </html> -->