-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
100 lines (91 loc) · 3.28 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PracticePad Coding</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="darkmode.css" />
<!-- Added Remix Icons CDN to use Icons -->
<link
href="https://cdn.jsdelivr.net/npm/remixicon@4.3.0/fonts/remixicon.css"
rel="stylesheet"
/>
</head>
<body>
<nav>
<h1>PracticePad</h1>
<i id="dark-mode-toggle">
<i class="ri-sun-line" id="dark-mode-icon"></i>
</i>
<!-- <i class="ri-moon-line"></i> -->
</nav>
<main>
<div class="input-from-user">
<div id="search-container">
<input type="text" id="search-input" placeholder="Search problems" />
<button class="enter-button">
Search <i class="ri-search-line" style="font-size: 18px"></i>
</button>
</div>
<div id="leetcode-username">
<input
type="text"
id="username"
placeholder="Enter your LeetCode username"
autocomplete="off"
/>
<button class="enter-button" id="fetch-user-data">
Get Details <i class="ri-id-card-line" style="font-size: 18px"></i>
</button>
</div>
</div>
<section id="daily-problem" class="hidden">
<h2>Daily Problem</h2>
<div id="daily-problem-title"></div>
<div id="daily-problem-description"></div>
<div id="daily-problem-difficulty"></div>
<div id="daily-problem-link"></div>
</section>
<div id="user-details" class="hidden"></div>
<div id="user-badges" class="hidden"></div>
<div id="user-solved-questions" class="hidden"></div>
<div id="user-contest-history" class="hidden"></div>
<section id="calendar" class="hidden">
<h2>Submission Calendar</h2>
<div id="submission-calendar"></div>
</section>
<section id="challenge-list">
<h2>Available Coding Challenges</h2>
<ul id="challenges"></ul>
</section>
<section id="challenge-detail" class="hidden">
<h2>Challenge Details</h2>
<div id="problem-title"></div>
<div id="problem-description"></div>
<div id="problem-constraints"></div>
</section>
<div id="feedback-section">
<h3>Feedback</h3>
<label for="difficulty-rating">Rate Difficulty:</label>
<select id="difficulty-rating">
<option value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
<br />
<label for="feedback-text">Feedback:</label>
<textarea id="feedback-text" row="5" cols="20"></textarea>
<button id="submit-feedback">Submit Feedback</button>
</div>
</main>
<script src="search.js"></script>
<script src="config.js"></script>
<script src="user.js"></script>
<script src="app.js"></script>
<script src="feedback.js"></script>
<script src="darkmode.js"></script>
<script src="calendar.js"></script>
<script src="dailyproblem.js"></script>
</body>
</html>