Thanks to visit codestin.com
Credit goes to www.scribd.com

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

Activity 10

dfdf

Uploaded by

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

Activity 10

dfdf

Uploaded by

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

<html>

<head>

<title>Riwick Smith - Web Developer & Designer</title>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/


all.min.css">

<style>

body {

font-family: Arial, sans-serif;

margin: 0;

padding: 0;

background-color: #f9f9f9;

.header {

background-color: #666;

color: white;

padding: 20px;

text-align: center;

.header h1 {

margin: 0;

font-size: 36px;

.header p {

margin: 0;

font-size: 18px;

.nav {

background-color: #333;

overflow: hidden;

.nav a {
float: left;

display: block;

color: white;

text-align: center;

padding: 14px 16px;

text-decoration: none;

.nav a:hover {

background-color: #ddd;

color: black;

.container {

padding: 20px;

.section-title {

color: #d9534f;

font-size: 24px;

margin-bottom: 10px;

.section-content {

margin-bottom: 20px;

.project {

border: 1px solid #ddd;

padding: 10px;

margin-bottom: 10px;

.project h3 {

margin-top: 0;

.project p {
margin: 0;

.table-container {

margin-bottom: 20px;

table {

width: 100%;

border-collapse: collapse;

th, td {

border: 1px solid #ddd;

padding: 8px;

text-align: left;

th {

background-color: #f2f2f2;

.contact-form {

margin-bottom: 20px;

.contact-form label {

display: block;

margin-bottom: 5px;

.contact-form input[type="text"],

.contact-form input[type="email"] {

width: 100%;

padding: 8px;

margin-bottom: 10px;

border: 1px solid #ddd;

border-radius: 4px;
}

.contact-form input[type="radio"] {

margin-right: 5px;

.contact-form input[type="checkbox"] {

margin-right: 5px;

.contact-form button {

background-color: #333;

color: white;

padding: 10px 20px;

border: none;

border-radius: 4px;

cursor: pointer;

.contact-form button:hover {

background-color: #555;

.footer {

background-color: #666;

color: white;

text-align: center;

padding: 10px;

position: fixed;

bottom: 0;

width: 100%;

</style>

</head>

<body>

<div class="header">
<h1>Riwick Smith</h1>

<p>Web Developer & Designer</p>

</div>

<div class="nav">

<a href="#">About</a>

<a href="#">Projects</a>

<a href="#">Contact</a>

</div>

<div class="container">

<div class="section-content">

<h2 class="section-title">About Me</h2>

<p>Hello! I'm Riwick Smith, a passionate web developer with a love for creating beautiful and
functional websites. I have experience in HTML, CSS, JavaScript, and more.</p>

</div>

<div class="section-content">

<h2 class="section-title">My Projects</h2>

<div class="project">

<h3>Project 1</h3>

<p>A description of Project 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

</div>

<div class="project">

<h3>Project 2</h3>

<p>A description of Project 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

</div>

</div>

<div class="section-content table-container">

<h2 class="section-title">Project Statistics</h2>

<table>

<tr>

<th>Project</th>

<th>Technologies</th>
<th>Completion Date</th>

</tr>

<tr>

<td>Project 1</td>

<td>HTML, CSS, JavaScript</td>

<td>June 2024</td>

</tr>

<tr>

<td>Project 2</td>

<td>React, Node.js</td>

<td>August 2024</td>

</tr>

</table>

</div>

<div class="section-content contact-form">

<h2 class="section-title">Contact Me</h2>

<form>

<label for="name">Name:</label>

<input type="text" id="name" name="name">

<label for="email">Email:</label>

<input type="email" id="email" name="email">

<label>Preferred Contact Method:</label>

<input type="radio" id="emailContact" name="contactMethod" value="email">

<label for="emailContact">Email</label>

<input type="radio" id="phoneContact" name="contactMethod" value="phone">

<label for="phoneContact">Phone</label>

<br>

<input type="checkbox" id="newsletter" name="newsletter">

<label for="newsletter">Subscribe to newsletter</label>

<br>

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

</div>

</div>

<div class="footer">

<p>© 2024 Riwick Smith. All rights reserved.</p>

</div>

</body>

</html>

You might also like