Skip to content

Commit 1775bb4

Browse files
style: format code with ClangFormat, dotnet-format, Prettier, RuboCop, Rustfmt, Scalafmt, StandardJS, StandardRB and swift-format
This commit fixes the style issues introduced in b1a3af6 according to the output from ClangFormat, dotnet-format, Prettier, RuboCop, Rustfmt, Scalafmt, StandardJS, StandardRB and swift-format. Details: None
1 parent b1a3af6 commit 1775bb4

9 files changed

Lines changed: 331 additions & 296 deletions

File tree

index.html

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,51 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>All-in-One Tools</title>
7-
<link rel="stylesheet" href="css/style.css">
8-
</head>
9-
<body>
10-
<header>
11-
<h1>All-in-One Tools</h1>
12-
<p>A collection of useful tools, all in one place.</p>
13-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>All-in-One Tools</title>
7+
<link rel="stylesheet" href="css/style.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<h1>All-in-One Tools</h1>
12+
<p>A collection of useful tools, all in one place.</p>
13+
</header>
1414

15-
<main class="tool-grid">
16-
<div class="tool-card">
17-
<h2>Unit Converter</h2>
18-
<p>Convert between common units (length, weight, temperature).</p>
19-
<a href="tools/converter.html" class="btn">Open</a>
20-
</div>
21-
<div class="tool-card">
22-
<h2>Calculator</h2>
23-
<p>Perform quick calculations.</p>
24-
<a href="tools/calculator.html" class="btn">Open</a>
25-
</div>
26-
<div class="tool-card">
27-
<h2>Password Generator</h2>
28-
<p>Create strong and secure passwords.</p>
29-
<a href="tools/password.html" class="btn">Open</a>
30-
</div>
31-
<div class="tool-card">
32-
<h2>QR Code Generator</h2>
33-
<p>Turn text or links into QR codes.</p>
34-
<a href="tools/qr.html" class="btn">Open</a>
35-
</div>
15+
<main class="tool-grid">
16+
<div class="tool-card">
17+
<h2>Unit Converter</h2>
18+
<p>Convert between common units (length, weight, temperature).</p>
19+
<a href="tools/converter.html" class="btn">Open</a>
20+
</div>
21+
<div class="tool-card">
22+
<h2>Calculator</h2>
23+
<p>Perform quick calculations.</p>
24+
<a href="tools/calculator.html" class="btn">Open</a>
25+
</div>
26+
<div class="tool-card">
27+
<h2>Password Generator</h2>
28+
<p>Create strong and secure passwords.</p>
29+
<a href="tools/password.html" class="btn">Open</a>
30+
</div>
31+
<div class="tool-card">
32+
<h2>QR Code Generator</h2>
33+
<p>Turn text or links into QR codes.</p>
34+
<a href="tools/qr.html" class="btn">Open</a>
35+
</div>
36+
</main>
3637

37-
</main>
38-
39-
<footer>
40-
<p>Made with ❤️ by LCS</p>
41-
</footer>
42-
</body>
38+
<footer>
39+
<p>Made with ❤️ by LCS</p>
40+
</footer>
41+
</body>
4342
</html>
4443

4544
<!-- Sentry Loader -->
46-
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
45+
<script
46+
src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js"
47+
crossorigin="anonymous"
48+
></script>
4749
<script src="js/sentry.js"></script>
4850

4951
<script>
@@ -60,4 +62,4 @@ <h2>QR Code Generator</h2>
6062

6163
<script>
6264
myUndefinedFunction(); // This will trigger an error
63-
</script>
65+
</script>

js/sentry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ setTimeout(() => {
1818
} catch (err) {
1919
Sentry.captureException(err);
2020
}
21-
}, 2000);
21+
}, 2000);

tools/calculator.html

Lines changed: 44 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,53 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Calculator</title>
7-
<link rel="stylesheet" href="../css/style.css">
8-
<link rel="stylesheet" href="calculator.css">
9-
</head>
10-
<body>
11-
<header>
12-
<h1>Calculator</h1>
13-
<a href="../index.html" class="btn">← Back</a>
14-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Calculator</title>
7+
<link rel="stylesheet" href="../css/style.css" />
8+
<link rel="stylesheet" href="calculator.css" />
9+
</head>
10+
<body>
11+
<header>
12+
<h1>Calculator</h1>
13+
<a href="../index.html" class="btn">← Back</a>
14+
</header>
1515

16-
<main class="calc-container">
17-
<div class="calc-screen" id="screen">0</div>
18-
<div class="calc-buttons">
19-
<button>C</button>
20-
<button></button>
21-
<button>%</button>
22-
<button>/</button>
16+
<main class="calc-container">
17+
<div class="calc-screen" id="screen">0</div>
18+
<div class="calc-buttons">
19+
<button>C</button>
20+
<button></button>
21+
<button>%</button>
22+
<button>/</button>
2323

24-
<button>7</button>
25-
<button>8</button>
26-
<button>9</button>
27-
<button>*</button>
24+
<button>7</button>
25+
<button>8</button>
26+
<button>9</button>
27+
<button>*</button>
2828

29-
<button>4</button>
30-
<button>5</button>
31-
<button>6</button>
32-
<button>-</button>
29+
<button>4</button>
30+
<button>5</button>
31+
<button>6</button>
32+
<button>-</button>
3333

34-
<button>1</button>
35-
<button>2</button>
36-
<button>3</button>
37-
<button>+</button>
34+
<button>1</button>
35+
<button>2</button>
36+
<button>3</button>
37+
<button>+</button>
3838

39-
<button>0</button>
40-
<button>.</button>
41-
<button>=</button>
42-
</div>
43-
</main>
39+
<button>0</button>
40+
<button>.</button>
41+
<button>=</button>
42+
</div>
43+
</main>
4444

45-
<script src="calculator.js"></script>
46-
</body>
45+
<script src="calculator.js"></script>
46+
</body>
4747
</html>
4848

49-
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
50-
<script src="../js/sentry.js"></script>
49+
<script
50+
src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js"
51+
crossorigin="anonymous"
52+
></script>
53+
<script src="../js/sentry.js"></script>

tools/clock.html

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Live Clock</title>
7-
<link rel="stylesheet" href="clock.css">
8-
</head>
9-
<body>
10-
<header>
11-
<h1>🕒 Live Clock</h1>
12-
<p>See the current date and time in real time.</p>
13-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Live Clock</title>
7+
<link rel="stylesheet" href="clock.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<h1>🕒 Live Clock</h1>
12+
<p>See the current date and time in real time.</p>
13+
</header>
1414

15-
<main class="clock-container">
16-
<div id="clock" class="clock-display">--:--:--</div>
17-
<div id="date" class="date-display">Loading date...</div>
18-
</main>
15+
<main class="clock-container">
16+
<div id="clock" class="clock-display">--:--:--</div>
17+
<div id="date" class="date-display">Loading date...</div>
18+
</main>
1919

20-
<footer>
21-
<p><a href="../index.html">⬅ Back to Tools</a></p>
22-
</footer>
20+
<footer>
21+
<p><a href="../index.html">⬅ Back to Tools</a></p>
22+
</footer>
2323

24-
<script src="clock.js"></script>
25-
</body>
24+
<script src="clock.js"></script>
25+
</body>
2626
</html>
2727

28-
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
29-
<script src="../js/sentry.js"></script>
28+
<script
29+
src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js"
30+
crossorigin="anonymous"
31+
></script>
32+
<script src="../js/sentry.js"></script>

tools/converter.html

Lines changed: 40 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,48 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Unit Converter</title>
7-
<link rel="stylesheet" href="../css/style.css">
8-
<link rel="stylesheet" href="converter.css">
9-
</head>
10-
<body>
11-
<header>
12-
<h1>Unit Converter</h1>
13-
<a href="../index.html" class="btn">← Back</a>
14-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Unit Converter</title>
7+
<link rel="stylesheet" href="../css/style.css" />
8+
<link rel="stylesheet" href="converter.css" />
9+
</head>
10+
<body>
11+
<header>
12+
<h1>Unit Converter</h1>
13+
<a href="../index.html" class="btn">← Back</a>
14+
</header>
1515

16-
<main class="converter-container">
17-
<div class="converter-box">
18-
<label for="type">Conversion Type:</label>
19-
<select id="type">
20-
<option value="length">Length (m ↔ km)</option>
21-
<option value="weight">Weight (kg ↔ g)</option>
22-
<option value="temperature">Temperature (°C ↔ °F)</option>
23-
</select>
24-
</div>
16+
<main class="converter-container">
17+
<div class="converter-box">
18+
<label for="type">Conversion Type:</label>
19+
<select id="type">
20+
<option value="length">Length (m ↔ km)</option>
21+
<option value="weight">Weight (kg ↔ g)</option>
22+
<option value="temperature">Temperature (°C ↔ °F)</option>
23+
</select>
24+
</div>
2525

26-
<div class="converter-box">
27-
<label for="inputValue">Input Value:</label>
28-
<input type="number" id="inputValue" placeholder="Enter value">
29-
</div>
26+
<div class="converter-box">
27+
<label for="inputValue">Input Value:</label>
28+
<input type="number" id="inputValue" placeholder="Enter value" />
29+
</div>
3030

31-
<div class="converter-box">
32-
<button id="convertBtn" class="btn">Convert</button>
33-
</div>
31+
<div class="converter-box">
32+
<button id="convertBtn" class="btn">Convert</button>
33+
</div>
3434

35-
<div class="converter-box">
36-
<h2>Result: <span id="result">-</span></h2>
37-
</div>
38-
</main>
35+
<div class="converter-box">
36+
<h2>Result: <span id="result">-</span></h2>
37+
</div>
38+
</main>
3939

40-
<script src="converter.js"></script>
41-
</body>
40+
<script src="converter.js"></script>
41+
</body>
4242
</html>
4343

44-
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
45-
<script src="../js/sentry.js"></script>
44+
<script
45+
src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js"
46+
crossorigin="anonymous"
47+
></script>
48+
<script src="../js/sentry.js"></script>

0 commit comments

Comments
 (0)