-
-
Notifications
You must be signed in to change notification settings - Fork 500
West Midlands | May 2026 | Muhammad-Burhan Mustafa | Sprint 2 | Wireframe #1379
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <title>README Files</title> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>README Files</h1> | ||
| </header> | ||
| <main> | ||
| <article> | ||
| <img src="./images/readme.png" alt=""> | ||
| <h2>What is the purpose of a README file? </h2> | ||
| <p> | ||
| A README file is used to give information so a user can ascertain key details of a program such as its function, how it works, how to set it up and general updates. | ||
| </p> | ||
| <a rel="html" href="index.html">Back</a> | ||
| </article> | ||
| </main> | ||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <title>Git Branches</title> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Git Branches</h1> | ||
| </header> | ||
| <main> | ||
| <article> | ||
| <img src="./images/branch.png" alt=""> | ||
| <h2>What is a branch in Git? </h2> | ||
| <p> | ||
| A branch in Git is a seperate workspace used to experiment or make changes without affecting the main project. | ||
| </p> | ||
| <a rel="html" href="index.html">Back</a> | ||
| </article> | ||
| </main> | ||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,25 +16,39 @@ As well as useful links to learn more */ | |
| https://web.dev/articles/min-max-clamp | ||
| https://scrimba.com/learn-css-variables-c026 | ||
| ====== Design Palette ====== */ | ||
|
|
||
| @import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap"); | ||
|
|
||
| :root { | ||
| --paper: oklch(7 0 0); | ||
| --ink: color-mix(in oklab, var(--color) 5%, black); | ||
| --font: 100%/1.5 system-ui; | ||
| --font: 100%/1.5 "Permanent Marker", bold; | ||
| --space: clamp(6px, 6px + 2vw, 15px); | ||
| --line: 1px solid; | ||
| --container: 1280px; | ||
| } | ||
|
|
||
| h1, | ||
| header p | ||
| { | ||
| text-align: center; | ||
| } | ||
|
|
||
| /* ====== Base Elements ====== | ||
| General rules for basic HTML elements in any context */ | ||
| body { | ||
| body{ | ||
| background: var(--paper); | ||
| color: var(--ink); | ||
| font: var(--font); | ||
| text-transform: uppercase; | ||
| } | ||
|
|
||
| a { | ||
| padding: var(--space); | ||
| border: var(--line); | ||
| max-width: fit-content; | ||
| color: var(--color) | ||
|
|
||
| } | ||
| img, | ||
| svg { | ||
|
|
@@ -49,11 +63,13 @@ main { | |
| max-width: var(--container); | ||
| margin: 0 auto calc(var(--space) * 4) auto; | ||
| } | ||
| footer { | ||
| position: fixed; | ||
| bottom: 0; | ||
| footer, | ||
| footer hr { | ||
| margin-top: auto; | ||
| text-align: center; | ||
| min-width: span 2 ; | ||
| } | ||
|
|
||
| /* ====== 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 | ||
|
|
@@ -65,7 +81,7 @@ main { | |
| display: grid; | ||
| grid-template-columns: 1fr 1fr; | ||
| gap: var(--space); | ||
| > *:first-child { | ||
| > *:nth-child(1) { | ||
| grid-column: span 2; | ||
| } | ||
| } | ||
|
|
@@ -87,3 +103,11 @@ article { | |
| grid-column: span 3; | ||
| } | ||
| } | ||
|
|
||
| article h2{ | ||
| margin-bottom:0px; | ||
| } | ||
|
|
||
| article p { | ||
| margin-top:4px; | ||
| } | ||
|
Contributor
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. It seems the code is not formatted by an automated tool. Can you follow this guide to enable VS Code's Note: I meant to select the codes on lines 107-113. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <title>Wireframes</title> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Wireframes</h1> | ||
| </header> | ||
| <main> | ||
| <article> | ||
| <img src="./images/wireframes.png" alt=""> | ||
| <h2>What is the purpose of a Wireframe?</h2> | ||
| <p> | ||
| A wireframe is used as a structural blueprint that allows a developer to envision how a project will look. | ||
|
Contributor
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. Supposedly this paragraph is what is expected in the "article summary". No change needed. |
||
| </p> | ||
| <a rel="html" href="index.html">Back</a> | ||
| </article> | ||
| </main> | ||
| </body> | ||
| </html> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Providing meaningful
alttext is important because it ensures images are accessible to people using screen readers and also helps when images fail to load, giving users essential context about the content or function of the image.Can you give a more descriptive
altvalue to all images?