Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CYF-ITP-South Africa Emmanuel| Module-User-Focused-Data Feature/wireframe- RESUBMISSION #311

Open
wants to merge 56 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
1294967
fixing html closing tag
EmmanuelSiziba Oct 9, 2024
d680abf
Added class container div
EmmanuelSiziba Oct 9, 2024
ee303ca
added a second div class for header
EmmanuelSiziba Oct 9, 2024
1591bb7
added a header
EmmanuelSiziba Oct 10, 2024
6c8f9f5
inserted h1 element for my first heading
EmmanuelSiziba Oct 10, 2024
99e4221
P element with git short intro
EmmanuelSiziba Oct 10, 2024
fb5fce8
created a main section
EmmanuelSiziba Oct 10, 2024
c89988c
created a section element
EmmanuelSiziba Oct 10, 2024
21335b1
created a article element
EmmanuelSiziba Oct 10, 2024
a2b524e
heading 2 element
EmmanuelSiziba Oct 10, 2024
38a2fd8
created a P element with breaks
EmmanuelSiziba Oct 10, 2024
fe33ba2
added an href with a link
EmmanuelSiziba Oct 10, 2024
45b9983
second article element
EmmanuelSiziba Oct 10, 2024
97706f4
article
EmmanuelSiziba Oct 10, 2024
e31700c
added a second heading
EmmanuelSiziba Oct 10, 2024
0cd716e
created an unordered list
EmmanuelSiziba Oct 10, 2024
d97d1ea
2nd article
EmmanuelSiziba Oct 10, 2024
1178dc3
created an unordered list
EmmanuelSiziba Oct 10, 2024
2e45ed1
closing tag of my unordered list
EmmanuelSiziba Oct 10, 2024
2d010d8
3rd article element
EmmanuelSiziba Oct 10, 2024
49f022f
2nd href link to my list
EmmanuelSiziba Oct 10, 2024
0d49a4b
3rd heading in my section
EmmanuelSiziba Oct 10, 2024
71f4418
added a paragraph with breaks
EmmanuelSiziba Oct 10, 2024
c7c3066
added a third link for my paragraph
EmmanuelSiziba Oct 10, 2024
3ea76f0
closing main element
EmmanuelSiziba Oct 10, 2024
5994f06
created a footer
EmmanuelSiziba Oct 10, 2024
ddd2d2d
added a P element to my footer
EmmanuelSiziba Oct 10, 2024
71286e6
added a * selector
EmmanuelSiziba Oct 10, 2024
84337e8
added a body selector
EmmanuelSiziba Oct 10, 2024
99f3dc2
header selector
EmmanuelSiziba Oct 10, 2024
ff3595e
header h1 selector
EmmanuelSiziba Oct 10, 2024
ed7f155
main selector
EmmanuelSiziba Oct 10, 2024
43e04f1
section selctor
EmmanuelSiziba Oct 10, 2024
2c65201
article selector
EmmanuelSiziba Oct 10, 2024
38ab0cf
article h2 selector
EmmanuelSiziba Oct 10, 2024
7fe3243
unorderedlist selector
EmmanuelSiziba Oct 10, 2024
499785c
added * selector to css
EmmanuelSiziba Oct 11, 2024
f5e9516
added a body selector to css
EmmanuelSiziba Oct 11, 2024
6511d11
added a header selector
EmmanuelSiziba Oct 11, 2024
327a560
added a header h1 selector
EmmanuelSiziba Oct 11, 2024
31710ff
added a main selector to css
EmmanuelSiziba Oct 11, 2024
d081e7e
added a section selector to css
EmmanuelSiziba Oct 11, 2024
a386ab3
added a article selector
EmmanuelSiziba Oct 11, 2024
3379d09
2nd article selector for heading 2
EmmanuelSiziba Oct 11, 2024
23afe7c
unordelist selector to css
EmmanuelSiziba Oct 11, 2024
cdce15a
added a list selector
EmmanuelSiziba Oct 11, 2024
dec8695
targeted the pseudo-element for unordered list
EmmanuelSiziba Oct 11, 2024
0a9b51c
targeted my links with a selector
EmmanuelSiziba Oct 11, 2024
74c6c32
targeted the pseudo-element for unordered list
EmmanuelSiziba Oct 11, 2024
a7d04b9
added a:hover selector
EmmanuelSiziba Oct 11, 2024
a26e866
added a footer selector
EmmanuelSiziba Oct 11, 2024
892878e
Add files via upload
EmmanuelSiziba Nov 4, 2024
5cfd297
Update style.css
EmmanuelSiziba Nov 5, 2024
604acf8
Update index.html
EmmanuelSiziba Nov 5, 2024
83751c5
Merge branch 'CodeYourFuture:main' into feature/wireframe-
EmmanuelSiziba Nov 15, 2024
7139730
child selectors css
EmmanuelSiziba Nov 15, 2024
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
Binary file added GIT.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file removed Wireframe/css/style.css
Empty file.
50 changes: 44 additions & 6 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,51 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wireframe</title>
<title>Guide to Git</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
</body>
</html
<div class="header">
<h1>Guide to Git</h1>
<p>The free open source distributed version control system primarily used by developers to manage their source code. See how it works.</p>
</div>

<div class="main-content">
<div class="banner">
<h2>What is Git?</h2>
<p>Git, an open-source distributed version control system (DVCS) created by Linux developer Linus Torvalds in 2005. As of 2024, Git is the most widely used version control system and is used by both individuals and companies, including Microsoft, Netflix, and Google.</p>
<a href="https://rogerdudler.github.io/git-guide/" class="button">Read More</a>
</div>

<div class="info-section">
<div class="info-card">
<img src="https://images.unsplash.com/photo-1707061229170-fc232a07a55f?q=80&w=1481&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" alt="Developers need Git">
<h2>Why do developers need Git?</h2>
<ul>
<li>Tracking Changes: Git allows you to track every change made to your codebase.</li>
<li>Collaboration: Git enables multiple developers to work on the same project simultaneously.</li>
<li>Open Source: Git is widely used in open-source projects, making it the standard for collaborative development.</li>
<li>Rollback and Recovery: Easily revert to previous working versions of your code.</li>
</ul>
<a href="https://www.nobledesktop.com/learn/git/what-is-git" class="button">Read More</a>
</div>
<div class="info-card">
<img src="https://media.istockphoto.com/id/897695334/vector/code-fork-flat-icons-with-outlines.jpg?s=1024x1024&w=is&k=20&c=c9zwHexRZf9rmLWKIe4N-3x_VS5yrn3QYKa7xkRLVxk=" alt="Branching in Git">
<h3>What is a branch in Git?</h3>
<p>A branch in Git is a separate line of development that allows you to work on features or fixes independently from the main project. It lets you experiment, make changes, and merge them back without affecting the main codebase.</p>
<a href="https://www.atlassian.com/git/tutorials/using-branches#:~:text=In%20Git%2C%20branches%20are%20a,branch%20to%20encapsulate%20your%20changes." class="button">Read More</a>
</div>
</div>
</div>

<div class="footer">
<footer>
<p>&copy; 2024 Guide to Git</p>
</footer>
</div>

</body>
</html>

121 changes: 121 additions & 0 deletions Wireframe/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
text-align: center;
}

.header {
margin-top: 20px;
}

.header > h1 {
font-size: 2em;
margin: 0;
}

.header > p {
color: #666;
font-size: 1em;
}

.main-content {
margin: 20px;
}

.banner {
background-image: url('https://images.unsplash.com/photo-1654277041218-84424c78f0ae?q=80&w=1462&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
background-size: cover;
background-position: center;
padding: 20px;
text-align: left;
border-radius: 8px;
color: white;
position: relative;
}

.banner > h2 {
font-size: 1.5em;
color: white;
}

.banner > p {
color: white;
font-size: 1em;
}

.banner .button {
display: inline-block;
margin-top: 10px;
padding: 10px 20px;
background-color: orange;
color: white;
text-decoration: none;
border-radius: 5px;
}

.banner::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
background-color: #000; /* Fallback for older browsers */
border-radius: 8px;
z-index: 1;
}

.banner h2, .banner p, .banner .button {
position: relative;
z-index: 2;
}

.info-section {
display: flex;
justify-content: space-around;
margin-top: 20px;
}

.info-card {
width: 45%;
background-color: #f8f8f8;
border-radius: 8px;
padding: 20px;
text-align: left;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.info-card > img {
width: 100%;
max-width: 250px;
height: auto;
border-radius: 8px;
margin: 0 auto;
}

.info-card > h2, .info-card > h3 {
font-size: 1.2em;
color: orange;
margin-top: 10px;
}

.info-card > p, .info-card > ul {
color: #333;
font-size: 1em;
margin-top: 10px;
}

.info-card .button {
display: inline-block;
margin-top: auto;
padding: 10px 20px;
background-color: orange;
color: white;
text-decoration: none;
border-radius: 5px;
align-self: flex-start;
}