Skip to content

Richard Power - personal website #10

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

Open
wants to merge 6 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
27 changes: 27 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="index.js"></script>
<title>About</title>
</head>
<body>
<nav>
<div id="logo">
<h1>Richard Power</h1>
</div>
<div id="links">
<a href="homepage.html">Home</a>
<a class="active" href="#">About</a>
<a href="portfolio.html">Portfolio</a>
<a href="contact.html">Contact</a>
</div>
</nav>
<section id="section1"><h2 >About Me</h2>
<p>I'm a future developer with a genuine passion for learning code and building new things. When I'm not immersed in development, you'll find me exploring diverse worlds as a gamer, enjoying everything from strategic challenges to immersive narratives.</p>
<img src="https://imgs.search.brave.com/62tbc0PsICK-fswgHWwJKusFUk1qcijEZ7Y-jPCZ-V8/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly9jZG4u/dmVjdG9yc3RvY2su/Y29tL2kvcHJldmll/dy0xeC8zNS82My9j/b25jZXB0LW9mLWdh/bWUtZGV2ZWxvcG1l/bnQtbWFsZS1jaGFy/YWN0ZXItdmVjdG9y/LTQ0OTUzNTYzLmpw/Zw" alt="game dev"></section>
</body>
<footer><div id="blackBar"></div></footer>
</html>
45 changes: 45 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<script src="index.js"></script>
<title>Contacts</title>
</head>
<body>
<nav>
<div id="logo">
<h1>Richard Power</h1>
</div>
<div id="links">
<a href="homepage.html">Home</a>
<a href="about.html">About</a>
<a href="portfolio.html">Portfolio</a>
<a class="active" href="#">Contact</a>
</div>
</nav>
<section id="section1">
<h2>Contacts</h2>
<p>
If you would like me to contact you please provide your name and email
in the box below.
</p>
<img
src="https://imgs.search.brave.com/hXaO0UMoPTXa3IZVxIaknMQTgAygVRxOo3BvttsAHRY/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly9tZWRp/YS5pc3RvY2twaG90/by5jb20vaWQvNjg1/NjE4OTgwL3Bob3Rv/L2NvbnRhY3RzLmpw/Zz9zPTYxMng2MTIm/dz0wJms9MjAmYz1Y/dE94a2hHbEZEeTNC/dFZWUl9HYVdTRXU3/Z0F2aDd3bTNMTnA5/bndKMVR3PQ"
alt="contacts"
/>
</section>
<section id="input">
<input type="text" id="name" placeholder="E.g., Jane Doe" required />
<input
type="text"
id="email"
placeholder="E.g., [email protected]"
required
/>
<button type="submit">Submit</button>
</section>
</body>
<footer><div id="blackBar"></div></footer>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to to have the footer inside the body tag

</html>
30 changes: 30 additions & 0 deletions homepage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home Page</title>
<link rel="stylesheet" href="style.css">
<script src="index.js"></script>
</head>
<body>
<nav>
<div id="logo">
<h1>Richard Power</h1>
</div>
<div id="links">
<a class="active" href="#">Home</a>
<a href="about.html">About</a>
<a href="portfolio.html">Portfolio</a>
<a href="contact.html">Contact</a>
</div>
</nav>
<main>
<h2>Future Dev, Gamer</h2>
<p>I am currently learning to code with the hopes of becoming a dev. I am also a big gamer, and I enjoy all types of genres.</p>
<img src="https://imgs.search.brave.com/o57wzJ-jZk2LAvTN8n8UVEkYaZIkN0iC6oYQxU3cfZ4/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly93d3cu/d3dlLmNvbS9mL3N0/eWxlcy93d2VfbGFy/Z2UvcHVibGljL2Fs/bC8yMDE2LzA4L1Zh/Y2FudC0tOWI3YmIw/MWRlNjU3ZjhiMzY5/ZDE5NmRjMDM3YTM0/MTYucG5n" alt="Place holder photo">

</main>
<footer><div id="blackBar"></div></footer>
</body>
</html>
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const rich = "Richard Power";
console.log(rich);


29 changes: 29 additions & 0 deletions portfolio.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<script src="index.js"></script>
<title>Portfolio</title>
</head>
<body>
<nav>
<div id="logo">
<h1>Richard Power</h1>
</div>
<div id="links">
<a href="homepage.html">Home</a>
<a href="about.html">About</a>
<a class="active" href="#">Portfolio</a>
<a href="contact.html">Contact</a>
</div>
</nav>
<section id="section1">
<h2>Portfolio</h2>
<p>This is where I would list all the projects</p>
<img src="https://imgs.search.brave.com/3PxzVuFiPg4KTseGYEJSQq1z4sDl9es-X6bwlz2O1fg/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly9taXIt/czMtY2RuLWNmLmJl/aGFuY2UubmV0L3By/b2plY3RzLzQwNC8x/N2UwNWQyMjcyMDc4/MjcuWTNKdmNDdzBN/VGN5TERNeU5qUXNP/REExTERBLnBuZw" alt="portfolio stock photo">
</section>
</body>
<footer><div id="blackBar"></div></footer>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In here as well

</html>
77 changes: 77 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
body {
background-color: lightblue;
margin: 0;
}
nav {
display: flex;
flex-direction: row;
gap: 1ch;
justify-content: space-between;
background-color: black;
color: cornflowerblue;
}

#links {
font-size: 40px;
}
#logo {
font-size: 20px;
}
main {
display: flex;
flex-direction: column;
justify-self: center;
text-align: center;
}
img {
width: 500px;
height: auto;
align-self: center;
}

#blackBar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 50px;
background-color: #000;
z-index: 100;
}
#section1 {
justify-self: center;
text-align: center;
}
@media (width <= 600px) {
body {
background-color: rgb(8, 95, 177);
margin: 0%;
width: 100%;
height: 100vh;
}
main {
flex-direction: column;
width: 100%;
text-align: center;
}
#blackBar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 50px;
background-color: #000;
z-index: 100;
}
nav {
display: flex;
flex-direction: row;
gap: 10ch;
justify-content: space-evenly;
background-color: black;
color: cornflowerblue;
}
}
#input {
justify-self: center;
}