-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (60 loc) · 2.74 KB
/
index.html
File metadata and controls
72 lines (60 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FinX</title>
<link rel="stylesheet" href="style.css">
<script src="./index.js" defer></script>
</head>
<body>
<header>
<div class="header-left">
<img src="./img/logoBlackSVG.svg" alt="Logo">
<h1 id="logo-text">FinX</h1>
</div>
<div class="header-nav">
<p>Overview</p>
<p>Long Term</p>
</div>
</header>
<main>
<div id="hero">
<h1 id="welcome">Welcome.</h1>
</div>
<div id="setup" class="hidden">
<div class="setup-starter" id="setup-starter">
<h2>Welcome to FinX!</h2>
<p>Let's get started by setting up your goals and preferences.</p>
<button type="button" id="start-setup">Ready!</button>
</div>
<form id="setup-form" class="hidden">
<label for="first-name">Whats your name?</label>
<input type="text" id="first-name" placeholder="First Name" name="firstName" required>
<label for="age">How old are you?</label>
<input type="number" id="age" placeholder="Age" min="0" name="age" required>
<label for="currency">What currency do you use?</label>
<select id="currency" name="currency" required>
<option value="EUR">EUR</option>
<option value="USD">USD</option>
<option value="GBP">GBP</option>
<option value="CHF">CHF</option>
</select>
<label for="goal">What is your goal networth in 10 years?</label>
<input type="text" id="goal" placeholder="Goal" name="goal" required>
<label for="netWorth">What is your current net worth?</label>
<input type="number" id="netWorth" placeholder="Net worth" name="netWorth" required>
<label for="investedSavings">What is your sum of invested savings?</label>
<input type="number" id="investedSavings" placeholder="Invested Savings" name="investedSavings" required>
<label for="annual-return">What is your expected annual return on your savings?</label>
<input type="number" id="annual-return" min="0" step="0.01" name="annualReturnPercent" required>
<label for="monthly-income">What is your monthly income?</label>
<input type="number" id="monthly-income" min="0" step="0.01" name="monthlyIncome" required>
<label for="monthly-savings">How much do you save each month?</label>
<input type="number" id="monthly-savings" min="0" step="0.01" name="monthlySavings" required>
<button type="submit">Finish setup</button>
</form>
</div>
</main>
</body>
</html>