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
81 changes: 54 additions & 27 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,60 @@
<!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="description" content="An introduction to README files, Wireframe, and Git branching." />
<title>Wireframe</title>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<header>
<h1>Wireframe</h1>
<p>
Can I give some explanation regarding what the purpose of README.file and wireframe are and what the branch in Git
is.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="Diagram placeholder" />
<h2>README.file</h2>
<p>
This is the default, provided code and no changes have been made yet.
A README file serves as a crucial documentation tool, primarily used to provide essential information about a
software project, dataset, or any other file collection. It's designed to help users (both developers and
end-users) understand the project's purpose, functionality, installation instructions, and how to contribute or
get help.
</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://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes">Learn
more about README files</a>
</article>
<article>
<img src="placeholder.svg" alt="Diagram placeholder" />
<h2>Purpose of wireframe</h2>
<p>
This is the default, provided code and no changes have been made yet.
Wireframes are a visual guide to what a product should look like. Their main goal is to create an app or site
that delivers a cohesive and well-designed experience. They are also a great way to ensure that every element in
a UI has a purpose.
</p>
</footer>
</body>
</html>
<a
href="https://adamfard.com/blog/wireframes#:~:text=Wireframes%20are%20a%20visual%20guide,a%20UI%20has%20a%20purpose.">Explore
wireframe design principles</a>
</article>
<article>
<img src="placeholder.svg" alt="Diagram placeholder" />
<h2>Branch in Git</h2>
<p>
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.
</p>
<a href="https://www.w3schools.com/git/git_branch.asp">Understand Git branching</a>
</article>
</main>
<footer>
<p>ITP-JAN-25 | Ping Wang | Module: Onboarding | wifeframe</p>
</footer>
</body>

</html>
34 changes: 30 additions & 4 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,35 @@ 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);
}

header h1 {
text-align: center;
}

header p {
text-align: center;
}

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

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

/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
Expand All @@ -49,11 +61,21 @@ main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
}

footer p {
text-align: center;
}

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


/* ====== 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 +87,12 @@ main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space);
> *:first-child {

>*: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 @@ -80,10 +104,12 @@ article {
text-align: left;
display: grid;
grid-template-columns: var(--space) 1fr var(--space);
> * {

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

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