fix: updated html header hierarchy (#80)

This commit is contained in:
Nathan Cheung 2023-12-02 23:19:26 -08:00 committed by GitHub
parent fe09e91f31
commit b7d2ae1f18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
views/index.html vendored
View file

@ -11,13 +11,13 @@
<div class="container">
<h1>Exercise tracker</h1>
<form action="/api/users" method="post">
<h3>Create a New User</h3>
<h2>Create a New User</h2>
<p><code>POST /api/users</code></p>
<input id="uname" type="text" name="username" placeholder="username" />
<input type="submit" value="Submit" />
</form>
<form action="/api/users/:_id/exercises" id="exercise-form" method="post">
<h3>Add exercises</h3>
<h2>Add exercises</h2>
<p><code>POST /api/users/:_id/exercises</code></p>
<input id="uid" type="text" name=":_id" placeholder=":_id" />
<input id="desc" type="text" name="description" placeholder="description*" />