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

ITP-Jan-25-South Africa | Jordy Mukandayi | Module-Onboarding | Wireframe | Week1 #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
197 changes: 197 additions & 0 deletions Wireframe/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
body {
margin: 0;
padding: 0;
display: inline;
font-family: "Manrope";
font-size: 15px;
width: 500%;
}
#git-header {
display: flex;
flex-direction: column;
align-items: center;
}
/*What is Git style */
.what-git {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
background: #f7f7f5;
}
.git-img {
width: 800px;
margin: 5px auto 20px auto;
}
.box-git {
margin-left: -255px;
margin-bottom: 1px;
}
h2 {
font-size: 30px;
}
p {
font-size: 20px;
}
.btn {
display: inline-block;
border-radius: 4px;
background-color: #00509d;
border: none;
text-align: center;
font-size: 20px;
font-weight: 600;
padding: 10px;
margin-right: 690px;
}
a {
text-decoration: none;
color: #ffffff;
}
.btn:hover {
padding-right: 25px;
transition: 0.5;
}
/* Section of Why do developers need Git */
#git-section {
display: flex;
justify-content: center;
margin: 10px auto 50px auto;
padding: 10px;
width: 400px;
}
.img-section {
margin-left: 2px;
padding: 0 6px;
width: 400px;
}
.branch-float {
margin-left: 15px;
margin-right: 30px;
}
h3 {
font-size: 15px;
display: flex;
justify-content: left;
}
.paragraph {
float: left;
font-size: 12px;
width: 300px;
}
.btn-2 {
display: inline-block;
border-radius: 4px;
background-color: #00509d;
border: none;
color: #ffffff;
text-align: center;
font-size: 28px;
font-weight: 600;
padding: 10px;
cursor: pointer;
}
/* What is a branch in Git Section */

.why-git {
padding: 20px;
margin-top: 30px;
}
.why-git-2 {
display: block;
margin-top: 50px;
}

/* Footer */
.footer {
display: flex;
justify-content: center;
font-style: italic;
background: #00509d;
color: white;
}
/* Responsive Styles */
@media (max-width: 768px) {
header #git-header,
header h1,
header p {
float: none;
text-align: center;
width: 100%;
}
.what-git img {
width: 100%;
}
.what-git {
float: none;
text-align: center;
}
.box-git {
padding-left: 20px;
float: none;
text-align: center;
width: 100%;
}
.box-git h2 {
float: none;
text-align: center;
width: 100%;
margin-left: 60px;
font-size: 24px;
}
.box-git p {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
float: none;
padding-left: 100px;
}
.btn {
display: block;
text-align: center;
margin-right: 10px;
}
/* Section Responsive */
#git-section {
float: none;
text-align: center;
width: 100%;
display: block;
}
#git-section .why-git {
float: none;
text-align: center;
width: 100%;
display: block;
}
#git-section .img-section {
width: 100%;
margin-right: 80px;
}
.branch-float {
float: none;
text-align: center;
width: 100%;
}
#git-section .blanch-float h3 {
float: none;
text-align: center;
width: 100%;
}
#git-section .blanch-float p {
margin-right: 10px;
width: 100%;
}
#git-section .why-git-2 {
float: none;
text-align: center;
width: 100%;
display: block;
}
.footer {
float: none;
text-align: center;
margin-left: 60px;
}
}
Binary file added Wireframe/img/git.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/img/git2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/img/github-img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wireframe/img/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 64 additions & 20 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,75 @@
<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" />
<title>GitHub Tutorial</title>
<link rel="stylesheet" href="css/styles.css" />
</head>
<body>
<header>
<h1>Wireframe</h1>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<header id="git-header">
<h1>GitHub</h1>
<p>Git is Version Control Software.</p>
</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>
<section class="what-git">
<img class="git-img" alt="What is Git" src="img/github-img.jpg" />
<div class="box-git">
<h2>What is Git?</h2>
<p>
Git is a distributed version control system<br />
that allows developers to track changes made in their code
</p>
</div>
<button class="btn">
<a
href="https://www.atlassian.com/git/tutorials/what-is-git"
target="_blank"
>Read More</a
>
</button>
</section>
<section id="git-section">
<div class="why-git">
<img
class="img-section"
alt="Why do developers need Git"
src="img/git.png"
/>
<div class="branch-float">
<h3>Why do developers need Git?</h3>
<p class="paragraph">
Developers need Git for several reasons: Git keeps a history of
changes made to the codebase
</p>
<button class="btn-2">
<a href="" target="_blank">Read More</a>
</button>
</div>
</div>
<div class="why-git-2">
<img
class="img-section"
alt="What is a branch in Git"
src="img/git2.png"
/>
<div class="branch-float">
<h3>What is a branch in Git?</h3>
<p class="paragraph">
A branch in Git is essentially a pointer to a specific commit in
the repository's history
</p>
<button class="btn-2">
<a
href="https://www.w3schools.com/git/git_branch.asp"
target="_blank"
>Read More</a
>
</button>
</div>
</div>
</section>
</main>
<footer>
<p>
This is the default, provided code and no changes have been made yet.
</p>
<footer class="footer">
<p>Copyright 2025 - Made by Jordy Mukandayi</p>
</footer>
</body>
</html>
89 changes: 0 additions & 89 deletions Wireframe/style.css

This file was deleted.