modify html

This commit is contained in:
d7hernan 2022-11-07 19:50:29 -08:00
parent b28380fa54
commit 3387e2605f

View File

@ -15,11 +15,12 @@
</head>
<body>
<main>
<!-- Add Recipes Here -->
<!-- Add Entries Here -->
</main>
<!-- For the Explore section - Remove "hidden" class before beginning -->
<form id="new-recipe">
<form id="new-food-entry">
<fieldset>
/* will need to modify to add upload/take image fuction */
<legend>Image:</legend>
<label for="image-src">
Source:
@ -31,10 +32,12 @@
</label>
</fieldset>
<fieldset>
<legend>Title:</legend>
<label for="title-txt">Text:
<legend> Meal: </legend>
/* TODO: change parameters */
<label for="Meal: "> Meal:
<input type="text" id="titleTxt" name="titleTxt" required>
</label>
/* navigate to review page */
<label for="title-lnk">Link:
<input type="url" id="titleLnk" name="titleLnk" required>
</label>
@ -59,28 +62,19 @@
<label for="rating-5">
5<input type="radio" id="rating-5" value="5" name="rating">
</label>
<label for="numRatings">
Num Ratings:
<input type="number" id="numRatings" name="numRatings">
</label>
</fieldset>
<fieldset>
<legend>Other Info:</legend>
<label for="organization">
Organization:
<input type="text" id="organization" name="organization" required>
<label for="restaurant">
Restaurant:
<input type="text" id="restaurant" name="restaurant" required>
</label>
<label for="lengthTime">
Length (time):
<input type="text" id="lengthTime" name="lengthTime" required>
</label>
<label for="ingredients">
<p>Ingredients:</p>
<textarea name="ingredients" id="ingredients" cols="38" rows="5"
required></textarea>
<label for="comments">
Comments:
<input type="text" id="comments" name="comments" required>
</label>
</fieldset>
<button type="submit">Add Recipe</button>
<button type="submit">Add Review</button>
<button type="button" class="danger">Clear Local Storage</button>
</form>
</body>