Skip to content
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
Binary file added Wireframe/Google for Education 2.pdf
Binary file not shown.
Binary file added Wireframe/Google for Education.pdf
Binary file not shown.
Binary file added Wireframe/Pic1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/git.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 55 additions & 27 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>Wireframe</h1>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wireframe</title>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<header>
<h1>Wireframe Task</h1>
</header>
<main>

<article>
<img src="wireframe2.jpg" alt="An image of a wireframe template" />
<h2>What is the purpose of a wireframe</h2>
<p>
This is the default, provided code and no changes have been made yet.
A wireframe is a simple diagram showcasing the UI of a webpage
It shows where components should be
in relation to each other and what, roughly, they should do.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>
<a href="">Read more</a>
</article>
</main>
<footer>
<a href="https://miro.com/aq/paid-search/wire-frame/"> Read More</a>
</article>


<article>
<img src="git.png" alt="An image of a Git icon">
<h2>What is a branch in Git</h2>
<p>A git branch is basically a separate workspace that
allows you to work on a project with others without making any
changes to the main directly. You can do all your work on
your branch and then merge it to the main branch
</p>
<a href="https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell">Read More </a>
</article>


<article>
<img src="logo.jpg" alt="A picture of a README template">
<h2>What is the purpose of a README FILE</h2>
<p>
This is the default, provided code and no changes have been made yet.
The purpose of a README file is to provide information on what your
project is about.
</p>
</footer>
</body>
</html>

<a href="https://www.geeksforgeeks.org/git/what-is-readme-md-file/">Read More</a>

</article>

</main>
<footer>
<p>
Created for WIREFRAME HTML and CSS task.
</p>
</footer>
</body>

</html>
Binary file added Wireframe/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 55 additions & 13 deletions Wireframe/style.css
Comment thread
cjyuan marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,51 @@ As well as useful links to learn more */
--line: 1px solid;
--container: 1280px;
}

/* ====== Base Elements ======
General rules for basic HTML elements in any context */
body {
background: var(--paper);
color: var(--ink);
font: var(--font);
margin: 0;
padding: 20px;
padding-bottom: 80px;
}

a {
padding: var(--space);
border: var(--line);
max-width: fit-content;
}

img,
svg {
width: 100%;
object-fit: cover;
display: block
}

/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
*/
main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;


h1 {

text-align: center;
}

footer {
position: fixed;
bottom: 0;
width: 100%;
padding: 10px;
text-align: center;
position: fixed;
background-color: white;
}

/* ====== Articles Grid Layout ====
Setting the rules for how articles are placed in the main element.
Inspect this in Devtools and click the "grid" button in the Elements view
Expand All @@ -65,10 +80,20 @@ main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space);
> *:first-child {
grid-column: span 2;
}
align-items: stretch;
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;

}

main article:first-child img {
height: 400px;
}

main>*:first-child {
grid-column: span 2;
}

/* ====== Article Layout ======
Setting the rules for how elements are placed in the article.
Now laying out just the INSIDE of the repeated card/article design.
Expand All @@ -79,11 +104,28 @@ article {
padding-bottom: var(--space);
text-align: left;
display: grid;
background: white;
grid-template-columns: var(--space) 1fr var(--space);
> * {
grid-column: 2/3;
}
> img {
grid-column: span 3;
}
grid-template-rows: auto auto 1fr auto;
}

article>* {
grid-column: 2/3;
}

article>img {
grid-column: span 3;
}

article p {
margin-bottom: 0;
}

article a {
margin-top: 20px;
color: blue
}

article img {
height: 300px;
}
Binary file added Wireframe/wireframe2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading