Skip to content

Commit 7f535c9

Browse files
author
Ogbemi mene
committed
commit for CJ
1 parent 18c8b8b commit 7f535c9

3 files changed

Lines changed: 120 additions & 6 deletions

File tree

Wireframe/Untitled-1.css

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
2+
body {
3+
font-family: Arial, sans-serif;
4+
margin: 0;
5+
padding: 0;
6+
box-sizing: border-box;
7+
text-align: center;
8+
}
9+
10+
header, footer {
11+
padding: 20px;
12+
background-color: #f8f9fa;
13+
}
14+
15+
.article-container {
16+
display: grid;
17+
grid-template-columns: repeat(2, 1fr);
18+
gap: 30px;
19+
max-width: 1000px;
20+
margin: 40px auto;
21+
padding: 0 20px;
22+
}
23+
24+
.featured-article {
25+
grid-column: span 2;
26+
}
27+
28+
article {
29+
border: 1px solid #ccc;
30+
padding: 20px;
31+
text-align: left;
32+
display: flex;
33+
flex-direction: column;
34+
}
35+
36+
article img {
37+
width: 100%;
38+
height: auto;
39+
max-height: 250px; /* Adjust height limit to match wireframe ratios */
40+
object-fit: cover; /* Prevents distortion if images have varying sizes */
41+
margin-bottom: 15px;
42+
}
43+
44+
article h2 {
45+
font-size: 1.4rem;
46+
margin: 10px 0;
47+
}
48+
49+
article p {
50+
font-size: 0.95rem;
51+
line-height: 1.5;
52+
color: #333;
53+
margin-bottom: 20px;
54+
}
55+
56+
article a {
57+
display: inline-block;
58+
align-self: flex-start;
59+
text-transform: uppercase;
60+
font-weight: bold;
61+
font-size: 0.8rem;
62+
color: #000;
63+
text-decoration: none;
64+
border: 1px solid #000;
65+
padding: 6px 12px;
66+
}
67+
68+
article a:hover {
69+
background-color: #000;
70+
color: #fff;
71+
}

Wireframe/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<h1>Wireframe</h1>
1212
</header>
1313

14-
<main class="article-container" method="GET">
15-
<article>
16-
<img src="placeholder.svg" alt="Abstract placeholder illustration showing gray rectangle background with a circle and triangular shapes suggesting a generic interface layout" />
14+
<main class="article-container">
15+
<article class="featured-article">
16+
<img src="https://www.readmecodegen.com/logo.png" alt="README layout placeholder graphic" />
1717
<h2>Purpose of a readme file</h2>
1818
<p>
1919
A readme file is a document that provides information about a project,
@@ -24,7 +24,7 @@ <h2>Purpose of a readme file</h2>
2424
</article>
2525

2626
<article>
27-
<img src="placeholder.svg" alt="Abstract placeholder illustration showing gray rectangle background with a circle and triangular shapes suggesting a generic interface layout" />
27+
<img src="placeholder.svg" alt="Wireframe application layout graphic" />
2828
<h2>Purpose of a wireframe</h2>
2929
<p>
3030
A wireframe is a visual representation of a website or application's layout and structure.
@@ -35,8 +35,8 @@ <h2>Purpose of a wireframe</h2>
3535
</article>
3636

3737
<article>
38-
<img src="placeholder.svg" alt="Abstract placeholder illustration showing gray rectangle background with a circle and triangular shapes suggesting a generic interface layout" />
39-
<h2>what is a Branch in a Git</h2>
38+
<img src="wireframe-svgrepo-com.svg" alt="Git branching structure diagram" />
39+
<h3>what is a Branch in a Git</h3>
4040
<p>
4141
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.
4242
It enables multiple developers to collaborate on a project simultaneously and helps manage changes effectively.
Lines changed: 43 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)