Add version number and best practices
This commit is contained in:
parent
6f36136986
commit
1150cabaea
|
@ -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,3 @@
|
|||
# Codsworth name generator
|
||||
Choose a fitting name for your _Fallout 4_ character that Codsworth can pronounce.
|
||||
This tool gives you a list of names that look like yours so that you can pretend he's saying the right name.
|
40
index.html
40
index.html
|
@ -11,26 +11,30 @@
|
|||
|
||||
<title>Codsworth name generator</title>
|
||||
|
||||
<link rel="shortcut icon" href="https://fwdekker.com/favicon.ico" />
|
||||
<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">
|
||||
<main class="wrapper">
|
||||
<!-- Header -->
|
||||
<header class="header">
|
||||
<section class="container">
|
||||
<h1>Codsworth name generator</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>These generators use the
|
||||
<p><em>
|
||||
These generators use the
|
||||
<a href="http://www.cinemablend.com/games/Fallout-4-Full-List-Names-Codsworth-Can-Say-98407.html">
|
||||
list of names that can be pronounced by Codsworth</a> to help you find an appropriate name
|
||||
for your character.
|
||||
list of names that can be pronounced by Codsworth
|
||||
</a>
|
||||
to help you find an appropriate name for your character.
|
||||
</em></p>
|
||||
</blockquote>
|
||||
</section>
|
||||
|
@ -48,6 +52,7 @@
|
|||
<h2>Random names</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Inputs -->
|
||||
<div class="row">
|
||||
<div class="column">
|
||||
|
@ -56,6 +61,7 @@
|
|||
</div>
|
||||
<div class="column"></div>
|
||||
</div>
|
||||
|
||||
<!-- Outputs -->
|
||||
<div class="row">
|
||||
<div class="column">
|
||||
|
@ -81,15 +87,17 @@
|
|||
Licensed under the
|
||||
<a href="https://git.fwdekker.com/FWDekker/codsworth-namegen/src/branch/master/LICENSE">MIT License</a>.
|
||||
Source code available on <a href="https://git.fwdekker.com/FWDekker/codsworth-namegen/">git</a>.
|
||||
|
||||
<div style="float: right;">v1.0.8</div>
|
||||
</section>
|
||||
</footer>
|
||||
</main>
|
||||
</main>
|
||||
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="jaro-winkler.js"></script>
|
||||
<script src="https://static.fwdekker.com/js/common.js" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
<!-- Scripts -->
|
||||
<script src="jaro-winkler.js"></script>
|
||||
<script src="https://static.fwdekker.com/js/common.js" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
/// Constants
|
||||
const similarCount = 25;
|
||||
const randomCount = 25;
|
||||
|
@ -235,6 +243,6 @@
|
|||
};
|
||||
|
||||
$("#generateRandom").onclick = generateRandom;
|
||||
</script>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue