Skip to content

Commit 1681975

Browse files
committed
I added some styling to css
1 parent 2bc08bd commit 1681975

File tree

2 files changed

+36
-9
lines changed

2 files changed

+36
-9
lines changed

Wireframe/index.html

+33-7
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,55 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Wireframe</title>
77
<link rel="stylesheet" href="style.css" />
8+
<meta http-equiv="Cache-Control" content="public, max-age=3600"> <!-- Cache for 1 hour.
9+
I used chatgpt to help me understand the problem and how to solveit in a simpler way. -->
10+
<meta name="description" content="this page explain: wireframe, README file, and a branch in git.">
11+
<!-- I used lighthouse link to explain this more to me-->
12+
813
</head>
914
<body>
1015
<header>
16+
<title>Wireframe</title>
1117
<h1>Wireframe</h1>
1218
<p>
13-
This is the default, provided code and no changes have been made yet.
19+
we are going to learn a few things.
1420
</p>
1521
</header>
1622
<main>
1723
<article>
18-
<img src="placeholder.svg" alt="" />
19-
<h2>Title</h2>
24+
<img src="placeholder.svg" width="640" height="360" alt="a general image" />
25+
<h2>What is the purpose of a README file?</h2>
2026
<p>
21-
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
22-
voluptates. Quisquam, voluptates.
27+
The README.md file acts as a guide for users and developers,
28+
explaining what the project is, how to set it up, and how to contribute.
2329
</p>
24-
<a href="">Read more</a>
30+
<a href="https://www.geeksforgeeks.org/what-is-readme-md-file/">Read more</a>
31+
</article>
32+
<article>
33+
<img src="placeholder.svg" width="640" height="360" alt="a general image" />
34+
<h2>What is the purpose of a wireframe?</h2>
35+
<p>
36+
to layout content and functionality on a page which takes into account user needs and user journeys.
37+
Wireframes are used early in the development process to establish the basic structure of a page before visual design and content is added
38+
</p>
39+
<a href="https://www.experienceux.co.uk/faqs/what-is-wireframing/#:~:text=A%20wireframe%20is%20commonly%20used,design%20and%20content%20is%20added.">Read more</a>
40+
</article>
41+
<article>
42+
<img src="placeholder.svg" width="640" height="360" alt="a general image" />
43+
<h2>What is a branch in Git?</h2>
44+
<p>
45+
a pointer to a snapshot of your changes.
46+
</p>
47+
<a href="https://www.atlassian.com/git/tutorials/using-branches#:~:text=In%20Git%2C%20branches%20are%20a,branch%20to%20encapsulate%20your%20changes.">Read more</a>
2548
</article>
2649
</main>
2750
<footer>
2851
<p>
29-
This is the default, provided code and no changes have been made yet.
52+
check these resources for more info:
3053
</p>
54+
<a href="https://www.productplan.com/glossary/wireframe/">wireframe info</a>
55+
<a href="https://www.w3schools.com/html/html5_semantic_elements.asp">Semantic HTML info</a>
56+
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:first-child">first-child info</a>
3157
</footer>
3258
</body>
3359
</html>

Wireframe/style.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ As well as useful links to learn more */
2222
--font: 100%/1.5 system-ui;
2323
--space: clamp(6px, 6px + 2vw, 15px);
2424
--line: 1px solid;
25-
--container: 1280px;
25+
--container: 880px;
2626
}
2727
/* ====== Base Elements ======
2828
General rules for basic HTML elements in any context */
2929
body {
3030
background: var(--paper);
3131
color: var(--ink);
3232
font: var(--font);
33+
text-align: center;
3334
}
3435
a {
3536
padding: var(--space);
@@ -50,7 +51,7 @@ main {
5051
margin: 0 auto calc(var(--space) * 4) auto;
5152
}
5253
footer {
53-
position: fixed;
54+
background: var(--paper);
5455
bottom: 0;
5556
text-align: center;
5657
}

0 commit comments

Comments
 (0)