From 2003f65c51996296c5dcf99d357efc3a570979de Mon Sep 17 00:00:00 2001 From: Janani Manikandan Date: Tue, 28 May 2024 09:37:53 +0530 Subject: [PATCH 01/18] time complexity calc commit --- .../Time-Complexity-Calculator/index.html | 21 +++++ .../Time-Complexity-Calculator/script.js | 27 ++++++ .../Time-Complexity-Calculator/styles.css | 82 +++++++++++++++++++ index.html | 14 ++++ 4 files changed, 144 insertions(+) create mode 100644 Calculators/Time-Complexity-Calculator/index.html create mode 100644 Calculators/Time-Complexity-Calculator/script.js create mode 100644 Calculators/Time-Complexity-Calculator/styles.css diff --git a/Calculators/Time-Complexity-Calculator/index.html b/Calculators/Time-Complexity-Calculator/index.html new file mode 100644 index 000000000..a16729b59 --- /dev/null +++ b/Calculators/Time-Complexity-Calculator/index.html @@ -0,0 +1,21 @@ + + + + + + Time Complexity Calculator + + + +
+

Time Complexity Calculator

+
+ + + +
+
+
+ + + diff --git a/Calculators/Time-Complexity-Calculator/script.js b/Calculators/Time-Complexity-Calculator/script.js new file mode 100644 index 000000000..822d8caeb --- /dev/null +++ b/Calculators/Time-Complexity-Calculator/script.js @@ -0,0 +1,27 @@ +// script.js +function calculateComplexity() { + const algorithm = document.getElementById('algorithm').value; + const resultDiv = document.getElementById('result'); + + if (!algorithm) { + resultDiv.innerHTML = "Please enter an algorithm."; + return; + } + + let complexity = "Unknown"; + + // Basic checks for common algorithm patterns + if (algorithm.includes('for') && algorithm.includes('while')) { + complexity = "O(n * m) - Nested loops"; + } else if (algorithm.match(/for\s*\(.*\)/g)?.length > 1) { + complexity = "O(n^2) - Multiple nested loops"; + } else if (algorithm.includes('for')) { + complexity = "O(n) - Single loop"; + } else if (algorithm.includes('while')) { + complexity = "O(n) - Single loop"; + } else if (algorithm.includes('recursion')) { + complexity = "O(2^n) - Recursion"; + } + + resultDiv.innerHTML = `Estimated Time Complexity: ${complexity}`; +} diff --git a/Calculators/Time-Complexity-Calculator/styles.css b/Calculators/Time-Complexity-Calculator/styles.css new file mode 100644 index 000000000..d200491f6 --- /dev/null +++ b/Calculators/Time-Complexity-Calculator/styles.css @@ -0,0 +1,82 @@ +/* styles.css */ +body { + font-family: 'Roboto', sans-serif; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + margin: 0; + background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%); + color: #333; +} + +.container { + background: #fff; + padding: 30px 40px; + border-radius: 10px; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); + max-width: 600px; + width: 100%; + text-align: center; + transition: transform 0.3s ease; +} + +.container:hover { + transform: translateY(-5px); +} + +h1 { + margin-bottom: 20px; + font-size: 24px; + color: #4A90E2; + border-bottom: 2px solid #4A90E2; + display: inline-block; + padding-bottom: 5px; +} + +form { + margin-bottom: 20px; +} + +label { + display: block; + margin-bottom: 10px; + font-size: 18px; + font-weight: bold; +} + +textarea { + width: 100%; + padding: 15px; + margin-bottom: 20px; + border: 2px solid #ddd; + border-radius: 5px; + font-size: 16px; + transition: border-color 0.3s ease; +} + +textarea:focus { + border-color: #4A90E2; + outline: none; +} + +button { + padding: 15px 30px; + border: none; + background-color: #4A90E2; + color: #fff; + border-radius: 5px; + font-size: 16px; + cursor: pointer; + transition: background-color 0.3s ease; +} + +button:hover { + background-color: #357ABD; +} + +#result { + font-size: 18px; + color: #333; + margin-top: 20px; +} diff --git a/index.html b/index.html index 4abdaab88..0301103b5 100644 --- a/index.html +++ b/index.html @@ -2120,6 +2120,20 @@

Calculates the tip amount and final amount based on tip percentage and amoun +
+
+

Time Complexity Calculator

+

Calculates the different results of a triangle based on input sides.

+ +
+

Triangle Calculator

From 2a3b1107ecf983686ba3cca8f8a09b3fcc0b2fe7 Mon Sep 17 00:00:00 2001 From: Janani Manikandan Date: Tue, 28 May 2024 09:56:48 +0530 Subject: [PATCH 02/18] update commit --- .../Time-Complexity-Calculator/index.html | 1 + .../Time-Complexity-Calculator/script.js | 30 +++++++++++++------ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Calculators/Time-Complexity-Calculator/index.html b/Calculators/Time-Complexity-Calculator/index.html index a16729b59..280ccd3e4 100644 --- a/Calculators/Time-Complexity-Calculator/index.html +++ b/Calculators/Time-Complexity-Calculator/index.html @@ -5,6 +5,7 @@ Time Complexity Calculator +
diff --git a/Calculators/Time-Complexity-Calculator/script.js b/Calculators/Time-Complexity-Calculator/script.js index 822d8caeb..71463c687 100644 --- a/Calculators/Time-Complexity-Calculator/script.js +++ b/Calculators/Time-Complexity-Calculator/script.js @@ -10,17 +10,29 @@ function calculateComplexity() { let complexity = "Unknown"; - // Basic checks for common algorithm patterns - if (algorithm.includes('for') && algorithm.includes('while')) { - complexity = "O(n * m) - Nested loops"; - } else if (algorithm.match(/for\s*\(.*\)/g)?.length > 1) { - complexity = "O(n^2) - Multiple nested loops"; - } else if (algorithm.includes('for')) { - complexity = "O(n) - Single loop"; - } else if (algorithm.includes('while')) { + // Remove comments and whitespaces + const cleanedAlgorithm = algorithm.replace(/\/\/.*|\/\*[\s\S]*?\*\/|^\s*|\s*$/gm, ''); + + // Check for various patterns + const forLoopCount = (cleanedAlgorithm.match(/for\s*\(.*\)\s*{[^}]*}/g) || []).length; + const whileLoopCount = (cleanedAlgorithm.match(/while\s*\(.*\)\s*{[^}]*}/g) || []).length; + const functionNameMatch = cleanedAlgorithm.match(/function\s+(\w+)\s*\(/); + const functionName = functionNameMatch ? functionNameMatch[1] : null; + const recursionCount = functionName ? (cleanedAlgorithm.match(new RegExp(`\\b${functionName}\\(.*\\)`, 'g')) || []).length : 0; + const sortingAlgorithms = /(sort\s*\(|mergeSort|quickSort|heapSort|timSort)/g; + + if (sortingAlgorithms.test(cleanedAlgorithm)) { + complexity = "O(n log n) - Sorting algorithm"; + } else if (forLoopCount > 1 || whileLoopCount > 1 || (forLoopCount > 0 && whileLoopCount > 0)) { + complexity = `O(n^${forLoopCount + whileLoopCount}) - Multiple nested loops`; + } else if (forLoopCount === 1 || whileLoopCount === 1) { complexity = "O(n) - Single loop"; - } else if (algorithm.includes('recursion')) { + } else if (recursionCount > 1) { complexity = "O(2^n) - Recursion"; + } else if (recursionCount === 1) { + complexity = "O(n) - Tail recursion"; + } else if (cleanedAlgorithm.includes('Math.floor') || (cleanedAlgorithm.includes('left') && cleanedAlgorithm.includes('right'))) { + complexity = "O(log n) - Logarithmic time"; } resultDiv.innerHTML = `Estimated Time Complexity: ${complexity}`; From ee387f3525a749a12286558ed83d203a3158faae Mon Sep 17 00:00:00 2001 From: Janani Manikandan Date: Tue, 28 May 2024 11:23:20 +0530 Subject: [PATCH 03/18] search update commit --- index.html | 11 +++++++++++ script.js | 1 + 2 files changed, 12 insertions(+) diff --git a/index.html b/index.html index 0301103b5..77f28845e 100644 --- a/index.html +++ b/index.html @@ -87,8 +87,10 @@

All calculators, spot in a single place!!

Search Calculator


+
+
@@ -2316,6 +2318,15 @@

Calculates the linear density of the yarn from unit system to another.

+ +
+
+
+
+
+

No results found

+ +
diff --git a/script.js b/script.js index 0c4cf0138..3e37766e8 100644 --- a/script.js +++ b/script.js @@ -127,6 +127,7 @@ function filterCalculators() { } } + // Voice command in search bar feature const searchBar = document.querySelector("#searchBar"); const searchBarInput = searchBar.querySelector("input"); From 0e394abd3f49492ed7739630772bb765d8ea8d25 Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 19:17:39 +0530 Subject: [PATCH 04/18] Update script.js --- script.js | 1 - 1 file changed, 1 deletion(-) diff --git a/script.js b/script.js index 3e37766e8..0c4cf0138 100644 --- a/script.js +++ b/script.js @@ -127,7 +127,6 @@ function filterCalculators() { } } - // Voice command in search bar feature const searchBar = document.querySelector("#searchBar"); const searchBarInput = searchBar.querySelector("input"); From d6549f94a8ef8aab7af1b0959a5cc5cbeb483020 Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 19:18:33 +0530 Subject: [PATCH 05/18] Update index.html --- Calculators/Time-Complexity-Calculator/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Calculators/Time-Complexity-Calculator/index.html b/Calculators/Time-Complexity-Calculator/index.html index 280ccd3e4..35a9e3155 100644 --- a/Calculators/Time-Complexity-Calculator/index.html +++ b/Calculators/Time-Complexity-Calculator/index.html @@ -3,9 +3,9 @@ - Time Complexity Calculator - + + Time Complexity Calculator
From ec12ec61d8a36f418e788615d39497c491b1a1ca Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 19:18:50 +0530 Subject: [PATCH 06/18] Update and rename styles.css to style.css --- Calculators/Time-Complexity-Calculator/{styles.css => style.css} | 1 - 1 file changed, 1 deletion(-) rename Calculators/Time-Complexity-Calculator/{styles.css => style.css} (98%) diff --git a/Calculators/Time-Complexity-Calculator/styles.css b/Calculators/Time-Complexity-Calculator/style.css similarity index 98% rename from Calculators/Time-Complexity-Calculator/styles.css rename to Calculators/Time-Complexity-Calculator/style.css index d200491f6..208e878cf 100644 --- a/Calculators/Time-Complexity-Calculator/styles.css +++ b/Calculators/Time-Complexity-Calculator/style.css @@ -1,4 +1,3 @@ -/* styles.css */ body { font-family: 'Roboto', sans-serif; display: flex; From 3ffb39855d39c7a27f054d552531f9c0010c84bc Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 19:23:15 +0530 Subject: [PATCH 07/18] Create README.md --- Calculators/Time-Complexity-Calculator/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Calculators/Time-Complexity-Calculator/README.md diff --git a/Calculators/Time-Complexity-Calculator/README.md b/Calculators/Time-Complexity-Calculator/README.md new file mode 100644 index 000000000..f8f8b5cd5 --- /dev/null +++ b/Calculators/Time-Complexity-Calculator/README.md @@ -0,0 +1,15 @@ +#

Time Complexity Calculator

+ +## Description :- + +Calculator which provides the time complexity of given programs based on certain criteria such as no. of for loops, recursion, sorting etc. + +## Tech Stacks :- + +- HTML +- CSS +- JavaScript + +## Screenshots :- + +![image](https://github.com/Rakesh9100/CalcDiverse/assets/73993775/89c29e55-b71f-49a6-b46a-cb199e437f4b) From 1bd895cc6594ab7e6ea3979b02aeb5503e6b1ce2 Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 19:24:49 +0530 Subject: [PATCH 08/18] Update index.html --- index.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 77f28845e..cf4ceffd7 100644 --- a/index.html +++ b/index.html @@ -2096,13 +2096,13 @@

Calculates Hours, Minutes, Seconds for any entered time.

-

Time Zone Calculator

-

Instantly find the time difference anywhere in the world.

+

Time Complexity Calculator

+

Calculates the time complexity of given programs by the user.

@@ -2110,13 +2110,13 @@

Instantly find the time difference anywhere in the world.

-

Tip Calculator

-

Calculates the tip amount and final amount based on tip percentage and amount.

+

Time Zone Calculator

+

Instantly find the time difference anywhere in the world.

@@ -2124,13 +2124,13 @@

Calculates the tip amount and final amount based on tip percentage and amoun

-

Time Complexity Calculator

-

Calculates the different results of a triangle based on input sides.

+

Tip Calculator

+

Calculates the tip amount and final amount based on tip percentage and amount.

From c0c347b71131f560aeb64bf42c4beeccf7268c34 Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 19:26:47 +0530 Subject: [PATCH 09/18] Update index.html --- index.html | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/index.html b/index.html index cf4ceffd7..3b65cfc67 100644 --- a/index.html +++ b/index.html @@ -87,10 +87,8 @@

All calculators, spot in a single place!!

Search Calculator


-
-
@@ -2318,15 +2316,6 @@

Calculates the linear density of the yarn from unit system to another.

- -
-
-
-
-
-

No results found

- -
From d6d422c049286cde31915f5897046d4b05336706 Mon Sep 17 00:00:00 2001 From: Janani Manikandan Date: Fri, 31 May 2024 19:34:43 +0530 Subject: [PATCH 10/18] no results commit --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 77f28845e..af71a7aec 100644 --- a/index.html +++ b/index.html @@ -2324,6 +2324,7 @@

Calculates the linear density of the yarn from unit system to another.




+

No results found

From 97ceab9fcf3a509853c4cab61168a5a87fd745db Mon Sep 17 00:00:00 2001 From: Janani Manikandan Date: Fri, 31 May 2024 19:48:58 +0530 Subject: [PATCH 11/18] no results js commit --- script.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 0c4cf0138..fdc3c1e70 100644 --- a/script.js +++ b/script.js @@ -111,8 +111,8 @@ function filterCalculators() { input = document.getElementById('calculatorSearch'); filter = input.value.toUpperCase(); calculators = document.querySelectorAll('.container .box'); - console.log(filter) - console.log(calculators) + var noResults = document.getElementById('noResults'); + var hasResults = false; for (i = 0; i < calculators.length; i++) { var calculator = calculators[i]; @@ -121,12 +121,23 @@ function filterCalculators() { if (calculatorName.toUpperCase().indexOf(filter) > -1) { calculator.style.display = "flex"; + hasResults = true; } else { calculator.style.display = "none"; } } + + if (hasResults) { + noResults.style.display = 'none'; + } else { + noResults.style.display = 'block'; + } } +document.addEventListener('DOMContentLoaded', function() { + document.getElementById('noResults').style.display = 'none'; +}); + // Voice command in search bar feature const searchBar = document.querySelector("#searchBar"); const searchBarInput = searchBar.querySelector("input"); From 295504044ee6dcb1f8d92403a508d55bb5246c40 Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 22:20:28 +0530 Subject: [PATCH 12/18] Delete Calculators/Time-Complexity-Calculator directory --- .../Time-Complexity-Calculator/README.md | 15 ---- .../Time-Complexity-Calculator/index.html | 22 ----- .../Time-Complexity-Calculator/script.js | 39 --------- .../Time-Complexity-Calculator/style.css | 81 ------------------- 4 files changed, 157 deletions(-) delete mode 100644 Calculators/Time-Complexity-Calculator/README.md delete mode 100644 Calculators/Time-Complexity-Calculator/index.html delete mode 100644 Calculators/Time-Complexity-Calculator/script.js delete mode 100644 Calculators/Time-Complexity-Calculator/style.css diff --git a/Calculators/Time-Complexity-Calculator/README.md b/Calculators/Time-Complexity-Calculator/README.md deleted file mode 100644 index f8f8b5cd5..000000000 --- a/Calculators/Time-Complexity-Calculator/README.md +++ /dev/null @@ -1,15 +0,0 @@ -#

Time Complexity Calculator

- -## Description :- - -Calculator which provides the time complexity of given programs based on certain criteria such as no. of for loops, recursion, sorting etc. - -## Tech Stacks :- - -- HTML -- CSS -- JavaScript - -## Screenshots :- - -![image](https://github.com/Rakesh9100/CalcDiverse/assets/73993775/89c29e55-b71f-49a6-b46a-cb199e437f4b) diff --git a/Calculators/Time-Complexity-Calculator/index.html b/Calculators/Time-Complexity-Calculator/index.html deleted file mode 100644 index 35a9e3155..000000000 --- a/Calculators/Time-Complexity-Calculator/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - Time Complexity Calculator - - -
-

Time Complexity Calculator

-
- - - -
-
-
- - - diff --git a/Calculators/Time-Complexity-Calculator/script.js b/Calculators/Time-Complexity-Calculator/script.js deleted file mode 100644 index 71463c687..000000000 --- a/Calculators/Time-Complexity-Calculator/script.js +++ /dev/null @@ -1,39 +0,0 @@ -// script.js -function calculateComplexity() { - const algorithm = document.getElementById('algorithm').value; - const resultDiv = document.getElementById('result'); - - if (!algorithm) { - resultDiv.innerHTML = "Please enter an algorithm."; - return; - } - - let complexity = "Unknown"; - - // Remove comments and whitespaces - const cleanedAlgorithm = algorithm.replace(/\/\/.*|\/\*[\s\S]*?\*\/|^\s*|\s*$/gm, ''); - - // Check for various patterns - const forLoopCount = (cleanedAlgorithm.match(/for\s*\(.*\)\s*{[^}]*}/g) || []).length; - const whileLoopCount = (cleanedAlgorithm.match(/while\s*\(.*\)\s*{[^}]*}/g) || []).length; - const functionNameMatch = cleanedAlgorithm.match(/function\s+(\w+)\s*\(/); - const functionName = functionNameMatch ? functionNameMatch[1] : null; - const recursionCount = functionName ? (cleanedAlgorithm.match(new RegExp(`\\b${functionName}\\(.*\\)`, 'g')) || []).length : 0; - const sortingAlgorithms = /(sort\s*\(|mergeSort|quickSort|heapSort|timSort)/g; - - if (sortingAlgorithms.test(cleanedAlgorithm)) { - complexity = "O(n log n) - Sorting algorithm"; - } else if (forLoopCount > 1 || whileLoopCount > 1 || (forLoopCount > 0 && whileLoopCount > 0)) { - complexity = `O(n^${forLoopCount + whileLoopCount}) - Multiple nested loops`; - } else if (forLoopCount === 1 || whileLoopCount === 1) { - complexity = "O(n) - Single loop"; - } else if (recursionCount > 1) { - complexity = "O(2^n) - Recursion"; - } else if (recursionCount === 1) { - complexity = "O(n) - Tail recursion"; - } else if (cleanedAlgorithm.includes('Math.floor') || (cleanedAlgorithm.includes('left') && cleanedAlgorithm.includes('right'))) { - complexity = "O(log n) - Logarithmic time"; - } - - resultDiv.innerHTML = `Estimated Time Complexity: ${complexity}`; -} diff --git a/Calculators/Time-Complexity-Calculator/style.css b/Calculators/Time-Complexity-Calculator/style.css deleted file mode 100644 index 208e878cf..000000000 --- a/Calculators/Time-Complexity-Calculator/style.css +++ /dev/null @@ -1,81 +0,0 @@ -body { - font-family: 'Roboto', sans-serif; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - margin: 0; - background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%); - color: #333; -} - -.container { - background: #fff; - padding: 30px 40px; - border-radius: 10px; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); - max-width: 600px; - width: 100%; - text-align: center; - transition: transform 0.3s ease; -} - -.container:hover { - transform: translateY(-5px); -} - -h1 { - margin-bottom: 20px; - font-size: 24px; - color: #4A90E2; - border-bottom: 2px solid #4A90E2; - display: inline-block; - padding-bottom: 5px; -} - -form { - margin-bottom: 20px; -} - -label { - display: block; - margin-bottom: 10px; - font-size: 18px; - font-weight: bold; -} - -textarea { - width: 100%; - padding: 15px; - margin-bottom: 20px; - border: 2px solid #ddd; - border-radius: 5px; - font-size: 16px; - transition: border-color 0.3s ease; -} - -textarea:focus { - border-color: #4A90E2; - outline: none; -} - -button { - padding: 15px 30px; - border: none; - background-color: #4A90E2; - color: #fff; - border-radius: 5px; - font-size: 16px; - cursor: pointer; - transition: background-color 0.3s ease; -} - -button:hover { - background-color: #357ABD; -} - -#result { - font-size: 18px; - color: #333; - margin-top: 20px; -} From 986acb8fc0353cb00395c868351b65dc251daa10 Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 22:21:46 +0530 Subject: [PATCH 13/18] Update index.html --- index.html | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/index.html b/index.html index 1042593e4..4abdaab88 100644 --- a/index.html +++ b/index.html @@ -2092,20 +2092,6 @@

Calculates Hours, Minutes, Seconds for any entered time.

-
-
-

Time Complexity Calculator

-

Calculates the time complexity of given programs by the user.

- -
-

Time Zone Calculator

@@ -2316,15 +2302,6 @@

Calculates the linear density of the yarn from unit system to another.

- -
-
-
-
-
-

No results found

- - From 21898cf5680b47331eeba40bc953b449d189e1f9 Mon Sep 17 00:00:00 2001 From: Janani Manikandan Date: Fri, 31 May 2024 22:45:13 +0530 Subject: [PATCH 14/18] check commit --- index.html | 2 +- script.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1042593e4..452d7a2eb 100644 --- a/index.html +++ b/index.html @@ -101,7 +101,7 @@

Calculates the distance between two points on a 2D plane.

Source Code - +
diff --git a/script.js b/script.js index fdc3c1e70..6b028a7fb 100644 --- a/script.js +++ b/script.js @@ -135,7 +135,8 @@ function filterCalculators() { } document.addEventListener('DOMContentLoaded', function() { - document.getElementById('noResults').style.display = 'none'; + document.getElementById('noResults').style.display = 'none'; + }); // Voice command in search bar feature From 460069b8828b957a073f2acb0f103eaf8f2ded19 Mon Sep 17 00:00:00 2001 From: Janani Manikandan Date: Fri, 31 May 2024 22:49:41 +0530 Subject: [PATCH 15/18] check1 commit --- index.html | 27 ++++++++++++++++++++++++++- script.js | 3 +-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d4ccf01e2..77f28845e 100644 --- a/index.html +++ b/index.html @@ -87,8 +87,10 @@

All calculators, spot in a single place!!

Search Calculator


+
+
@@ -101,7 +103,7 @@

Calculates the distance between two points on a 2D plane.

Source Code -
+
@@ -2120,6 +2122,20 @@

Calculates the tip amount and final amount based on tip percentage and amoun

+
+
+

Time Complexity Calculator

+

Calculates the different results of a triangle based on input sides.

+ +
+

Triangle Calculator

@@ -2302,6 +2318,15 @@

Calculates the linear density of the yarn from unit system to another.

+ +
+
+
+
+
+

No results found

+ + diff --git a/script.js b/script.js index 6b028a7fb..fdc3c1e70 100644 --- a/script.js +++ b/script.js @@ -135,8 +135,7 @@ function filterCalculators() { } document.addEventListener('DOMContentLoaded', function() { - document.getElementById('noResults').style.display = 'none'; - + document.getElementById('noResults').style.display = 'none'; }); // Voice command in search bar feature From efec1075aaeb30480f677cf67811c4b0545fffba Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 23:03:27 +0530 Subject: [PATCH 16/18] Update index.html --- index.html | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/index.html b/index.html index 77f28845e..4abdaab88 100644 --- a/index.html +++ b/index.html @@ -87,10 +87,8 @@

All calculators, spot in a single place!!

Search Calculator


-
-
@@ -2122,20 +2120,6 @@

Calculates the tip amount and final amount based on tip percentage and amoun

-
-
-

Time Complexity Calculator

-

Calculates the different results of a triangle based on input sides.

- -
-

Triangle Calculator

@@ -2318,15 +2302,6 @@

Calculates the linear density of the yarn from unit system to another.

- -
-
-
-
-
-

No results found

- - From a2f814eb5009ccfb6c0b86a1b99d6046746c677b Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 23:15:24 +0530 Subject: [PATCH 17/18] Update index.html --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 4abdaab88..09ecb7a67 100644 --- a/index.html +++ b/index.html @@ -2302,6 +2302,9 @@

Calculates the linear density of the yarn from unit system to another.

+ +

No results found 🙃

+ From 65aa9269091828bf604b7f123489aa7d4dc8206e Mon Sep 17 00:00:00 2001 From: Rakesh Roshan Date: Fri, 31 May 2024 23:17:17 +0530 Subject: [PATCH 18/18] Update index.html --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 09ecb7a67..00c1c74e1 100644 --- a/index.html +++ b/index.html @@ -2303,6 +2303,7 @@

Calculates the linear density of the yarn from unit system to another.

+




No results found 🙃