Skip to content
Closed
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
83 changes: 71 additions & 12 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,86 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<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" />
<meta name="form-controls" content="This page contains a product web form">
&gt;
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<img src="t-shirt1.jpg" alt="background image" style="height: 100%;
text-align: center; position:fixed; left: 30%; top: 0;">
<header>
<h1>Product Pick</h1>
</header>
<main>
<form>
<!-- write your html here-->
<!-- autocomplete attribute-->

<form action="/action_page.php" method="get" autocomplete="on"></form><!-- write your html here-->
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->
</form>

<!--the minlength and maxlength attribute-->
<p>Enter Your Name!</p>
<label for="fname">First Name:</label>
<input type="text" id="lname" name="lname" minlength="2" maxlength="10" pattern="[A-Z][a-z]+" required><br><br>

<label for="lname"> Last Name:</label>
<input type="text" id="lname" name="lname" minlength="2" maxlength="10" pattern="[A-Z][a-z]+" required><br><br>



<label for="email">Enter Your Email:</label>
<input type="email" id="email" name="email" autocomplete="on" required><br><br>





<p>select a color for your t-shirt:</p>

<label for="color1"> Red</label>
<input type="checkbox" id="color1" name="color1" style="font-size: 23px; margin-left: 12px;" value="Red"><br><br>
<label for="color2"> Blue</label>
<input type="checkbox" id="color2" name="color2" style="font-size: 23px; margin-left: 10px;" value="Blue"><br><br>
<label for="color3"> Black</label>
<input type="checkbox" id="color3" name="color3" value="Black"><br><br>
<!--
<P>Select a size for your t-shirt:</p>
<input list="size" name="sie">
<datalist id="size">

<option value="xs"></option>
<option value="s"></option>
<option value="m"></option>
<option value="l"></option>
<option value="xl"></option>

</datalist>
-->
<!--the radio buttons-->
<!-- fixing the touch target size-->
<input type="radio" id="xs" name="size" style="min-width:24px; min-height:24px; padding:8px 12px; margin:4px;font-size: 24px; margin-left: 20px;" value="XS">
<label for="xs">XS</label><br>
<input type="radio" id="s" name="size" style="min-width:44px; min-height:24px; padding: 8px 12px; margin:4px;font-size: 24px; margin-left: 10px;" value="S">
<label for="s">S</label><br>
<input type="radio" id="m" name="size" style="min-width:44px; min-height:24px; padding: 8px 12px; margin:4px;font-size: 24px; margin-left: 10px;" value="M">
<label for="m">M</label><br>
<input type="radio" id="l" name="size" style="min-width:44px; min-height:24px; padding: 8px 12px; margin:4px;font-size: 24px; margin-left: 10px;"value="L">
<label for="l">L</label><br>
<input type="radio" id="xl" name="size" style="min-width:44px; min-height:24px; padding: 8px 12px; margin:4px;font-size: 24px; margin-left: 10px;"value="XL">
<label for="xl">XL</label><br>

<input type="submit" style="font-size: 15px; margin-top: 15px; width: 60px; value= Submit">



</main>
<footer>
<!-- change to your name-->
<p>By HOMEWORK SOLUTION</p>
<h2>Rawan</h2>
</footer>
</body>
</html>


</body></html>
53 changes: 46 additions & 7 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,63 @@
<header>
<h1>Wireframe</h1>
<p>
This is the default, provided code and no changes have been made yet.
a short describtion of wireframe, branch, and README.md file.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<img src="placeholder.svg" alt="just an image" />
<h2>What is a branch in Git?</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
"What is a Git Branch?
In Git, a branch is like a separate workspace where you can make changes and try new ideas without affecting the main project. Think of it as a "parallel universe" for your code.

Why Use Branches?
Branches let you work on different parts of a project, like new features or bug fixes, without interfering with the main branch.

Common Reasons to Create a Branch
Developing a new feature
Fixing a bug
Experimenting with ideas"
</p>
<a href="">Read more</a>
<a href="https://www.w3schools.com/git/git_branch.asp">Read more</a>
</article>

<article>
<img src="placeholder.svg" alt="just an image" />
<h2>Why do we use README.md file?</h2>
<p>
" A README.md is a key document in repositories, especially on GitHub.
It introduces the project, explains its purpose, setup, and usage, and helps users and developers contribute effectively."
</p>
<a href="https://www.geeksforgeeks.org/git/what-is-readme-md-file/">Read more</a>
</article>

<article>
<img src="wireframe.png" alt="wireframe image" />
<h2>What is the purpose of a wireframe?</h2>
<p>
"Wireframes are basic blueprints that help teams align on requirements,
keeping UX design conversations focused and constructive.
Think of your wireframe as the skeleton of your app, website, or other final product.
Your wireframe shows the design team and stakeholders the bare-bones outlines of essential webpages,
components, and features, including:

Screen layouts
Navigation bars
Components of UX and UI design
Interactive elements"
</p>
<a href="https://www.figma.com/resource-library/what-is-wireframing/">Read more</a>
</article>
</main>
<footer>

<p>
This is the default, provided code and no changes have been made yet.
All rights are reserved @RAW
</p>
</div>
</footer>
</body>
</html>

14 changes: 12 additions & 2 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,19 @@ body {
background: var(--paper);
color: var(--ink);
font: var(--font);
background-color:aquamarine;
background-image: url("background image.jpg");
position: relative;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
}
a {
padding: var(--space);
border: var(--line);
max-width: fit-content;
color: var(--ink);
}
img,
svg {
Expand All @@ -50,8 +58,10 @@ main {
margin: 0 auto calc(var(--space) * 4) auto;
}
footer {
position: fixed;
position: relative;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
}
/* ====== Articles Grid Layout ====
Expand Down Expand Up @@ -86,4 +96,4 @@ article {
> img {
grid-column: span 3;
}
}
}
97 changes: 61 additions & 36 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,69 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Coursework</title>
<style>
:root {
--paper: oklch(7 0 0);
--ink: color-mix(in oklab, var(--color) 5%, black);
--font: 100%/1.5 system-ui;
--space: clamp(6px, 6px + 2vw, 15px);
--line: 1px solid;
}
body {
background: var(--paper);
color: var(--ink);
font: var(--font);
max-width: 1280px;
margin: 0 auto;
}
</style>
<title>Wireframe</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header><h1>🧐 CYF Coursework Disposable Branch Previews</h1></header>
<header>
<h1>Wireframe</h1>
<p>
a short describtion of wireframe, branch, and README.md file.
</p>
</header>
<main>
<ol>
<li>
<h2><a href="/Wireframe">Project 1: Wireframe</a></h2>
<p>
Mentors:
<a href="Wireframe/readme.md">open the assignment in a tab</a>
</p>
</li>
<li>
<h2><a href="/Form-Controls">Project 2: Form Controls</a></h2>
<p>
Mentors:
<a href="Form-Controls/readme.md">open the assignment in a tab</a>
</p>
</li>
</ol>
<article>
<img src="branch.svg" alt="" />
<h2>What is a branch in Git?</h2>
<p>
"What is a Git Branch?
In Git, a branch is like a separate workspace where you can make changes and try new ideas without affecting the main project. Think of it as a "parallel universe" for your code.

Why Use Branches?
Branches let you work on different parts of a project, like new features or bug fixes, without interfering with the main branch.

Common Reasons to Create a Branch
Developing a new feature
Fixing a bug
Experimenting with ideas"
</p>
<a href="https://www.w3schools.com/git/git_branch.asp">Read more</a>
</article>

<article>
<img src="readme.md.png" alt="" />
<h2>Why do we use README.md file?</h2>
<p>
" A README.md is a key document in repositories, especially on GitHub.
It introduces the project, explains its purpose, setup, and usage, and helps users and developers contribute effectively."
</p>
<a href="https://www.geeksforgeeks.org/git/what-is-readme-md-file/">Read more</a>
</article>

<article>
<img src="wireframe image.png" alt="" />
<h2>What is the purpose of a wireframe?</h2>
<p>
"Wireframes are basic blueprints that help teams align on requirements,
keeping UX design conversations focused and constructive.
Think of your wireframe as the skeleton of your app, website, or other final product.
Your wireframe shows the design team and stakeholders the bare-bones outlines of essential webpages,
components, and features, including:

Screen layouts
Navigation bars
Components of UX and UI design
Interactive elements"
</p>
<a href="https://www.figma.com/resource-library/what-is-wireframing/">Read more</a>
</article>
</main>
<footer><a href="HOW_TO_REVIEW.md">HOW TO REVIEW MD</a></footer>
<footer>

<p>
All rights are reserved @RAW
</p>
</div>
</footer>
</body>
</html>
</html>
Loading