-
-
Notifications
You must be signed in to change notification settings - Fork 501
Glasgow | 26-ITP-May | Francesco Romano Monda | Sprint 2 | Wireframe to Web Code #1409
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
bd27467
d16c2f0
e8b0bc4
acd8a37
bb9b076
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 |
|---|---|---|
| @@ -1,32 +1,63 @@ | ||
| <!DOCTYPE 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> | ||
| This is the default, provided code and no changes have been made yet. | ||
| </p> | ||
| <p>Learn about README files, wireframes, and Git branches.</p> | ||
| </header> | ||
|
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. @fromonda, when you compare the header with the main body, does the UI alignment look intentional? What CSS change might help align them?
Author
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. The alignment between the header and the main body was not intentional; it was simply the default behaviour. From your comment, I understood that you were suggesting a more consistent alignment, so I applied the same container styling used for the main body to the header as well. |
||
|
|
||
| <main> | ||
| <article> | ||
| <img src="placeholder.svg" alt="" /> | ||
| <h2>Title</h2> | ||
| <img | ||
| src="readme.png" | ||
| alt="Illustration promoting the creation of an effective README file" | ||
| /> | ||
| <h2>What is a README File?</h2> | ||
| <p> | ||
| A README file explains what a project does, how to install it, how to | ||
| use it, and any important information developers need. It is usually | ||
| the first file people read when viewing a project. | ||
| </p> | ||
| <a href="https://www.makeareadme.com/">Read more</a> | ||
| </article> | ||
|
|
||
| <article> | ||
| <img src="wireframe.png" alt="Wireframe showing a webpage layout" /> | ||
| <h2>What is a Wireframe?</h2> | ||
| <p> | ||
| A wireframe is a digital diagram that shows the skeleton of a website. | ||
| It strips away visual elements like colors, fonts, and images to focus | ||
| entirely on where headers and content blocks live. | ||
| </p> | ||
| <a href="https://balsamiq.com/blog/what-are-wireframes/">Read more</a> | ||
| </article> | ||
|
|
||
| <article> | ||
| <img src="git-branch.png" alt="Illustration of branching in Git" /> | ||
| <h2>What is a Git Branch?</h2> | ||
| <p> | ||
| Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, | ||
| voluptates. Quisquam, voluptates. | ||
| A branch in Git is an independent line of development. Branches allow | ||
| developers to work on new features, updates, or fixes without | ||
| affecting the main project. This helps keep changes organized and | ||
| separate until they are ready to be merged. | ||
| </p> | ||
| <a href="">Read more</a> | ||
| <a | ||
| href="https://book.the-turing-way.org/reproducible-research/vcs/vcs-git-branches/" | ||
| >Read more</a | ||
| > | ||
| </article> | ||
| </main> | ||
| <footer> | ||
| <p> | ||
| This is the default, provided code and no changes have been made yet. | ||
| Built using semantic HTML, CSS layout techniques, and version control | ||
| practices. | ||
| </p> | ||
| </footer> | ||
|
Comment on lines
57
to
62
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. @fromonda, examine the footer position in the rendered UI. Where should it sit relative to the rest of the page, and what styling might need to change?
Author
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. The footer was intentionally anchored to the bottom of the viewport using position: fixed. However, based on your comment, I understood that the footer would be better positioned below the page content so that it follows the normal document flow. I have therefore removed the fixed positioning and allowed the footer to sit naturally after the main content. |
||
| </body> | ||
|
|
||
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.
@fromonda, could you explain why you've added this empty line?
Uh oh!
There was an error while loading. Please reload this page.
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.
The empty line you mentioned, along with the others I added, is intended to make the code more readable by visually separating the different sections. In this case, it helps distinguish the head snippet from the body snippet, while the others separate the individual article snippets, making the structure easier to read.