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
136 changes: 118 additions & 18 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,127 @@
<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 -->
<header class="header">
<!-- title and description -->
<nav class="header-content_container">
<h1 class="">
Wireframe
</h1>
<P class="text-sm md:text-base pt-4 pb-8">
Wireframe acts as a blueprint or skeleton of a website or an application. It structures the layout and visual
designs like what colors and fonts to be used. Simply it shows what elements should go where in a website or
application.
</P>
</nav>
</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>
<!-- article section -->
<section class="article-section">
<!-- title -->
<div class="title-container">
<h1>
Articles
</h1>
</div>
<div class="articles_container">
<!-- 1st article -->
<div class="first-article-container">

<!-- article image -->
<div class="first-article-img">
<img src="./placeholder.svg">
</div>
<!-- article info -->
<div>
<h1 class="article-title">
README.md file
</h1>
<p>
A readme file in a repository is used to tell other people the followings: what your porject does, why the
project is usefull, what they can do with you project, How the users can get ...
</p>
<button class="article-btn">
<a href="">
Read more →
</a>
</button>
</div>
</div>

<!-- 2nd article -->
<div class="article-container">
<div class="article-img">
<img src="./placeholder.svg">
</div>
<!-- article info -->
<div>
<h1 class="article-title">
Wireframe
</h1>
<p>
The wireframe acts as a blueprint or skeleton of a website or an application. It structures the layout and
visual designs like what colors and fonts to be used. Simply it shows what elements ...
</p>
<button class="article-btn">
<a href="./pages/article2.html">
Read more →
</a>
</button>
</div>
</div>

<!-- 3rd article -->
<div class="article-container">
<div class="article-img">
<img src="./placeholder.svg" alt="">
</div>

<!-- article info -->
<div>
<h1 class="article-title">
Branch in Git
</h1>
<p class="text-gray-500">
A branch is a sequence of commits in a project. In other words, a branch is a separate workspace of the same
project where you can make modifications and try new ideas without affecting the master or main branch ...
</p>
<button class="article-btn">
<a href="./pages/article3.html">
Read more →
</a>
</button>
</div>
</div>
</div>
</section>
<!-- article section ends -->
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>

<!-- footer -->
<footer class="site-footer">
<div class="footer-content">
<div class="footer-section">
<h3>Wireframe</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. t, odit voluptatibus officia.</p>
</div>

<div class="footer-bottom">
© 2026 Fida Ali Zada — All rights reserved.
</div>

<div class="footer-social">
<ul>
<li><a href="#">Twitter</a></li>
<li><a href="#">GitHub</a></li>
<li><a href="#">LinkedIn</a></li>
</ul>
</div>

</div>
</footer>

</body>
</html>
200 changes: 150 additions & 50 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -1,46 +1,32 @@
/* 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;
margin: 0;
box-sizing: border-box;
padding-bottom: 100px;
}

img,
svg {
width: 100%;
object-fit: cover;
}
/* header styling */
.header {
position: sticky;
top: 0;
background-color: black;
color: white;
z-index: 10;
margin: 0;
}

.header-content_container{
text-align: center;
}


/* ====== Site Layout ======
Setting the overall rules for page regions
https://www.w3.org/WAI/tutorials/page-structure/regions/
Expand Down Expand Up @@ -69,21 +55,135 @@ main {
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;

.article-section {
padding: 36px 32px;
}

.article-section .title-container {
text-align: center;
}

.articles_container {
display: grid;
grid-template-columns: var(--space) 1fr var(--space);
> * {
grid-column: 2/3;
}
> img {
grid-column: span 3;
}
grid-template-columns: repeat(2 ,minmax(0, 1fr));
gap: 32px;
}

.first-article-container{
grid-column: span 2;
border: 1px solid lightgray;
padding: 32px;
}

.first-article-img{
width: 100%;
height: 80%;
}

.first-article-img img {
width: 100%;
height: 100%;
object-fit: cover;
}

.article-title {
margin: 24px 0px;
}

.article-btn {
background-color: #222;
color: #fff;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
transition: background-color 0.25s ease, transform 0.2s ease;
}

.article-btn a {
color: inherit;
text-decoration: none;
border: none;
outline: none;
}

.article-btn a:focus {
outline: none;
border: none;
}

.article-btn:hover {
background-color: #333;
transform: translateY(-2px);
}

.article-container {
border: 1px solid lightgray;
padding: 32px;
}


/* footer */
.site-footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;

background-color: #111;
color: #ddd;
border-top: 1px solid #333;
}

/* Adjust inner layout */
.footer-content {
display: flex;
flex-wrap: wrap;
gap: 2rem;
justify-content: space-between;
max-width: 1100px;
margin: 0 auto;
}

.footer-section h3 {
margin-bottom: 1rem;
font-size: 1.1rem;
color: #fff;
}

.footer-social {
justify-content: center;
align-items: center;
display: flex;
}

.footer-social ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}

.footer-social a {
color: #ddd;
text-decoration: none;
transition: color 0.2s ease;
}

.footer-social a:hover {
color: #fff;
}

.footer-bottom {
display: flex;
justify-content: center;
align-items: center;
font-size: 0.9rem;
color: #aaa;
}