Assignment 1
Assignment 1
USN: 1MJ22IS077
Class: ISE-6B
Full Stack Assignment 1
Index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
/* Internal CSS */
.nav-links {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
}
.nav-links li {
margin: 0 15px;
.profile-section {
text-align: center;
margin: 40px 0;
</style>
</head>
<body>
<header>
<h1>Prajwal Singh</h1>
<nav>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="education.html">Education</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section class="profile-section">
<h2>Engineering Student</h2>
<p>Welcome to my portfolio website!</p>
</section>
<section>
<h2>About Me</h2>
</section>
</main>
<footer>
</footer>
</body>
</html>
About.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<header>
<h1>About Me</h1>
<nav>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="education.html">Education</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section>
<h2>Who am I?</h2>
<h3>Personal Information</h3>
<h3>My Interests</h3>
<p>As a <sub>student</sub> of <sup>engineering</sup>, I am passionate about
technology and innovation.</p>
<blockquote>
</blockquote>
<h3>Technical Skills</h3>
<h3>Hobbies</h3>
<hr>
<address>
Bangalore, India
</address>
</section>
</main>
<footer>
</footer>
</body>
</html>
Education.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<header>
<h1>Education</h1>
<nav>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="education.html">Education</a></li>
<li><a href="projects.html">Hobbies & Interests</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section>
<ol>
</ol>
<ul>
<li>Web Development
<ul>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
</ul>
</li>
<li>Database Management</li>
<li>Engineering Mathematics</li>
</ul>
<ul>
<li>Technical Skills
<ol>
<li>Programming
<ul>
<li>Frontend Development</li>
<li>Backend Development</li>
</ul>
</li>
<li>Problem Solving</li>
<li>Data Analysis</li>
</ol>
</li>
<li>Soft Skills
<ol>
<li>Communication</li>
<li>Teamwork</li>
<li>Time Management</li>
</ol>
</li>
</ul>
<h3>Definition List - Academic Terms</h3>
<dl>
<dt>B.E.</dt>
<dt>CGPA</dt>
<dt>Semester</dt>
<dt>Project</dt>
</dl>
</section>
</main>
<footer>
</footer>
</body>
</html>
Projects.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
table {
border-collapse: collapse;
width: 90%;
th, td {
padding: 8px;
text-align: left;
th {
background-color: #f2f2f2;
.rating {
font-weight: bold;
color: # 9800;
.genre {
font-style: italic;
color: #555;
</style>
</head>
<body>
<header>
<nav>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="education.html">Education</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section>
<table>
<caption>Favorite Movies</caption>
<thead>
<tr>
<th>Title</th>
<th>Genre</th>
<th>Year</th>
<th>Director</th>
<th>Rating</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2">2019</td>
<td>John Doemann</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td>Consectetur Adipiscing</td>
<td class="genre">Drama</td>
<td colspan="2">1994</td>
<td class="rating">4.5/5</td>
</tr>
<tr>
<td>Action</td>
<td rowspan="3">2001</td>
</tr>
<tr>
<td>Adventure</td>
</tr>
<tr>
<td>Fantasy</td>
</tr>
<tr>
<td colspan="2">2015</td>
<td class="rating">4.2/5</td>
</tr>
</tbody>
<tfoot>
<tr>
</tr>
</tfoot>
</table>
<h3>Reading List</h3>
<table>
<thead>
<tr>
<th>Book Title</th>
<th>Author</th>
<th>Genre</th>
</tr>
</thead>
<tbody>
<tr>
<td>Philosophy</td>
</tr>
<tr>
<td>Seneca Ipsum</td>
<td>Self-Help</td>
</tr>
<tr>
<td>Fiction</td>
</tr>
<tr>
<td>Mystery</td>
</tr>
<tr>
</tr>
</tbody>
</table>
</section>
</main>
<footer>
</footer>
</body>
</html>
Contact.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
.form-group {
margin-bottom: 15px;
label {
display: block;
margin-bottom: 5px;
width: 100%;
padding: 8px;
border-radius: 4px;
button {
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
button:hover {
background-color: #45a049;
</style>
</head>
<body>
<header>
<h1>Contact Me</h1>
<nav>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="education.html">Education</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section>
<h2>Get in Touch</h2>
<div class="form-group">
<label for="name">Name:</label>
</div>
<div class="form-group">
<label for="email">Email:</label>
</div>
<div class="form-group">
<label for="phone">Phone:</label>
</div>
<div class="form-group">
<label for="subject">Subject:</label>
<option value="feedback">Feedback</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<label for="contactEmail">Email</label>
<label for="contactPhone">Phone</label>
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
</section>
</main>
<footer>
<script>
document.getElementById('contactForm').addEventListener('submit',
function(event) {
event.preventDefault();
});
</script>
</footer>
</body>
</html>
Style.css
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body {
line-height: 1.6;
color: #333;
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 30px;
padding-bottom: 20px;
h1, h2, h3 {
margin-bottom: 15px;
p{
margin-bottom: 10px;
a{
color: #0066cc;
text-decoration: none;
a:hover {
text-decoration: underline;
.nav-links {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
margin: 15px 0;
.nav-links li {
margin: 0 15px;
section {
margin-bottom: 30px;
footer {
text-align: center;
margin-top: 30px;
padding-top: 20px;
font-size: 0.9em;
.nav-links {
flex-direction: column;
align-items: center;
}
.nav-links li {
margin: 5px 0;