Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Final submission
  • Loading branch information
AsciencioAlex authored Jul 3, 2024
1 parent 8a852f5 commit 6a1e11e
Show file tree
Hide file tree
Showing 4 changed files with 233 additions and 0 deletions.
Binary file added Alex.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Tech Goals</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>My Tech Goals for the Next 2 Years</h1>
</header>
<main>
<section id="intro" class="container">
<div class="profile">
<img src="path_to_your_image.jpg" alt="Slack Profile Picture" data-testid="slackProfilePicture" id="profilePicture">
</div>
<div class="details">
<div class="detail-item" data-testid="slackDisplayName">
<strong>Slack Display Name:</strong> <span id="displayName">Alex Asciencio</span>
</div>
<div class="detail-item" data-testid="currentTimeUTC">
<strong>Current Time (UTC):</strong> <span id="currentTime">Tue, 02 Jul 2024 20:42:32 GMT</span>
</div>
<div class="detail-item" data-testid="currentDay">
<strong>Current Day of the Week:</strong> <span id="currentDay">Tuesday</span>
</div>
<div class="detail-item" data-testid="slackEmail">
<strong>Slack Email:</strong> <span id="email">asciencioalex@gmail.com</span>
</div>
</div>
</section>
<section id="goals" class="container">
<h2>My Tech Goals</h2>
<ul>
<li>Goal 1: Master and Build Mobile applications using Flutter and Kotlin</li>
<li>Goal 2: Contribute to open source projects</li>
<li>Goal 3: Obtain certifications related to Software development</li>
<li>Goal 4: Improve my data structures and algorithms knowledge</li>
</ul>
</section>
<section id="links" class="container">
<h2>Useful Links</h2>
<div class="links">
<a href="https://hng.tech/learn" data-testid="hngLink">HNG Learn</a>
<a href="https://keyword.dog" data-testid="keywordLink">Keyword Dog</a>
<a href="https://scrapeanyweb.site" data-testid="scrapeanywebLink">Scrape Any Web</a>
</div>
</section>
</main>
<footer>
<p>&copy; 2024 Alex Asciencio. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html>
22 changes: 22 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
window.onload = function() {
// Set your Slack details
const slackDisplayName = "Alex Asciencio";
const slackEmail = "asciencioalex@gmail.com";
const slackProfilePicture = "Alex.jpg";

// Display Slack details
document.getElementById('displayName').textContent = slackDisplayName;
document.getElementById('email').textContent = slackEmail;
document.getElementById('profilePicture').src = slackProfilePicture;

// Display current time in UTC
function updateTime() {
const now = new Date();
const utcString = now.toUTCString();
document.getElementById('currentTime').textContent = utcString;
document.getElementById('currentDay').textContent = now.toLocaleDateString('en-US', { weekday: 'long' });
}

updateTime();
setInterval(updateTime, 1000);
}
155 changes: 155 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
/* General Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
background-color: #f4f4f4;
color: #333;
}

header {
background-color: #4CAF50;
color: white;
padding: 20px;
width: 100%;
text-align: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease-in-out;
}

header h1 {
margin: 0;
}

main {
width: 100%;
max-width: 900px;
margin: 20px auto;
padding: 20px;
background: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}

.container {
margin-bottom: 40px;
transition: all 0.3s ease-in-out;
}

.profile {
display: flex;
justify-content: center;
margin-bottom: 20px;
}

.profile img {
width: 150px;
height: 150px;
border-radius: 50%;
display: block;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
}

.profile img:hover {
transform: scale(1.1);
}

.details {
text-align: center;
margin-top: 20px;
display: flex;
flex-direction: column;
align-items: center;
}

.detail-item {
margin: 10px 0;
font-size: 1.2em;
font-weight: 600;
display: flex;
justify-content: center;
align-items: center;
}

.detail-item strong {
margin-right: 10px;
font-weight: 700;
color: #4CAF50;
}

#goals h2, #links h2 {
text-align: center;
color: #4CAF50;
margin-bottom: 20px;
}

#goals ul {
list-style-type: disc;
padding-left: 20px;
line-height: 1.6;
}

#links .links {
display: flex;
justify-content: center;
flex-wrap: wrap;
}

#links .links a {
display: inline-block;
margin: 10px;
padding: 10px 15px;
background: #4CAF50;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#links .links a:hover {
background: #45a049;
transform: translateY(-3px);
}

footer {
background-color: #333;
color: white;
padding: 10px;
width: 100%;
text-align: center;
position: fixed;
bottom: 0;
left: 0;
}

footer p {
margin: 0;
}

@media (max-width: 600px) {
header, footer {
padding: 10px;
}

main {
padding: 10px;
}

.profile img {
width: 100px;
height: 100px;
}

.details p {
font-size: 1em;
}

#links .links a {
margin: 5px;
padding: 8px 10px;
}
}

0 comments on commit 6a1e11e

Please sign in to comment.