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
171 changes: 171 additions & 0 deletions Wireframe/Untitled-1.css
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why name this file Untitled-1.css? Why not write the CSS code in style.css?

Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Georgia', serif;
background-color: #f7f4eb;
color: #1a1a1a;
/* WCAG AA High Contrast Compliant */
display: flex;
flex-direction: column;
min-height: 100vh;
padding: 40px 20px 100px 20px;
/* Base padding offsets fixed footer footprint */
}

.page-header {
text-align: center;
margin-bottom: 40px;
width: 100%;
}

.page-header h1 {
font-size: 2.8rem;
color: #4a3728;
margin-bottom: 8px;
font-weight: 700;
}

.page-header h2 {
font-family: 'Arial', sans-serif;
font-size: 1.1rem;
font-weight: normal;
color: #333333;
}

.article-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
max-width: 1100px;
margin: 0 auto;
width: 100%;
}

.card {
background-color: #ffffff;
border-radius: 12px;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.featured-article {
grid-column: span 2;
}

.image-wrapper {
width: 100%;
overflow: hidden;
background-color: #e2e2e2;
}

.featured-article .image-wrapper {
height: 340px;
}

.landscape-card .image-wrapper {
height: 240px;
}

.portrait-card .image-wrapper {
height: 380px;
}

.image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.card-content {
padding: 24px;
display: flex;
flex-direction: column;
flex-grow: 1;
}

.card-content h3 {
font-family: 'Georgia', serif;
font-size: 1.4rem;
color: #1a1a1a;
margin-bottom: 12px;
min-height: 35px;
}

.summary-box {
margin-bottom: 20px;
min-height: 100px;
}

.summary-box p {
font-family: 'Arial', sans-serif;
font-size: 0.95rem;
line-height: 1.6;
color: #444444;
}

.read-more-btn {
display: inline-block;
text-decoration: none;
background-color: #cbaf87;
color: #1a1a1a;
padding: 12px 24px;
font-family: 'Arial', sans-serif;
font-size: 0.85rem;
font-weight: bold;
border-radius: 6px;
text-transform: uppercase;
letter-spacing: 0.5px;
align-self: flex-start;
margin-top: auto;
transition: background-color 0.2s ease-in-out;
}

.read-more-btn:hover {
background-color: #bfa37a;
}

.page-footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #f7f4eb;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you walk me through how you chose this RGB value?

text-align: center;
padding: 20px 0;
box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
z-index: 10;
}

.page-footer p {
font-family: 'Arial', sans-serif;
font-size: 0.85rem;
color: #555555;
font-weight: bold;
}

@media (max-width: 768px) {
.article-container {
grid-template-columns: 1fr;
}

.featured-article {
grid-column: span 1;
}

.card-content h3,
.summary-box {
min-height: auto;
}

.portrait-card .image-wrapper {
height: 240px;
}
}
101 changes: 79 additions & 22 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,90 @@
<!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" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wireframe - Exploring the Basics of Web Design</title>
<meta name="description" content="An interactive engineering wireframe exploring fundamental web application building principles, README documentation structures, design mockups, and advanced Git version control branch strategies.">
<link rel="stylesheet" href="Untitled-1.css">
</head>
<body>
<header>

<header class="page-header">
<h1>Wireframe</h1>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<h2>Exploring the Basics of Web Design</h2>
</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>

<main class="article-container">
<article class="card featured-article">
<div class="image-wrapper">
<img
src="https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=600&q=80"
alt="An enterprise monitor display presenting bright development programming code"
width="600"
height="400">
</div>
<div class="card-content">
<h3>Purpose of a README File</h3>
<div class="summary-box">
<p>
A README file is a document that provides information about a project,
including its purpose, how to use it, and any other relevant details.
It serves as a guide for users and developers who may be interested in
the project.
</p>
</div>
<a href="https://www.freecodecamp.org/news/how-to-write-a-good-readme-file/" target="_blank" rel="noopener" class="read-more-btn">Read more</a>
</div>
</article>

<article class="card landscape-card">
<div class="image-wrapper">
<img
src="https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=600&q=80"
alt="A clean DSLR camera lens reflecting a sprawling modern city silhouette"
width="600"
height="400"
Comment on lines +45 to +46
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It is a better practice to control the image dimension in CSS.

loading="lazy">
</div>
<div class="card-content">
<h3>Purpose of a Wireframe</h3>
<div class="summary-box">
<p>
A wireframe is a visual representation of a website or application's
layout and structure. It shows the placement of elements, such as
text, images, and buttons, without the final design details.
</p>
</div>
<a href="https://www.freecodecamp.org/news/how-to-create-a-wireframe/" target="_blank" rel="noopener" class="read-more-btn">Read more</a>
</div>
</article>

<article class="card portrait-card">
<div class="image-wrapper">
<img
src="https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80"
alt="Bright spacious contemporary office hallway layout interior architecture"
width="600"
height="400"
loading="lazy">
</div>
<div class="card-content">
<h3>What Is a Branch in Git?</h3>
<div class="summary-box">
<p>
A branch in Git is a separate line of development that allows you to
work on different features or bug fixes without affecting the main
codebase. It enables multiple developers to collaborate simultaneously.
</p>
</div>
<a href="https://www.freecodecamp.org/news/what-is-a-git-branch/" target="_blank" rel="noopener" class="read-more-btn">Read more</a>
</div>
</article>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>

<footer class="page-footer">
<p>&copy; 2026 Professional Web Developer Assignment</p>
</footer>

</body>
</html>
</html>
43 changes: 43 additions & 0 deletions Wireframe/wireframe-svgrepo-com.svg
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you still need this image in your implementation? If not, can you remove it to keep the PR branch clean?

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading