Skip to content

master #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
104 changes: 53 additions & 51 deletions index
Original file line number Diff line number Diff line change
@@ -1,94 +1,96 @@
<!DOCTYPE html>

<html lang="en">

<head>
<meta charset="UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="stylesheet" href="./style.css" />

<title>Habit Tracker</title>

<title>Daily Habits</title>
</head>

<body>

<div class="container">

<h2>HABITS</h2>

<p></p>

<form class="add-habit">

<input
<body>

class="habit"


type="text"
<form action="/action_page.php">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<input type="submit" value="Submit">
</form>

name="habit"

placeholder="Enter Habit Name"
<div class="container">

required
<h2>HABITS</h2>

/>
<p></p>

<input
<form class="add-habit">

type="number"
<input

name="reps"
class="habit"

placeholder="# of Repetitions"
type="text"

min="1"
name="habit"

required
placeholder="Enter Habit Name"

/>
required

<div class="frequency">
/>

<label for="timeframe">Frequency: </label>
<input

<select name="timeframe" id="timeframe">
type="number"

<option value="Daily">Daily</option>
name="reps"

<option value="Weekly">Weekly</option>
placeholder="# of Repetitions"

<option value="Monthly">Monthly</option>
min="1"

<option value="Yearly">Yearly</option>
required

</select>
/>

</div>
<div class="frequency">

<input type="submit" value="+ Add Habit" />
<label for="timeframe">Frequency: </label>

</form>
<select name="timeframe" id="timeframe">

<option value="Daily">Daily</option>

<option value="Weekly">Weekly</option>

<option value="Monthly">Monthly</option>

<ul class="habits">
<option value="Yearly">Yearly</option>

<li>Loading...</li>
</select>

</ul>
</div>

</div>
<input type="submit" value="+ Add Habit" />

</form>

<label for="habits">Choose a habit:</label>

<select name="habits" id="habits">
<option value="drink water">Drink water</option>
<option value="exercise">Exercise</option>
<option value="walk">Go for a walk</option>
<option value="joy">Find some joy around you</option>
</select>

<script src="./app.js"></script>
<button type="button">Click Me!</button>

</body>
<footer>
<p>Author: Maria Kunevich</p>
<p><a href="mailto:[email protected]">[email protected]</a></p>
</footer>

</html>
</body>
</html>