Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"[markdown]": {
"editor.fontSize": 14,
"editor.lineHeight": 26,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 64,
"editor.lineNumbers": "on",
"editor.quickSuggestions": false,
"editor.minimap.enabled": false
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "[![made-with-javascript](https://img.shields.io/badge/Made%20with-JavaScript-1f425f.svg)](https://www.javascript.com) [![Maintenance](https://img.shields.io/badge/Maintained%3F-no-red.svg)](https://bitbucket.org/lbesson/ansi-colors)",
"main": "tailwind.config.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build-css" : "tailwindcss build -i src/assets/css/styles.css -o public/styles.css "
},
"keywords": [],
"author": "",
"keywords": [ ],
"author": "zothsu",
"license": "ISC",
"devDependencies": {
"prettier": "^3.0.0",
Expand Down
69 changes: 69 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!DOCTYPE html>
<head>
<meta charset="UTF=8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>passwordGenerator</title>
<link href="styles.css" rel='stylesheet' type='text/css'>
</head>

<body class="text-base text-slate-300 bg-[#1f2937]">
<div><!-- content wrapper -->

<div>
<nav>
<div>
<h1 class="text-xl text-green-500">
<a href="/">Password Generator</a>
</h1>
</div>
<ul>
<li>
<a href="#">
<span>Home</span>
</a>
</li>
<a href="#">
<span>about</span>
</a>
</li>
<li>
<a href="#">
<span>contact</span>
</a>
</li>
</ul>
</nav>
</div><!-- END NAV -->

<main>
<h2>Generate two unique passwords with one click</h2>
<div><!-- cards go here-->
</div>
<div>
<div><span>child of div</span></div>
</div>
<div class=" max-w-fit m-auto ">
<header>
<h1 id="header-line-one" class="text-xl">Generate a
<br/>
<strong id="header-line-two" class="text-green-400 ">Random Password</strong>
</h1>
<p class="text-center sm:text-left ">Never use an insecure password ever again</p>
</header>
<div class="flex">
<button
id="generate-passwords"
class="bg-green-500 text-zinc-50 font-semibold hover:bg-green-600 rounded-lg text-center m-2 p-2">Generate passwords</button>
</div>
<hr class=" text-zinc-50 mt-0.5 mb-1.5">
<div class="flex flex-row space-x-4 justify-between text-green-500 font-semibold">
<div id="password-one" class="w-full bg-slate-50/75 rounded-md text-center"> - </div>
<div id="password-two" class="w-full bg-slate-50/75 rounded-md text-center"> - </div>
</div>
</div>
</main>
</div>

<script src="assets/js/scripts.js"></script>
</body>
</html>
Loading