0% found this document useful (0 votes)
22 views7 pages

Activity 10 12410148

The document is a portfolio webpage for Riwick Smith, a web developer and designer, showcasing his skills, projects, and contact information. It includes sections for an about description, a list of projects with details and statistics, and a contact form. The accompanying CSS styles the layout and design elements for a clean and professional appearance.

Uploaded by

thecreeplost
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views7 pages

Activity 10 12410148

The document is a portfolio webpage for Riwick Smith, a web developer and designer, showcasing his skills, projects, and contact information. It includes sections for an about description, a list of projects with details and statistics, and a contact form. The accompanying CSS styles the layout and design elements for a clean and professional appearance.

Uploaded by

thecreeplost
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Activity 10 – 12410148 -K24GF-B60

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portfolio - Riwick Smith</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Header Section -->
<header>
<h1>Riwick Smith</h1>
<p>Web Developer & Designer</p>
</header>

<!-- Navigation -->


<nav>
<ul>
<li><a href="#">About</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>

<!-- Main Content -->


<main>
<!-- About Section -->
<section id="about">
<h2>About Me</h2>
<p>I am a web developer and designer with a passion for creating
beautiful and functional websites. I specialize in HTML, CSS, JavaScript, and
Responsive Design.</p>
</section>

<!-- Projects Section -->


<section id="projects">
<h2>My Projects</h2>
<div class="project">
<h3>Project 1</h3>
<p>A web-based task management app that I created to help with
daily planning.</p>
</div>
<div class="project">
<h3>Project 2</h3>
<p>An e-commerce website built for a local business for online
sales.</p>
</div>
<h3>Project Statistics</h3>
<table>
<thead>
<tr>
<th>Project</th>
<th>Technologies</th>
<th>Completion Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>Project 1</td>
<td>HTML, CSS, JavaScript</td>
<td>August 2023</td>
</tr>
<tr>
<td>Project 2</td>
<td>React, NodeJS</td>
<td>July 2023</td>
</tr>
</tbody>
</table>
</section>

<!-- Contact Section -->


<section id="contact">
<h2>Contact Me</h2>
<form>
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your
Name">

<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Your
Email">

<label for="message">Message</label>
<textarea id="message" name="message" rows="4"
placeholder="Your Message"></textarea>

<label for="contact-method">Preferred Contact Method</label>


<select id="contact-method" name="contact-method">
<option>Email</option>
<option>Phone</option>
</select>

<button type="submit">Send</button>
</form>
</section>
</main>

<!-- Footer -->


<footer>
<p>&copy; 2024 Riwick Smith. All rights reserved.</p>
</footer>
</body>
</html>

Css:

/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
}

/* Header Section */
header {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
}

header h1 {
margin: 0;
}

header p {
margin: 5px 0 0;
}

/* Navigation */
nav {
background-color: #444;
padding: 10px 0;
text-align: center;
}

nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}

nav ul li {
display: inline-block;
margin: 0 15px;
}

nav ul li a {
color: white;
text-decoration: none;
font-size: 18px;
}

nav ul li a:hover {
text-decoration: underline;
}

/* Main Content */
main {
width: 80%;
margin: 20px auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* About Section */
#about {
margin-bottom: 40px;
}

#about h2 {
font-size: 26px;
color: #333;
margin-bottom: 15px;
}

#about p {
font-size: 18px;
line-height: 1.6;
}

/* Projects Section */
#projects {
margin-bottom: 40px;
}
#projects h2 {
font-size: 26px;
color: #333;
margin-bottom: 15px;
}

.project {
margin-bottom: 20px;
}

.project h3 {
font-size: 22px;
}

.project p {
font-size: 16px;
line-height: 1.4;
}

/* Projects Table */
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}

table th, table td {


border: 1px solid #ddd;
padding: 10px;
text-align: center;
}

table th {
background-color: #f4f4f4;
}

table td {
background-color: #fafafa;
}

/* Contact Section */
#contact h2 {
font-size: 26px;
color: #333;
margin-bottom: 20px;
}

form {
display: flex;
flex-direction: column;
}

form label {
margin-bottom: 5px;
font-size: 16px;
}

form input, form textarea, form select {


margin-bottom: 15px;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 3px;
}

form button {
padding: 10px;
background-color: #28a745;
color: white;
border: none;
border-radius: 3px;
cursor: pointer;
font-size: 16px;
}

form button:hover {
background-color: #218838;
}

/* Footer */
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
margin-top: 40px;
position: relative;
bottom: 0;
width: 100%;
}

footer p {
margin: 0;
}
Output:

You might also like