Skip to content
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

Daniel fhc lab04 burrito order form #200

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions code/daniel/fhc_files/lab04-burrito_order_form/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!DOCTYPE html>
<html lang="en">


<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Demo Page</title>
<link rel="stylesheet" type="text/css" href="styles.css"/>
</head>


<body>
<div class="container">
<header>
<h1>Burrito Grande Order Form!</h1>
</header>

<main>
<p>Build your order below</p>
</main>

<section>
<form action="https://webhook.site/4c0b9162-980b-4cb2-a582-76338ffe49ce" method="post">
<p>Tortilla:</p>
<input type="radio" name="Tortilla" value="White Flour" checked> White Flour
<input type="radio" name="Tortilla" value="Wheat Flour"> Wheat Flour
<input type="radio" name="Tortilla" value="Spinach"> Spinach
<input type="radio" name="Tortilla" value="Corn"> Corn <br>
<p>Protein:</p>
<input type="checkbox" name="Meat" value="Carnitas"> Carnitas
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be radio buttons

<input type="checkbox" name="Meat" value="Chicken"> Chicken
<input type="checkbox" name="Meat" value="Sofritas"> Sofritas
<br>
<p>Beans:</p>
<input type="checkbox" name="Beans" value="Beans"> Black<br>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be radio buttons

<input type="checkbox" name="Beans" value="Beans"> Pinto<br>
<p>Rice:</p>
<input type="checkbox" name="Cheese" value="Cheese"> White<br>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be radio buttons. name should be Rice. etc.

<input type="checkbox" name="Cheese" value="Cheese"> Brown<br>
<p>Additional:</p>
<input type="checkbox" name="Cheese" value="Cheese"> Cheese<br>
<input type="checkbox" name="Salsa" value="Salsa"> Salsa<br>
<input type="checkbox" name="Sour Cream" value="Sour Cream"> Sour Cream
<br>
</form>
</section>


<aside>
<figure>
<img src="burrito.jpeg" alt="" width="450" height="310">
<figcaption>MmMmMm</figcaption>
</figure>
</aside>


<footer>
<form>

<textarea>Enter any additional food requests here
</textarea>
<br>

<p>First Name:</p>
<input type="text" name="myname"/>
<p>Last Name:</p>
<input type="text" name="myname"/>
<p>Email:</p>
<input type="text" name="myname"/>
<p>Password:</p>
<label for="pass"></label>
<input type="password" id="pass" name="password"
minlength="8" required>
<br>
<button type="submit">submit</button>

</form>
</footer>

</div>
<script type="text/javascript" src="js/index.js"></script>


</body>
</html>

This file was deleted.

67 changes: 67 additions & 0 deletions code/daniel/fhc_files/lab04-burrito_order_form/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}

header {
display: flex;
justify-content: center;
align-items: center;
font-size: 1.4em;
text-align: center;
border-bottom: 5px solid;
border-top: 3px solid;
border-left: 3px solid;
border-right: 3px solid;
height: 7vh
}

main {
background-color: darkolivegreen;
display: flex;
justify-content: center;
font-size: 1.2em;
border-bottom: 2px solid;
justify-content: center;
}

section {
background-color: wheat;
display: flex;
justify-content: flex-start;
text-align: start;
}

aside {
width: 40%;
padding-left: 15px;
margin-left: 15px;
font-family: cursive;
font-size: 2em;
text-align: center;
display: flex;
justify-content:space-between;
align-items: center;

}

footer {
bottom: 10;
background-color: darkolivegreen;
justify-content: flex-end;
text-align:start;
}

.container {
display: flex;
flex-flow:column;
justify-content: flex-start;
text-align: center;
background: wheat;
height: 100vh

};