Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
Open
Show file tree
Hide file tree
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
65 changes: 60 additions & 5 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand All @@ -8,20 +9,74 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
</head>

<body>
<header>
<h1>Product Pick</h1>
</header>
<main>
<form>
<!-- write your html here-->
<!-- try writing out the requirements first-->
</form>
<form>
<label for="First-name">
First Name
</label>
<input type="text">
<label for="Last-name">
Last Name
</label>
<input type="text">
<label for="email">Email</label>
<input type="email">
<label for="tel-number">Tel Number</label>
<input type="tel">

<label for="size">Size</label>
<div class="options">
<div>
<input type="radio" name="size" value="XS">
<label for="size">Extra Small</label>
</div>
<div>
<input type="radio" name="size" value="S">
<label for="size">Small</label>
</div>
<div>
<input type="radio" name="size" value="M">
<label for="size">Medium</label>
</div>
<div>
<input type="radio" name="size" value="L">
<label for="size">Large</label>
</div>
<div>
<input type="radio" name="size" value="XL">
<label for="size">Extra Large</label>
</div>
</div>
<label for="colour">Colour</label>
<div class="options">
<div>
<input type="radio" name="colour" value="red">
<label for="colour">Red</label>
</div>
<div>
<input type="radio" name="colour" value="Blue">
<label for="colour">Blue</label>
</div>
<div>
<input type="radio" name="colour" value="White">
<label for="colour">White</label>
</div>

</div>
<label for="date">Delivery Date</label>
<input type="date" name="date" min="14-02-2023" max="14-03-2023">
<button>Submit</button>
</form>

</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<h2>By BAKI TUNCER</h2>
</footer>
</body>

Expand Down
41 changes: 41 additions & 0 deletions Form-Controls/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

html{
text-align: center;

}
form{
max-width: 500px;
margin: 2rem auto;
border: 2px solid black;
padding: 2rem;
border-radius: 10px;
box-shadow: 5px 10px rgb(104, 104, 210);
}


form label {
display: block;
padding: 1rem;
font-size: larger;
}

input{
display: block;
width: 100%;
}

.options{
display:flex;
justify-content: center;
border-bottom: 1px solid black;
}

button{
margin-top: 10px;
padding: 8px;
background-color: rgb(104, 104, 210);
font-family: 'Times New Roman', Times, serif;
font-size: larger;
border-radius: 10px;
color: white;
}
Binary file added Two-Truths-One-Lie/ana.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 47 additions & 16 deletions Two-Truths-One-Lie/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,55 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Our Grid Project</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1>Two Truths, One Lie</h1>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Flex</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;700&display=swap" rel="stylesheet">
</head>

<body>
<header>
<h1>Two Truths, One Lie</h1>
<p>Can you guess which statement is false?</p>
</header>
<main>
<!-- how will you mark up your media objects -->
<div class="container">
<div class="details">
<img src="./mamudo.png" alt="mamudo-photo">
<p>Mamu McGrath</p>
</div>
<div>
<ol>
<li>I once represented Wales in a korfball tournament</li>
<li>I have an irrational fear of deer</li>
<li>The majority of my family live in Portugal</li>
</ol>
</div>
</div>
<div class="container">
<div class="details">
<img src="./ana.jpg" alt="ana">
<p>Sally McGrath</p>
</div>
<div>
<ol>
<li>I once represented Wales in a korfball tournament</li>
<li>I have an irrational fear of deer</li>
<li>The majority of my family live in Portugal</li>
</ol>
</div>
</div>


</main>
<footer>
<h3>By YOUR NAMES HERE</h3>
<h3>By BAKI TUNCER</h3>
</footer>
</body>
</body>

</html>
Binary file added Two-Truths-One-Lie/mamudo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions Two-Truths-One-Lie/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,50 @@
* write your names at the bottom
* take a screenshot at laptop and Moto G4 device sizes in Devtools
*/
html{
background-color: rgb(71, 206, 71);

}

header, footer{
text-align: center;
}


body {
font: 100% "Poppins", sans-serif;
}

.container{
background-color: rgb(183, 240, 183);
padding: 30px;
margin: 20px;
height: 350px;
}

.details{
display: flex;
width: 200px;
height: 200px;
object-fit:fill;
}

.details img{
width: 100%;
margin-right: 30px;
}

.details p{
margin: 0;
padding: 0;
}

@media screen and (min-width:600px) {

main{
display: flex;
justify-content: center;
align-items: center;
height: 500px;
}
}