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
74 changes: 50 additions & 24 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>My form exercise</title>
<meta name="description" content="">
<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>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My form exercise</title>
<meta name="description" content="" />
<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-->

</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
</footer>
</body>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required minlength="2" />

</html>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required />

<label for="color">Choose a color:</label>
<select id="color" name="color" required>
<option value="red">Red</option>
<option value="blue">Blue</option>
<option value="green">Green</option>
</select>

<label for="size">Choose a size:</label>
<select id="size" name="size" required>
<option value="xs">XS</option>
<option value="s">S</option>
<option value="m">M</option>
<option value="l">L</option>
<option value="xl">XL</option>
<option value="xxl">XXL</option>
</select>

<label for="delivery-date">Choose a delivery date:</label>
<input type="date" id="delivery-date" name="delivery-date" required />

<button type="submit" id="submit-button">Submit Your Order</button>
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By SAIM KORKMAZ</h2>
</footer>
</body>
</html>
26 changes: 26 additions & 0 deletions Form-Controls/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* basic styling for the form */
form {
max-width: 500px;
margin: 0 auto;
}

label, input, select {
display: flex;
margin-bottom: 10px;
}

input {
width: 50%;
}

#submit-button {
margin-top: 20px;
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
font-size: 1.2em;
}


80 changes: 58 additions & 22 deletions Two-Truths-One-Lie/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,60 @@
<!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>
<html lang="en">
<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>
</header>
<main>
<!-- how will you mark up your media objects -->
</main>
<footer>
<h3>By YOUR NAMES HERE</h3>
</footer>
</body>
</html>
</header>
<main>
<!-- how will you mark up your media objects -->
<div id="container">
<p id="parag">Can you guess which statament is false?</p>
<div id="saim">
<div id="saim-container">
<img
src="https://thumbs.dreamstime.com/b/landscape-small-village-cut-out-paper-97584477.jpg"
alt=""
style="width: 100px"
/>
<h1>Saim Korkmaz</h1>
</div>
<ol>
<li>saim has two sisters</li>
<li>saim likes horror movies</li>
<li>saim can speak turkish</li>
</ol>
</div>
<div id="baki">
<div id="baki-container">
<img
src="https://w7.pngwing.com/pngs/999/643/png-transparent-the-day-the-earth-smiled-earth-cartoon-globe-photography-smiley-thumbnail.png"
alt=""
style="width: 100px"
/>
<h1>Other</h1>
</div>
<ol>
<li>other is from world</li>
<li>other can speak dutch</li>
<li>other likes</li>
</ol>
</div>
</div>
</main>
<footer>
<h3>By Saim and Other</h3>
</footer>
</body>
</html>
104 changes: 104 additions & 0 deletions Two-Truths-One-Lie/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,108 @@

body {
font: 100% "Poppins", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
background-color: chocolate;
}

#container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
grid:
". a ."
"b b b"
"c c c";
align-items: center;
justify-content: center;
grid-gap: 50px;
}

#parag {
grid-area: a;
}

#baki {
grid-area: c;

border: 2px solid red;
height: 300px;
width: 450px;
align-items: center;
justify-content: center;
}

#container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
grid: '. a .'
'b b b'
'c c c';
align-items: center;
justify-content: center;
}

#parag {
grid-area: a;
}

#saim {
grid-area: b;
align-items: center;
justify-content: center;
border: 2px solid grey;
height: 300px;
width: 450px;
margin: auto;
background-color: aquamarine;
}
#saim-container{
display: flex;
justify-content: space-around;
margin-top: 20px;
}

#baki {
grid-area: c;
border: 2px solid grey;
height: 300px;
width: 450px;
margin: auto;
background-color: aquamarine;
}
#baki-container{
display: flex;
justify-content: space-around;
margin-top: 20px;
}


footer{
padding-top: 170px;
}

@media screen and (min-width: 820px) {
#container {
display: grid;
grid-template-columns: repeat(7, 1fr);
grid-template-rows: 1fr 1fr;
grid: '. . . a . . .'
'. . b . c . .';
align-items: center;
justify-content: center;
}
#saim{
grid-area: b;
}
#baki{
grid-area: c;
}
#parag{
grid-area: a;
}

}
Loading