Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 62 additions & 7 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,78 @@
<header>
<h1>Wireframe</h1>
<p>
This is the default, provided code and no changes have been made yet.
This web page is a brief guide on some of the terms we use in coding. I
will explain in my own words what the main terms mean and how they apply
to our code.
</p>
</header>
<main>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<img
src="https://media.geeksforgeeks.org/wp-content/uploads/20240702120959/Readme1.png"
alt=""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can leave the "alt" attribtute blank if the image is purely decorative. I think that is the case here, so you don't need to change it, but just keep that in mind.

/>
<h2>Purpose of a README File</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
A README file is a document that provides information about a project.
It typically includes details such as the project's purpose, how to
install and use it, and any other relevant information that users or
developers might need. The README file is often the first thing that
users see when they visit a project's repository, so it's important to
make it clear and informative.
</p>
<a href="">Read more</a>
<a
href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes"
target="_blank"
>More Info</a
>
</article>
<article class="second-line">
<img
src="https://balsamiq.com/assets/learn/articles/wireframe-example-plain.png"
alt=""
/>
<h2>Wireframe</h2>
<p>
A wireframe is a visual representation of a web page or application.
It serves as a blueprint for the design and layout of the page,
showing where elements like text, images, and buttons will be placed.
Wireframes are often created in the early stages of a project to help
designers and developers plan the structure and functionality of the
page before moving on to more detailed design work.
</p>
<a
href="https://www.productplan.com/glossary/wireframe/"
target="_blank"
>More Info</a
>
</article>
<article class="second-line">
<img
src="https://wac-cdn.atlassian.com/dam/jcr:a905ddfd-973a-452a-a4ae-f1dd65430027/01%20Git%20branch.svg?cdnVersion=2723"
alt=""
/>
<h2>Git Branch</h2>
<p>
A branch in Git is a separate line of development within a project. It
allows developers to work on new features or bug fixes without
affecting the main codebase. When a branch is created, it starts as a
copy of the main branch (usually called "main" or "master").
Developers can make changes in their branch and then merge those
changes back into the main branch when they're ready.
</p>
<a
href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches"
target="_blank"
>More Info</a
>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
This page was created as a simple example of a wireframe and to explain

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At times the footer text overlaps with the page content which is difficult to read - can you think of how to fix this while keeping the footer at the bottom of the viewport?

some common coding terms. It is not intended to be a complete guide but
rather a starting point for understanding these concepts.
</p>
</footer>
</body>
Expand Down
27 changes: 27 additions & 0 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,30 @@ main {
max-width: var(--container);
margin: 0 auto calc(var(--space) * 4) auto;
}

header h1,p {
text-align: center;
margin: var(--space) 0;
}

article p{
text-align: left;
}

h2 {
text-align: center;
margin: var(--space) 0;
}

footer {
position: fixed;
bottom: 0;
text-align: center;
left: 2%;
background: var(--paper); /* to add contrast */
}
footer p {
text-align: center;
}
/* ====== Articles Grid Layout ====
Setting the rules for how articles are placed in the main element.
Expand Down Expand Up @@ -87,3 +107,10 @@ article {
grid-column: span 3;
}
}

.second-line img {
height: 150px; /* or any height you prefer */
object-fit: contain; /* keeps the aspect ratio */
display: block;
margin: 0 auto; /* optional: centers the image */
}