generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 269
WM | ITP-MAY-25 | Tesfalem Hailu | Wireframe #722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tesfathefture
wants to merge
21
commits into
CodeYourFuture:main
Choose a base branch
from
tesfathefture:feature/wireframe
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
2539259
purpose of readme.
tesfathefture 5d6ca7a
index.html
tesfathefture 53ec74b
index.html
tesfathefture 2399729
changed title
tesfathefture 05c35e0
Fixed all errors
tesfathefture 7caf458
edited footer
tesfathefture 8547893
reverted form-control to default
tesfathefture bd52eff
test
tesfathefture f4d8ec3
remove css from html
tesfathefture f382d98
h1 and p style change.
tesfathefture 8014f61
h1 and p change
tesfathefture a0e77e2
Delete Wireframe/articles.md
tesfathefture abe6c6d
readmore edited.
tesfathefture e549d9a
read more edited again.
tesfathefture 4651278
more readme button edit.
tesfathefture 7dbfbe2
png placeholder is ameneded.
tesfathefture 4d08a78
footer changed.
tesfathefture 9906163
footer improved
tesfathefture b952c0e
alt text adedd to improve accecablity.
tesfathefture a723313
svg tag is removed .
tesfathefture 0e61696
svg tag removed.
tesfathefture File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,62 @@ | ||
<!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</h1> | ||
<p class="wireframe-title"> | ||
A wireframe is a basic visual guide used in design, especially in web | ||
and app development, to represent the structure and layout of a page or | ||
interface before the final design is created. | ||
</p> | ||
</header> | ||
|
||
<main> | ||
<article> | ||
<img src="placeholder.svg" alt="" /> | ||
<h2>Purpose of a README File</h2> | ||
<p> | ||
This is the default, provided code and no changes have been made yet. | ||
A README file serves as the main introduction and documentation for a project, | ||
typically found in the root directory of software repositories (like those on GitHub). | ||
<a href="https://www.mygreatlearning.com/blog/readme-file/">Read more</a> | ||
</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> | ||
</article> | ||
|
||
<article> | ||
<img src="placeholder.svg" alt="" /> | ||
</svg> | ||
<h2>Purpose of a Wireframe</h2> | ||
<p> | ||
This is the default, provided code and no changes have been made yet. | ||
The purpose of a wireframe is to serve as a blueprint or visual guide for designing a website, | ||
app, or digital interface before any actual design or coding begins. | ||
<a href="https://balsamiq.com/learn/articles/what-are-wireframes/">Read more</a> | ||
</p> | ||
</footer> | ||
</body> | ||
</html> | ||
</article> | ||
|
||
<article> | ||
<img src="placeholder.svg" alt="" /> | ||
</svg> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This svg tag is no longer required; please remove it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. svg tag is removed. |
||
<h2>A Branch in Git</h2> | ||
<p> | ||
A branch in Git is essentially a lightweight, movable pointer to a commit. It allows you | ||
to work on different versions of a project without affecting the main codebase. | ||
<a href="https://www.w3schools.com/git/git_branch.asp">Read more</a> | ||
</p> | ||
</article> | ||
</main> | ||
|
||
<footer> | ||
<p> | ||
Author: Tesfalem Hailu | ||
</p> | ||
</footer> | ||
</body> | ||
|
||
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,74 @@ | ||
/* Here are some starter styles | ||
You can edit these or replace them entirely | ||
It's showing you a common way to organise CSS | ||
And includes solutions to common problems | ||
As well as useful links to learn more */ | ||
|
||
/* ====== Design Palette ====== | ||
This is our "design palette". | ||
It sets out the colours, fonts, styles etc to be used in this design | ||
At work, a designer will give these to you based on the corporate brand, but while you are learning | ||
You can design it yourself if you like | ||
Inspect the starter design with Devtools | ||
Click on the colour swatches to see what is happening | ||
I've put some useful CSS you won't have learned yet | ||
For you to explore and play with if you are interested | ||
https://web.dev/articles/min-max-clamp | ||
https://scrimba.com/learn-css-variables-c026 | ||
====== Design Palette ====== */ | ||
: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; | ||
--container: 1280px; | ||
} | ||
/* ====== Base Elements ====== | ||
General rules for basic HTML elements in any context */ | ||
body { | ||
background: var(--paper); | ||
color: var(--ink); | ||
font: var(--font); | ||
} | ||
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/ | ||
*/ | ||
main { | ||
max-width: var(--container); | ||
margin: 0 auto calc(var(--space) * 4) auto; | ||
} | ||
footer { | ||
position: fixed; | ||
bottom: 0; | ||
:root { | ||
--paper: #f5f5f5; /* light background */ | ||
--ink: #222222; /* dark text */ | ||
--font: 100%/1.5 system-ui; | ||
--space: clamp(6px, 6px + 2vw, 15px); | ||
--line: 1px solid #ccc; | ||
--container: 1280px; | ||
h1 { | ||
text-align: center; | ||
} | ||
.wireframe-title {text-align: center; | ||
} | ||
/* ====== 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 | ||
Play with the options that come up. | ||
https://developer.chrome.com/docs/devtools/css/grid | ||
https://gridbyexample.com/learn/ | ||
*/ | ||
main { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
gap: var(--space); | ||
> *: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. | ||
Keeping things orderly and separate is the key to good, simple CSS. | ||
*/ | ||
article { | ||
border: var(--line); | ||
padding-bottom: var(--space); | ||
text-align: left; | ||
display: grid; | ||
grid-template-columns: var(--space) 1fr var(--space); | ||
> * { | ||
grid-column: 2/3; | ||
} | ||
> img { | ||
grid-column: span 3; | ||
} | ||
} | ||
body { | ||
background-color: var(--paper); | ||
color: var(--ink); | ||
font: var(--font); | ||
margin: 0; | ||
padding-bottom: 80px; /* space for fixed footer */ | ||
} | ||
|
||
a { | ||
padding: var(--space); | ||
border: var(--line); | ||
max-width: fit-content; | ||
display: inline-block; | ||
color: var(--ink); | ||
text-decoration: none; | ||
} | ||
|
||
img, | ||
svg { | ||
width: 100%; | ||
object-fit: cover; | ||
} | ||
|
||
main { | ||
max-width: var(--container); | ||
margin: 0 auto calc(var(--space) * 4); | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
gap: var(--space); | ||
} | ||
|
||
main > *:first-child { | ||
grid-column: span 2; | ||
} | ||
|
||
article { | ||
border: var(--line); | ||
padding-bottom: var(--space); | ||
text-align: left; | ||
display: grid; | ||
grid-template-columns: var(--space) 1fr var(--space); | ||
} | ||
|
||
article > * { | ||
grid-column: 2 / 3; | ||
} | ||
|
||
article > svg { | ||
grid-column: span 3; | ||
} | ||
|
||
footer { | ||
text-align: center; | ||
padding: 15px 0; | ||
position: fixed; | ||
width: 100%; | ||
bottom: 0; | ||
left: 0; | ||
font-family: Arial, sans-serif; | ||
border: solid; | ||
background-color: #ccc; | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.