-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (117 loc) · 3.21 KB
/
Copy pathindex.html
File metadata and controls
118 lines (117 loc) · 3.21 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!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>palindrome Game</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Satisfy&display=swap" rel="stylesheet">
<script src="palindromeChecker.js" defer></script>
</head>
<body>
<div id="container">
<div class="game-wrapper">
<div class="intro">
<h1>Palindrome game</h1>
<p class="introTxt">
Try it out, you're guaranteed to have the fun of your life
</p>
</div>
<svg width="900" height="500" viewBox="0 0 900 900" xmlns="https://www.w3.org.2000/svg">
<defs>
<path id="conTxt" d="M 70,
450 a 426,
425 0 1,
0 850,
0 a 425,
425 0 1,
0 -850,
0" />
</defs>
<defs>
<path id="vowTxt" d="M 800,
400 a 250,
400 0 1,
0 800,
0 a 400,
400 0 1,
0 800,
0" />
</defs>
<defs>
<path id="revTxt" d="M 350,
800 a 300,
50 0 1,
0 600,
0 a 50,
50 0 1,
0 -600,
0" />
</defs>
<defs>
<path id="oriTxt" d="M 350,
70 a 250,
20 0 1,
0 600,
0 a 50,
50 0 1,
0 -600,
0" />
</defs>
<defs>
<path id="palTxt" d="M 350,
450 a 250,
20 0 1,
0 600,
0 a 50,
50 0 1,
0 -600,
0" />
</defs>
<circle cx='450' cy='450' r='448' stroke='black' fill="transparent" stroke-width='4'/>
<circle cx='450' cy='450' r='300' stroke='black' fill="transparent" stroke-width='4' />
<text>
<textPath href="#conTxt">
No. of consonants
<tspan x="0" dy="1.2em" lengthAdjust="spacingAndGlyphs" id="conSpan"></tspan>
</textPath>
</text>
<text>
<textPath href="#vowTxt">
No. of vowel
<tspan x="0" dy="1.2em" lengthAdjust="spacingAndGlyphs" id="vowSpan"></tspan>
</textPath>
</text>
<text>
<textPath href="#revTxt">
Reverse Word
<tspan x="0" dy="1.2em" lengthAdjust="spacingAndGlyphs" id="revSpan"></tspan>
</textPath>
</text>
<text>
<textPath href="#oriTxt">
previous word
<tspan x="0" dy="1.2em" lengthAdjust="spacingAndGlyphs" id="oriSpan"></tspan>
</textPath>
</text>
<text>
<textPath href="#palTxt">
Palindrome?
<tspan x="0" dy="1.2em" lengthAdjust="spacingAndGlyphs" id="palSpan"></tspan>
</textPath>
</text>
</svg>
<input required type="text" placeholder="Enter any Word" name="textLabel" id="inputTxt" autocomplete="off"/>
<button class="btn">
Play Game
</button>
</div>
<div class="copyright">
<footer>©2023, ODIgames. All rights reserved</footer>
</div>
</div>
</body>
</html>