Skip to content

Commit 2ad3342

Browse files
committed
fixed bugs
1 parent ee6d490 commit 2ad3342

File tree

4 files changed

+111
-126
lines changed

4 files changed

+111
-126
lines changed

index.html

Lines changed: 101 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,29 @@
66
<meta name="viewport" content="width=device-width, user-scalable=no" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88

9-
<!-- Primary Meta Tags -->
9+
<!-- Primary Meta Tags -->
1010
<title>CodeIt</title>
11-
<meta name="description" content="CodeIt provides tools for developers to refine, obfuscate, and analyze code. Optimize your development process with CodeIt's features for efficient coding." />
12-
<meta name="keywords" content="CodeIt, code refinement, code obfuscation, time complexity analysis, coding tools, developer tools, coding efficiency, code management" />
11+
<meta name="description"
12+
content="CodeIt provides tools for developers to refine, obfuscate, and analyze code. Optimize your development process with CodeIt's features for efficient coding." />
13+
<meta name="keywords"
14+
content="CodeIt, code refinement, code obfuscation, time complexity analysis, coding tools, developer tools, coding efficiency, code management" />
1315
<meta name="author" content="Tejas Gupta" />
14-
16+
1517
<!-- Open Graph / Facebook Meta Tags -->
1618
<meta property="og:type" content="website" />
1719
<meta property="og:title" content="CodeIt - Developer Tools for Code Refinement, Obfuscation & Analysis" />
18-
<meta property="og:description" content="Enhance your coding with CodeIt's powerful tools for code refinement, obfuscation, and performance analysis." />
20+
<meta property="og:description"
21+
content="Enhance your coding with CodeIt's powerful tools for code refinement, obfuscation, and performance analysis." />
1922
<meta property="og:url" content="https://codeittool.netlify.app" />
2023
<meta property="og:site_name" content="CodeIt" />
21-
<!-- <meta property="og:image" content="images/Nomenclature.png" />
24+
<!-- <meta property="og:image" content="images/Nomenclature.png" />
2225
2326
<!-- Twitter Meta Tags -->
2427
<meta name="twitter:card" content="summary_large_image" />
2528
<meta name="twitter:title" content="CodeIt - Developed for the Developers" />
26-
<meta name="twitter:description" content="Refine, obfuscate, and analyze your code with CodeIt to optimize development processes." />
27-
<!-- <meta name="twitter:image" content="images/Nomenclature.png" /> -->
29+
<meta name="twitter:description"
30+
content="Refine, obfuscate, and analyze your code with CodeIt to optimize development processes." />
31+
<!-- <meta name="twitter:image" content="images/Nomenclature.png" /> -->
2832

2933
<link rel="stylesheet" href="resources/styles/home-style.css" />
3034
<link rel="stylesheet" href="resources/styles/style.css" />
@@ -117,7 +121,7 @@
117121
<p>It</p>
118122
</div>
119123
<div class="typewriter">
120-
<p>Developing for the Developers.</p>
124+
<p>Developed for the Developers..</p>
121125
</div>
122126
<br />
123127
<p class="text">
@@ -126,7 +130,7 @@
126130
CodeIt makes coding easy, fast, and secure.
127131
</p>
128132
<br />
129-
133+
130134
<p class="text">
131135

132136
The adjoining map shows people who are using or contributing to
@@ -135,17 +139,18 @@
135139
</p>
136140
<br>
137141
<p>
138-
<div class="visitor-widget">
139-
<span>CodeIt Visitors:</span>
140-
<div style="display: flex; margin-left: 160px; margin-top: -40px;">
141-
<!-- Third-party visitor counter widget code -->
142-
<a href="http://www.freevisitorcounters.com"></a>
143-
<script type="text/javascript" src="https://www.freevisitorcounters.com/auth.php?id=aa47fc4cff3de97c11c73018e32312f0a900c2da"></script>
144-
<script type="text/javascript" src="https://www.freevisitorcounters.com/en/home/counter/1259658/t/5"></script>
145-
</div>
142+
<div class="visitor-widget">
143+
<span>CodeIt Visitors:</span>
144+
<div style="display: flex; margin-left: 160px; margin-top: -40px;">
145+
<!-- Third-party visitor counter widget code -->
146+
<a href="http://www.freevisitorcounters.com"></a>
147+
<script type="text/javascript"
148+
src="https://www.freevisitorcounters.com/auth.php?id=aa47fc4cff3de97c11c73018e32312f0a900c2da"></script>
149+
<script type="text/javascript" src="https://www.freevisitorcounters.com/en/home/counter/1259658/t/5"></script>
146150
</div>
151+
</div>
147152
</p>
148-
153+
149154
</div>
150155

151156
<div class="right">
@@ -216,10 +221,10 @@
216221

217222
<div class="section-r reveal" id="working">
218223
<div class="left">
219-
<p class="heading reveal">How CodeIt Works?</p>
224+
<p class="subheading reveal">How CodeIt Works?</p>
220225
<p class="subheading reveal">I. Choose Your Task...</p>
221226
<p class="text reveal">
222-
Select from code conversion, obfuscation, file naming, or analysis.
227+
Select from code refinement, obfuscation, file nomenclature, or code complexity analysis.
223228
</p>
224229
<br />
225230
<p class="subheading reveal">II. Upload Your Code...</p>
@@ -235,33 +240,40 @@
235240
</div>
236241

237242
<div class="faq-section reveal" id="faq">
238-
<p class="heading reveal">Frequently Asked Questions</p>
239-
243+
<p class="subheading reveal">Frequently Asked Questions</p>
244+
240245
<details class="faq-item">
241-
<summary class="faq-question reveal">Q1: What is CodeIt?</summary>
242-
<p class="faq-answer">A: CodeIt is a software solution tool designed to streamline and enhance the coding experience for developers.</p>
246+
<summary class="faq-question reveal">Q1: What is CodeIt?</summary>
247+
<p class="faq-answer">A: CodeIt is a software solution tool designed to streamline and enhance the coding
248+
experience for developers.</p>
243249
</details>
244250

245251
<details class="faq-item">
246-
<summary class="faq-question reveal">Q2: Can CodeIt integrate with coding platforms like LeetCode?</summary>
247-
<p class="faq-answer">A: Yes, CodeIt is designed to work seamlessly with coding platforms like LeetCode. It converts the default code templates provided by these platforms into fully functional code, allowing developers to jump right into algorithm development and testing.</p>
252+
<summary class="faq-question reveal">Q2: Can CodeIt integrate with coding platforms like LeetCode?</summary>
253+
<p class="faq-answer">A: Yes, CodeIt is designed to work seamlessly with coding platforms like LeetCode. It
254+
converts the default code templates provided by these platforms into fully functional code, allowing developers
255+
to jump right into algorithm development and testing.</p>
248256
</details>
249257

250258
<details class="faq-item">
251-
<summary class="faq-question reveal">Q3: Does CodeIt support multiple programming languages?</summary>
252-
<p class="faq-answer">A: Yes, CodeIt supports multiple popular programming languages, including Python, Java, and C++, ensuring flexibility for developers working across different languages.</p>
259+
<summary class="faq-question reveal">Q3: Does CodeIt support multiple programming languages?</summary>
260+
<p class="faq-answer">A: Yes, CodeIt supports multiple popular programming languages, including Python, Java, and
261+
C++, ensuring flexibility for developers working across different languages.</p>
253262
</details>
254263

255264
<details class="faq-item">
256-
<summary class="faq-question reveal">Q4: Is CodeIt suitable for beginners?</summary>
257-
<p class="faq-answer">A: Absolutely! CodeIt has a clean, user-friendly interface that makes it easy to navigate, even for those new to coding platforms.</p>
265+
<summary class="faq-question reveal">Q4: Is CodeIt suitable for beginners?</summary>
266+
<p class="faq-answer">A: Absolutely! CodeIt has a clean, user-friendly interface that makes it easy to navigate,
267+
even for those new to coding platforms.</p>
258268
</details>
259269

260270
<details class="faq-item">
261-
<summary class="faq-question reveal">Q5: Does CodeIt require any specific setup or installation?</summary>
262-
<p class="faq-answer">A: No special setup is required to start using CodeIt. The tool is designed to be user-friendly and easy to integrate into existing workflows, making it accessible to developers at any skill level.</p>
271+
<summary class="faq-question reveal">Q5: Does CodeIt require any specific setup or installation?</summary>
272+
<p class="faq-answer">A: No special setup is required to start using CodeIt. The tool is designed to be
273+
user-friendly and easy to integrate into existing workflows, making it accessible to developers at any skill
274+
level.</p>
263275
</details>
264-
</div>
276+
</div>
265277

266278

267279

@@ -270,7 +282,7 @@
270282
<img src="images/working.png" class="preview" />
271283
</div>
272284
<div class="right reveal">
273-
<p class="heading reveal">Want to contribute to this Project?</p>
285+
<p class="subheading reveal">Want to contribute to this Project?</p>
274286
<p class="text reveal">
275287
As this is an Open-Source Project, contributions are always welcome. Whether you're interested in adding new
276288
features, fixing bugs, or improving documentation, your contributions are valuable. You can contribute to the
@@ -285,9 +297,11 @@
285297

286298
<footer>
287299
<div class="left_last">
288-
<div class="contact" style="display: flex;align-items: center;justify-content: center; flex-direction: column;width: 400px;">
289-
<div class="name" style="display: flex; justify-content: center;gap: 20px; text-align: center;align-items: center;">
290-
<img src="images/Nomenclature.png" alt="" class="end-logo" style="margin: 0px;position: relative;"/>
300+
<div class="contact"
301+
style="display: flex;align-items: center;justify-content: center; flex-direction: column;width: 400px;">
302+
<div class="name"
303+
style="display: flex; justify-content: center;gap: 20px; text-align: center;align-items: center;">
304+
<img src="images/Nomenclature.png" alt="" class="end-logo" style="margin: 0px;position: relative;" />
291305
<a class="subheading" href="index.html" style="margin: 0px;" id="last_link">CodeIt</a>
292306
</div>
293307
<h3 style="margin-top: 20px;text-align: center;">Our Social Media Handles</h3>
@@ -299,25 +313,30 @@ <h3 style="margin-top: 20px;text-align: center;">Our Social Media Handles</h3>
299313
</div>
300314
</div>
301315
</div>
302-
<div class="right_last">
303-
<form name="CodeIt Reviews" style="margin-left: 0px;" action="POST" data-netlify="true" onsubmit="return validateFeedback()">
304-
<p>Let Us Know Your Thoughts!</p>
316+
<div class="right_last">
317+
<form name="CodeIt Reviews" style="margin-left: 0px;" action="POST" data-netlify="true"
318+
onsubmit="return validateFeedback()">
319+
<p>Let Us Know Your Thoughts!</p>
305320

306321
<div class="form">
307-
<div class="user inputclass">
322+
<div class="user inputclass">
308323
<i class="fa-solid fa-user"></i>
309324
<input type="text" name="Name" placeholder="Your Name" required />
310-
</div>
311-
<div class="email inputclass">
312-
<i class="fa-solid fa-envelope"></i>
325+
</div>
326+
<div class="email inputclass">
327+
<i class="fa-solid fa-envelope"></i>
313328
<input type="email" name="Email" placeholder="Your Email ID" required />
314-
</div>
315-
<div class="feed-back inputclass">
329+
</div>
330+
<div class="feed-back inputclass">
316331
<i class="fa-solid fa-comment"></i>
317-
318-
<textarea name="Feedback" id="feedback" class="feedback" placeholder="Your Feedback (minimum 10 characters)" cols="39" rows="3" oninput="checkFeedbackLength(this)"></textarea></div>
319-
<span id="feedbackError"style="color:#ff5457; white-space: normal; opacity: 0%; transition: opacity 0.4s ease; " display="none">Feedback must be at least 10 characters long.</span>
320-
332+
333+
<textarea name="Feedback" id="feedback" class="feedback" placeholder="Your Feedback (minimum 10 characters)"
334+
cols="39" rows="3" oninput="checkFeedbackLength(this)"></textarea>
335+
</div>
336+
<span id="feedbackError"
337+
style="color:#ff5457; white-space: normal; opacity: 0%; transition: opacity 0.4s ease; "
338+
display="none">Feedback must be at least 10 characters long.</span>
339+
321340

322341
<div class="star-rating" style="text-align: center; margin: 10px;">
323342
<input type="radio" id="star5" name="rating" value="5" />
@@ -330,31 +349,31 @@ <h3 style="margin-top: 20px;text-align: center;">Our Social Media Handles</h3>
330349
<label for="star2" title="2 stars">&#9733;</label>
331350
<input type="radio" id="star1" name="rating" value="1" />
332351
<label for="star1" title="1 stars">&#9733;</label>
333-
</div>
334-
<button type="submit" id="send">Send</button>
352+
</div>
353+
<button type="submit" id="send">Send</button>
335354
</div>
336-
</form>
337-
</div>
355+
</form>
356+
</div>
338357

339358
</footer>
340359

341360
<div class="design_line"></div>
342361
<div class="last">
343362
<div id="linksTejas">
344-
<p class="tejas_credits">&copy; 2023-<span id="copyright">32949832</span>
345-
CodeIt.&nbsp;All rights Reserved.</p>
346-
<p> Designed & Developed by <a href="404.html">Tejas
347-
Gupta</a></p>
348-
349-
<p>Licensed under the <a href="https://github.com/multiverseweb/CodeIt/blob/main/LICENSE.md">CC BY-NC-ND 4.0 License</a></p>
350-
</div>
363+
<p class="tejas_credits">&copy; 2024-<span id="copyright">32949832</span>
364+
CodeIt.&nbsp;All rights Reserved.</p>
365+
<p>Designed & Developed by <a href="404.html">Tejas Gupta, Ojas Gupta, Bhavya Jain & Dev Jain</a></p>
366+
367+
<p>Licensed under the <a href="https://github.com/multiverseweb/CodeIt/blob/main/LICENSE.md">CC BY-NC-ND 4.0
368+
License</a></p>
369+
</div>
351370
<div class="links">
352371
<button class="footer_logo" onclick="copylink()" id="link">
353372
<img src="https://icons.veryicon.com/png/o/miscellaneous/foundation-icon-5/link-86.png" alt="" />
354373
</button>
355374
<a href="https://github.com/multiverseweb/CodeIt" class="footer_logo">
356-
357-
<img src="https://pngimg.com/d/github_PNG83.png" alt="" id="link2" /></a>
375+
376+
<img src="https://pngimg.com/d/github_PNG83.png" alt="" id="link2" /></a>
358377

359378
</div>
360379
<script src="resources/scripts/homeScript.js"></script>
@@ -363,44 +382,40 @@ <h3 style="margin-top: 20px;text-align: center;">Our Social Media Handles</h3>
363382
<script>
364383
// Detect changes the selection of the Feedback input field to show the feedback error accordingly
365384
document.forms["CodeIt Reviews"]["Feedback"].addEventListener('blur', event => {
366-
document.getElementById('feedbackError').style.opacity = '0%';
385+
document.getElementById('feedbackError').style.opacity = '0%';
367386
})
368387
document.forms["CodeIt Reviews"]["Feedback"].addEventListener('focus', event => {
369388
checkFeedbackLength(document.forms["CodeIt Reviews"]["Feedback"]);
370389
})
371-
390+
372391
function validateForm() {
373-
const rating = document.querySelector('input[name="rating"]:checked');
374-
if (!rating) {
375-
alert("Please select a rating.");
376-
return false; // Prevent form submission
377-
}
378-
return true; // Allow form submission
379-
}
392+
const rating = document.querySelector('input[name="rating"]:checked');
393+
if (!rating) {
394+
alert("Please select a rating.");
395+
return false; // Prevent form submission
396+
}
397+
return true; // Allow form submission
398+
}
380399
</script>
381400
<script>
382401
window.embeddedChatbotConfig = {
383-
chatbotId: "DBi2wppZwMgjgoS8dKAXE",
384-
domain: "www.chatbase.co"
402+
chatbotId: "DBi2wppZwMgjgoS8dKAXE",
403+
domain: "www.chatbase.co"
385404
}
386-
</script>
387-
<script
388-
src="https://www.chatbase.co/embed.min.js"
389-
chatbotId="DBi2wppZwMgjgoS8dKAXE"
390-
domain="www.chatbase.co"
391-
defer>
392-
</script>
405+
</script>
406+
<script src="https://www.chatbase.co/embed.min.js" chatbotId="DBi2wppZwMgjgoS8dKAXE" domain="www.chatbase.co" defer>
407+
</script>
393408

394-
<!-- Added this script to initialize elements to reveal. -->
409+
<!-- Added this script to initialize elements to reveal. -->
395410

396-
<script>ScrollReveal().reveal('.reveal', {
411+
<script>ScrollReveal().reveal('.reveal', {
397412
distance: '50px',
398413
duration: 400,
399414
easing: 'ease-in-out',
400415
origin: 'bottom',
401416
interval: 100, // Delay between revealing multiple elements
402417
});
403-
</script>
418+
</script>
404419
</body>
405420

406-
</html>
421+
</html>

resources/scripts/common_functions.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ document.querySelector(".navbar").addEventListener("mouseleave", () => {
2626
highlight.style.width = "0";
2727
});
2828
function enableLightTheme() {
29-
console.log("in light");
3029
saveTheme("light");
3130
document.querySelector(".top-elements").style.filter="invert(1)";
3231
document.querySelector(".logo").style.filter="invert(1)";
@@ -82,7 +81,6 @@ function toggleThemeBtn(currentTheme) {
8281
}
8382

8483
function enableDarkTheme() {
85-
console.log("inDark");
8684
saveTheme("dark");
8785
document.querySelector(".top-elements").style.filter="invert(0)";
8886
document.querySelector(".logo").style.filter="invert(0)";
@@ -134,7 +132,6 @@ function saveTheme(theme) {
134132

135133
function applyTheme() {
136134
const savedTheme = localStorage.getItem("theme");
137-
console.log(savedTheme);
138135
if (savedTheme) {
139136
document.documentElement.setAttribute("data-theme", savedTheme);
140137
if (savedTheme === "dark") {

0 commit comments

Comments
 (0)