-
Notifications
You must be signed in to change notification settings - Fork 34
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
completed lab #7
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="style.css" type="text/css" /> | ||
</head> | ||
<body> | ||
<div class="container-wrapper"> | ||
<main class="container"> | ||
<header> | ||
<h4>Quiz'n You, my guy</h4> | ||
</header> | ||
|
||
<section class="q1"> | ||
<h4>Info Please</h4> | ||
<div style="float:left"> | ||
<label for="name">Name</label> | ||
<input id="name" type="text" value="" name="name"> | ||
</div> | ||
|
||
<div style="float:left;"> | ||
<label for="email">Email</label> | ||
<input id="email" type="text" value="" name="email"> | ||
</div> | ||
|
||
|
||
</section> | ||
|
||
|
||
|
||
<section class="q2"> | ||
<div> | ||
<h4> Name this anime;<p>This anime is about some dude forcing a kid to eat his hair.</p></h4> | ||
|
||
</div> | ||
<input type="radio" name="" value="always">Made In Abyss | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Each of these radio <input type="radio" name="anime" value="abyss" id="abyss">
<label for="abyss">Made In Abyss</label> Having appropriate values for |
||
<input type="radio" name="" value="never">Vinland SAGA | ||
<input type="radio" name="" value="costChange">My Hero Acadamia | ||
</section> | ||
|
||
<section class="q3"> | ||
<h5>Tell us about yaself</h5> | ||
|
||
<textarea placeholder="'Hi, my name is...'.........You get the idea"></textarea> | ||
|
||
</section> | ||
|
||
<section class="q4"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're using |
||
<h4>Tryna Join The Club ?</h4> | ||
<input type="checkbox" id="yes" name="Yes" | ||
checked> | ||
<label style="margin-right: 10px;" for="post">Yes</label> | ||
|
||
|
||
<input type="checkbox" id="no" name="No" | ||
checked> | ||
<label for="post">No</label> | ||
|
||
</section> | ||
<section class="q5"> | ||
<text style="display:block;">This my last question. Whats your sign ?</text> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Get rid of this inline styling here. |
||
|
||
<select> | ||
<option value="Aries">Aries</option> | ||
<option value="Leo">Leo</option> | ||
<option value="Sagittarius">Sagittarius</option> | ||
<option value="Taurus">Taurus</option> | ||
<option value="Virgo">Virgo</option> | ||
<option value="Capricorn">Capricorn</option> | ||
<option value="Gemini">Gemini</option> | ||
<option value="Libra">Libra</option> | ||
<option value="Aquarius">Aquarius</option> | ||
<option value="Cancer">Cancer</option> | ||
<option value="Scorpio">Scorpio</option> | ||
<option value="Pisces">Pisces</option> | ||
</select> | ||
|
||
</section> | ||
<button>Submit</button> | ||
</main> | ||
</div> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap'); | ||
@import url('https://fonts.googleapis.com/css?family=Rubik&display=swap'); | ||
|
||
body { | ||
background-color: #040B1A; | ||
} | ||
|
||
.container-wrapper { | ||
display: flex; | ||
align-items: center; | ||
margin: auto; | ||
max-width: 750px; | ||
padding: 8px; | ||
box-sizing: border-box; | ||
background: rgb(58,76,180); | ||
background: linear-gradient(90deg, rgba(58,76,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,69,176,1) 100%); | ||
background-clip: padding-box; | ||
/* important Do not Delete */ | ||
border: solid 5px transparent; | ||
/* important Do not Delete */ | ||
border-radius: 25px; | ||
} | ||
|
||
.container { | ||
height: 670px; | ||
width: 100%; | ||
margin: 0 auto; | ||
background-color: grey; | ||
border-radius: 25px; | ||
margin:0px; | ||
border: 1px solid yellow; | ||
} | ||
|
||
body > div > main > header > h4 { | ||
text-align: center; | ||
height: 40px; | ||
width: 100%; | ||
font-family: 'Raleway', sans-serif; | ||
background-color: #0E275F; | ||
color: white; | ||
margin: 0px; | ||
padding: 10px 0px 0px 0px; | ||
border-top-right-radius: 25px; | ||
border-top-left-radius: 25px; | ||
} | ||
|
||
|
||
section { | ||
height: 100px; | ||
width: 100%; | ||
background-color: blue; | ||
} | ||
|
||
section h5 { | ||
margin: 0px; | ||
padding: 10px; | ||
} | ||
|
||
.q1 { | ||
|
||
text-align: center; | ||
background-color:#808080; | ||
color: white; | ||
font-family: 'Raleway', sans-serif; | ||
} | ||
|
||
#name, #email { | ||
display:block; | ||
margin-right: 0px; | ||
} | ||
|
||
.q1 div { | ||
margin:0px 0px 0px 210px; | ||
} | ||
.q1 div + div { | ||
margin:0px 0px 0px 10px; | ||
} | ||
|
||
|
||
|
||
.q1 h4 { | ||
margin:5px 0px 10px 0px; | ||
} | ||
/*font-family: 'Rubik', sans-serif;*/ | ||
|
||
.q2 { | ||
text-align: center; | ||
background-color:#eeeeee; | ||
color: black; | ||
font-family: 'Raleway', sans-serif; | ||
} | ||
|
||
.q2 h4,p { | ||
margin:5px 0px 15px 0px; | ||
padding:0px; | ||
} | ||
|
||
|
||
.q3 { | ||
text-align: center; | ||
background-color:#808080; | ||
color: white; | ||
font-family: 'Raleway', sans-serif; | ||
} | ||
|
||
body > div > main > section.q3 > textarea { | ||
max-height: 55px; | ||
max-width: 500px; | ||
width: 300px; | ||
height: 45px; | ||
} | ||
|
||
|
||
.q4 { | ||
text-align: center; | ||
background-color:#eeeeee; | ||
color: black; | ||
font-family: 'Raleway', sans-serif; | ||
} | ||
|
||
.q5 { | ||
text-align: center; | ||
background-color:#808080; | ||
color: white; | ||
font-family: 'Raleway', sans-serif; | ||
} | ||
|
||
|
||
button { | ||
height: 35px; | ||
text-align: center; | ||
margin: 0px 275px 0px 275px; | ||
border-radius: 25px; | ||
border: 2px solid yellow; | ||
color: white; | ||
width: 200px; | ||
position: relative; | ||
background: linear-gradient(to right, red, purple); | ||
padding: 3px; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotta get rid of this.