-
-
Notifications
You must be signed in to change notification settings - Fork 503
Glasgow | 26-ITP-May | Lavanya Jayaprabu | Sprint 2 | Wireframe #1350
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
Closed
Lavanya-Projects
wants to merge
12
commits into
CodeYourFuture:main
from
Lavanya-Projects:feature/wireframe
Closed
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
136970a
My First Commit
Lavanya-Projects 052f7f2
Added Page title, description, article tile and description
Lavanya-Projects c87e8a0
Added article title and decription for wireframe and Git Branch
Lavanya-Projects 1644b8e
Added link to read more button for readme file, wireframe and git b…
Lavanya-Projects fbbdb3b
Added links to all the articles on read more button and formatted the…
Lavanya-Projects 6b1afa2
deleted my local files
Lavanya-Projects e087edc
Centered page title and description and footer content set to center…
Lavanya-Projects ab586d1
Revert "My First Commit"
Lavanya-Projects 21f3e13
Added footer content
Lavanya-Projects 6b6f270
In CSS replaced grid with flexbox in article cards to fix alignment a…
Lavanya-Projects a7b0deb
Corrected the spelling error in footer
Lavanya-Projects c30ff4c
To align the height of the title and body text, added <br> after Gitb…
Lavanya-Projects 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,66 @@ | ||
| <!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> | ||
| <p> | ||
| This is the default, provided code and no changes have been made yet. | ||
| </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> | ||
| <p> | ||
| This is the default, provided code and no changes have been made yet. | ||
| </p> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
| <!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> | ||
| <p class="description"> | ||
| A wireframe is a simple visual outline of a webpage or app screen. Think of it like a blueprint for a house; it | ||
| shows the structure, not the decoration. </p> | ||
| </header> | ||
| <main> | ||
| <article> | ||
| <img src="https://cdn-thumbnails.huggingface.co/social-thumbnails/spaces/StabRise/README.png" | ||
| alt="ReadMe file Image" /> | ||
| <h2>README file</h2> | ||
| <p> | ||
| A README is the first file people read when they open a project. It explains what the project is, how to install | ||
| it, how to use it, and any important notes. It helps users and contributors understand the project quickly | ||
| without reading all the code. | ||
| </p> | ||
| <a | ||
| href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes">Read | ||
| more</a> | ||
| </article> | ||
| <article> | ||
| <img src="https://tse1.mm.bing.net/th/id/OIP.mVq3zkrWKT_pEi-AgfvHLgHaEY?r=0&rs=1&pid=ImgDetMain&o=7&rm=3" | ||
| alt="Image of wireframe" /> | ||
| <h2>Wireframe</h2> | ||
| <p> | ||
| A wireframe is a simple sketch that maps out the layout of a webpage before any design work begins. It focuses | ||
| on the placement of elements like headings, images, buttons, and text blocks.<br> | ||
|
|
||
| Instead of thinking about colours or styling, a wireframe helps you understand how information is organised and | ||
| how users will move through the page. It’s a planning tool that shows structure first, design later. | ||
| </p> | ||
| <a href="https://www.figma.com/resource-library/what-is-wireframing/">Read more</a> | ||
| </article> | ||
| <article> | ||
| <img | ||
| src="https://community.appsmith.com/sites/default/files/styles/wide/public/2023-10/git-branch_0.png?itok=qNGcbtVy" | ||
| alt="Git Branch Image" /> | ||
| <h2>Git Branch</h2> | ||
| <p> | ||
| A Git branch is a separate workspace where you can make changes without affecting the main project.<br> | ||
| It lets you develop features, fix bugs, or experiment safely. When the work is ready, the branch is merged back | ||
| into the main codebase. | ||
| </p> | ||
| <a href="https://curriculum.codeyourfuture.io/itp/onboarding/sprints/1/prep/#branching">Read more</a> | ||
| </article> | ||
|
|
||
| </main> | ||
| <footer> | ||
| <p> | ||
| © 2026 Wireframe Web Page. Contact • CodeYourFuture • All Rights Reseved. | ||
| </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,67 @@ | ||
| /* 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; | ||
| 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; | ||
| } | ||
| } | ||
|
|
||
| :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; | ||
| } | ||
|
|
||
| h1{ | ||
| text-align: center; | ||
| } | ||
| .description{ | ||
| text-align: center; | ||
|
|
||
| } | ||
| 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; | ||
| } | ||
|
|
||
| main { | ||
| max-width: var(--container); | ||
| margin: 0 auto calc(var(--space) * 4) auto; | ||
| } | ||
| footer { | ||
| position:relative; | ||
| bottom: 0; | ||
| width: 100%; | ||
| color:black; | ||
| text-align: center; | ||
| } | ||
|
|
||
| main { | ||
| display: grid; | ||
| grid-template-columns: 1fr 1fr; | ||
| gap: var(--space); | ||
| > *: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); | ||
| > * { | ||
| grid-column: 2/3; | ||
| } | ||
| > img { | ||
| grid-column: span 3; | ||
| } | ||
| } |
Oops, something went wrong.
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.
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.
spelling error