-
-
Notifications
You must be signed in to change notification settings - Fork 501
London | 26-ITP-May | Yodit Kasu | Sprint 2 | Wireframe #1384
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
7ee9e02
2a1af61
947b473
540cf9c
3ad3bca
6c309a8
4438783
83bc6f9
3940bb8
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 |
|---|---|---|
|
|
@@ -8,26 +8,39 @@ | |
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Wireframe</h1> | ||
| <p> | ||
| This is the default, provided code and no changes have been made yet. | ||
| </p> | ||
| <h1>Web Development Concepts</h1> | ||
| <p>Learn about README files, wireframes, and Git branches.</p> | ||
| </header> | ||
| <main> | ||
| <article> | ||
| <img src="placeholder.svg" alt="" /> | ||
| <h2>Title</h2> | ||
| <img src="image_thumb10.png" alt="README file example"> | ||
| <h2>README.md File</h2> | ||
| <p> | ||
| A README file explains what a project does, how to install it, and how to use it. It helps other developers understand the project quickly. </p> | ||
| <a href="https://www.freecodecamp.org/news/how-to-write-a-good-readme-file/" target="_blank">Read more</a> | ||
| </article> | ||
|
|
||
| <article> | ||
| <img src="02-newspaper-site-wireframe-example.webp" alt="Wireframe example"> | ||
| <h2>Wireframe</h2> | ||
| <p> | ||
| A wireframe is a simple visual plan of a webpage. It shows the layout and structure before the website is built. | ||
| </p> | ||
| <a href="https://www.productplan.com/glossary/wireframe/" target="_blank">Read more</a> | ||
| </article> | ||
| <article> | ||
| <img src="GIT-Branchand-its-Operations.webp" alt="Git branch workflow"> | ||
| <h2>Git Branch</h2> | ||
| <p> | ||
| Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, | ||
| voluptates. Quisquam, voluptates. | ||
| A Git branch allows developers to work on new features without changing the main version of a project. Changes can be merged later when they are ready. | ||
| </p> | ||
| <a href="">Read more</a> | ||
| <a href="https://www.w3schools.com/git/git_branch.asp" target="_blank">Read more</a> | ||
|
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. @YoditE, why is this anchor link not having the same experience as the rest? |
||
| </article> | ||
|
|
||
| </main> | ||
| <footer> | ||
| <p> | ||
| This is the default, provided code and no changes have been made yet. | ||
| Created by Yodit Kasu using HTML and CSS | ||
| </p> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,11 +47,10 @@ https://www.w3.org/WAI/tutorials/page-structure/regions/ | |
| */ | ||
| main { | ||
| max-width: var(--container); | ||
| margin: 0 auto calc(var(--space) * 4) auto; | ||
| margin: 0 auto; | ||
| } | ||
| footer { | ||
| position: fixed; | ||
| bottom: 0; | ||
|
|
||
| text-align: center; | ||
| } | ||
| /* ====== Articles Grid Layout ==== | ||
|
|
@@ -87,3 +86,48 @@ article { | |
| grid-column: span 3; | ||
| } | ||
| } | ||
| h1 { | ||
| color: rgb(47, 159, 174); | ||
| text-align: center; | ||
|
|
||
| } | ||
|
|
||
| header p { | ||
| text-align: center; | ||
| } | ||
| header { | ||
| margin-bottom: 30px; | ||
| } | ||
| a { | ||
| background-color: black; | ||
| color: white; | ||
| text-decoration: none; | ||
| border-radius: 8px; | ||
| transition: 0.3s; | ||
| } | ||
| a:hover{ | ||
| background-color: teal;} | ||
|
|
||
|
|
||
| article { | ||
| border: var(-- line); | ||
| padding-bottom: var(--space); | ||
| text-align: left; | ||
| display: grid; | ||
| grid-template-columns: var(--space) 1fr var(--space); | ||
| border-radius: 12px; | ||
| overflow: hidden; | ||
| padding: 16px; | ||
| } | ||
|
|
||
| article:hover { transform: scale(1.02);} | ||
|
|
||
| body { background-color: #d6d0d0;} | ||
|
|
||
| h1 { color: rgb(47, 120, 120); } | ||
|
|
||
| p { color: #333333; } | ||
| a { background-color: black; | ||
| color: white; | ||
|
|
||
| } | ||
|
Comment on lines
+89
to
+133
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. @YoditE, your styling is good. However, at the moment, many styles are applied directly to HTML elements, and the readability of the style block is a bit difficult.
|
||
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.
@YoditE, when you compare the header with the main body, what CSS change might help align them?
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.
@akeren Looking at it again, I think matching the spacing and margins between the header and the main content would help make the layout more consistent. I could review the padding and margin values so both sections align better.
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.
Yes, that's fine. @YoditE, what about the position?
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.
I reviewed the layout again and noticed the header and main content were not aligned consistently. I adjusted the positioning and spacing so the content aligns properly and the page structure is more consistent.
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.
@YoditE, that's nice.