Add version number and best practices
This commit is contained in:
parent
23819f8a44
commit
21098de5d6
|
@ -0,0 +1,11 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
indent_style = space
|
||||
indent_size = 4
|
|
@ -0,0 +1,2 @@
|
|||
# Simplify fractions
|
||||
Simplifies a fraction of integers by dividing both operands by their greatest common divisor.
|
21
index.html
21
index.html
|
@ -4,19 +4,15 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="Felix W. Dekker" />
|
||||
<meta name="application-name" content="Dice probabilities" />
|
||||
<meta name="description" content="Calculates the probability of throwing a value given a combination of dice." />
|
||||
<meta name="application-name" content="Simplify fractions" />
|
||||
<meta name="description" content="Simplify fractions." />
|
||||
<meta name="theme-color" content="#0033cc" />
|
||||
|
||||
<title>Simplify fractions | FWDekker</title>
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"
|
||||
crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
|
||||
integrity="sha256-l85OmPOjvil/SOvVt3HnSSjzF1TUMyT9eV0c2BzEGzU=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.min.css"
|
||||
integrity="sha256-Ro/wP8uUi8LR71kwIdilf78atpu8bTEwrK5ZotZo+Zc=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://static.fwdekker.com/css/milligram-common.css" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://static.fwdekker.com/css/milligram-bundle.min.css" crossorigin="anonymous" />
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrapper">
|
||||
|
@ -24,6 +20,13 @@
|
|||
<header class="header">
|
||||
<div class="container">
|
||||
<h1>Simplify fractions</h1>
|
||||
<noscript>
|
||||
<span style="color: red; font-weight: bold;">
|
||||
This website does not function if JavaScript is disabled.
|
||||
Please check the <a href="https://www.enable-javascript.com/">
|
||||
instructions on how to enable JavaScript in your web browser</a>.
|
||||
</span>
|
||||
</noscript>
|
||||
<blockquote>
|
||||
<p><em>Simplify a fraction to eliminate common factors.</em></p>
|
||||
</blockquote>
|
||||
|
@ -41,7 +44,7 @@
|
|||
<label for="denominator">Denominator</label>
|
||||
<input type="number" id="denominator" min="-2147483647" max="2147483647" />
|
||||
|
||||
<button type="button" id="submit">Calculator</button>
|
||||
<button type="button" id="submit">Simplify</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
|
@ -60,6 +63,8 @@
|
|||
Licensed under the
|
||||
<a href="https://git.fwdekker.com/FWDekker/simplify-fractions/src/branch/master/LICENSE">MIT License</a>.
|
||||
Source code available on <a href="https://git.fwdekker.com/FWDekker/simplify-fractions/">git</a>.
|
||||
|
||||
<div style="float: right;">v1.0.11</div>
|
||||
</section>
|
||||
</footer>
|
||||
</main>
|
||||
|
|
Loading…
Reference in New Issue