Skip to content
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
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 Javascript_Portfolio/images/GitHub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 Javascript_Portfolio/images/Picture_of_You.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 Javascript_Portfolio/images/Python.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 Javascript_Portfolio/images/SQL_and_Database.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 Javascript_Portfolio/images/coding_icon.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 Javascript_Portfolio/images/video/Typing.mp4
Binary file not shown.
172 changes: 172 additions & 0 deletions Javascript_Portfolio/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
<!DOCTYPE html>
<html lang="en">

<!-- Head -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="img/jpg" href="images/coding_icon.png">
<link rel="stylesheet" type="text/css" href="stylesheet/portfolio.css">
<script src="js/portfolio.js" defer></script>
<title>Earle White</title>
</head>

<!-- Body -->
<body class="Background">

<!-- Header -->
<header>
<div class="Navbar">
<a class="active" href="#Home">Home</a>
<a href="#Slideshow">Slideshow</a>
<a href="#About">About</a>
<a href="#GitHub">GitHub</a>
<a onclick="openForm()" ondblclick="closeForm()" class="contact">Contact</a>
</div>
</header>

<!-- Main -->
<main>

<!-- Background video -->
<div id="Home">
<video autoplay muted loop id="Typing_Video">
<source src="images/video/Typing.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>

<!-- Video text -->
<div class="Video_Text">
<h1 class="white-text">Earle White's Portfolio</h1>
<strong>
<p class="center">
<q>The computer programmer is a creator of universes for which he alone is the lawgiver.
<br>No playwright, no stage director, no emperor, however powerful, has ever exercised such absolute authority to arrange a stage or
<br>field of battle and to command such unswervingly dutiful actors or troops.
</q>
<br> -Joseph Weizenbaum<br>
<br>
My name is ____. Welcome to my portfolio website. On it, I will tell you about my background and experience.
<br>
<br>Thank you for stopping by and enjoy!
</p>
</strong>
</div>

<!-- Slideshow -->
<div id="Slideshow">
<div id="Slideshow_Background">
<div id="Slideshow_Container">
<!-- Slide 1 of 6 -->
<div class="mySlides fade">
<img class="Slideshow_Images" src="https://loremflickr.com/758/758/portrait,coder?lock=1" alt="Developer portrait">
<div class="text">I'm available to assist you on your project!</div>
</div>
<!-- Slide 2 of 6 -->
<div class="mySlides fade">
<img class="Slideshow_Images" src="images/HTML_CSS_and_JavaScript.jpeg" alt="HTML, CSS, and JS logos">
<div class="text">I am a full-stack software developer,<br> trained in:<br>HTML, CSS, JavaScript,</div>
</div>
<!-- Slide 3 of 6 -->
<div class="mySlides fade">
<img class="Slideshow_Images" src="images/Python.png" alt="Python logo">
<div class="text">the popular programming language Python,</div>
</div>
<!-- Slide 4 of 6 -->
<div class="mySlides fade">
<img class="Slideshow_Images" src="images/C_Sharp_and_Dot_NET.png" alt="C# logo">
<div class="text">C#, .NET Framework, ASP.NET, MVC, </div>
</div>
<!-- Slide 5 of 6 -->
<div class="mySlides fade">
<img class="Slideshow_Images" src="images/SQL_and_Database.jpg" alt="SQL logo">
<div class="text">back end development, databases and SQL.</div>
</div>
<!-- Slide 6 of 6 -->
<div class="mySlides fade">
<img class="Slideshow_Images" src="https://loremflickr.com/758/758/programmer,developer?lock=1" alt="Developer">
<div class="text"><a class="white-text contact" onclick="openForm()">Contact me now!</a></div>
</div>
<!-- Prev/next controls -->
<a class="Previous" onclick="plusSlides(-1)">&#10094;</a>
<a class="Next" onclick="plusSlides(1)">&#10095;</a>
</div>
<br>

<!-- Slideshow dots -->
<div style="text-align: center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
<span class="dot" onclick="currentSlide(5)"></span>
<span class="dot" onclick="currentSlide(6)"></span>
</div>
</div>
</div>

<!-- About -->
<div class="Row" id="About">
<div class="Column_2">
<img src="https://loremflickr.com/1717/897/laptop,computer?lock=1" alt="Laptop and computer">
</div>
<div class="Column_1">
<h1>About</h1>
<p>
I am a software developer who loves to code! As a father of two, I enjoy time with my family and traveling.
<br>
<br>I am a graduate of <a href="https://www.learncodinganywhere.com" target="_blank">The Tech Academy</a>’s Software Developer Boot Camp, and trained and experienced in the following web and programming languages: HTML, CSS, JavaScript, SQL, Python, C# and more.
<br>
<br>I am a full-stack developer and would love to work with you on your project. <a onclick="openForm()" class="contact">Contact</a> me below!
</p>
</div>
</div>

<!-- GitHub -->
<div class="Row" id="GitHub">
<!--Left column-->
<div class="Column_1">
<h1>GitHub</h1>
<p>
You can view my coding projects on my GitHub profile here:
<br>
<p class="center"><a href="https://github.com/ew-aolcc" target="_blank">ew-aolcc Github</a></p>
</p>
</div>
<!--Right column-->
<div class="Column_2">
<a href="https://github.com/ew-aolcc" target="_blank"><img src="images/GitHub.png" alt="GitHub Logo"></a>
</div>
</div>

<!-- Contact form -->
<div id="Contact">
<button onclick="openForm()" class="Pop_Up_Button">CONTACT</button>
<div class="form-popup" id="myForm">
<!-- Formspree handles the submission - the site must be live for this to work -->
<form action="https://formspree.io/info@learncodinganywhere.com" method="POST" class="form-container">
<h1>Contact</h1>
<label for="name"><b>Name</b></label>
<input id="name" type="text" placeholder="Type your name here" name="name" required>
<label for="phone"><b>Phone</b></label>
<input id="phone" type="text" placeholder="Type your phone number here" name="phone">
<label for="email"><b>Email</b></label>
<input id="email" type="text" placeholder="Type your email address here" name="email" required>
<label for="message"><b>Message</b></label>
<input id="message" type="text" placeholder="Type your message here" name="message">

<button type="submit" class="btn">SUBMIT</button>
<button type="button" class="btn cancel" onclick="closeForm()">CLOSE</button>
</form>
</div>
</div>

</main>

<!-- Footer -->
<footer>
<p class="center">&copy Prosper Consulting Inc., <a href="https://www.learncodinganywhere.com/" target="_blank">The Tech Academy</a></p><br>
</footer>
</body>
</html>
54 changes: 54 additions & 0 deletions Javascript_Portfolio/js/portfolio.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// Open and close the contact form
function openForm() {
document.getElementById("myForm").style.display = "block";
}

function closeForm() {
document.getElementById("myForm").style.display = "none";
}

// Show the first slide on page load
var slideIndex = 1;
showSlides(slideIndex);

// Prev/next arrow controls
function plusSlides(n) {
showSlides(slideIndex += n);
}

// Dot navigation
function currentSlide(n) {
showSlides(slideIndex = n);
}

function showSlides(n) {
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");

if (n > slides.length) {
slideIndex = 1;
}
if (n < 1) {
slideIndex = slides.length;
}

for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}

slides[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " active";
}

// Close the contact form when clicking outside it
document.addEventListener("click", function (event) {
if (event.target.matches(".cancel") ||
(!event.target.closest(".form-popup") &&
!event.target.closest(".Pop_Up_Button") &&
!event.target.closest(".contact"))) {
closeForm();
}
}, false);
Loading
Loading