Skip to content
Open

LMS #80

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
102 changes: 0 additions & 102 deletions README.md

This file was deleted.

30 changes: 0 additions & 30 deletions course-content.html

This file was deleted.

64 changes: 64 additions & 0 deletions coursecontent.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Course Content - My Website</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>

<!-- Navigation bar -->
<nav>
<a href="index.html">Home</a>
<a href="coursecontent.html">Course Content</a>
<a href="leaderboard.html">Leader Board</a>
<a href="dashboard.html">Dashboard</a>
</nav>

<!-- Course Content Section -->
<div class="course-content-container">
<h1>Software Design</h1>
<p>This course covers the principles and practices of software design, including design patterns, object-oriented design, and software architecture.</p>

<!-- Enrollment Section -->
<div class="enrollment-container">
<h2>Enroll in this Course</h2>
<form action="/enroll" method="POST">
<label for="enroll-name">Full Name:</label>
<input type="text" id="enroll-name" name="name" required><br>

<label for="enroll-email">Email:</label>
<input type="email" id="enroll-email" name="email" required><br>

<button type="submit">Enroll</button>
</form>
</div>

<!-- Course Materials -->
<div class="materials-container">
<h2>Course Materials</h2>
<div class="material">
<h3>Module 1: Introduction to Software Design</h3>
<p>In this module, you will learn about the basics of software design, including the importance of design patterns and software architecture.</p>
<img src="images/software-design-intro.jpg" alt="Introduction to Software Design">
</div>

<div class="material">
<h3>Module 2: Object-Oriented Design</h3>
<p>This module covers object-oriented design principles, such as encapsulation, inheritance, and polymorphism.</p>
<img src="images/object-oriented-design.jpg" alt="Object-Oriented Design">
</div>

<div class="material">
<h3>Module 3: Design Patterns</h3>
<p>Learn about various design patterns, including Singleton, Factory, and Observer patterns, and how to implement them.</p>
<img src="images/design-patterns.jpg" alt="Design Patterns">
</div>

<!-- Add more modules and materials as needed -->
</div>
</div>

</body>
</html>
56 changes: 32 additions & 24 deletions dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,39 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard</title>
<link rel="stylesheet" href="styles.css"> <!-- Include your CSS file -->
<title>Dashboard - Learning management system</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Welcome to Your Dashboard</h1>
<nav>
<ul>
<li><a href="/leaderboard">Leaderboard</a></li>
<li><a href="/course-content">Course Content</a></li>
<!-- Add more navigation links as needed -->
</ul>
</nav>
</header>
<main>
<section class="welcome-message">
<h2>Hello, <span id="user-fullname"></span>!</h2>
<p>Welcome to your personalized dashboard.</p>
</section>
</main>
<footer>
<p>&copy; 2024 Your LMS</p>
</footer>

<!-- Include your client-side JavaScript file -->
<script src="script.js"></script>
<!-- Navigation bar -->
<nav>
<a href="index.html">Home</a>
<a href="coursecontent.html">Course Content</a>
<a href="leaderboard.html">Leader Board</a>
<a href="dashboard.html">Dashboard</a>
</nav>

<!-- Dashboard Content -->
<div class="dashboard-container">
<div class="user-info">
<h2>Welcome, [Username]</h2>
<p>Email: [[email protected]]</p>
<form action="/logout" method="POST">
<button type="submit">Logout</button>
</form>
</div>

<div class="courses-container">
<h2>Current Courses</h2>
<div class="course">
<h3>Software Design</h3>
<p>This course covers the principles and practices of software design, including design patterns, object-oriented design, and software architecture.</p>
<button onclick="window.location.href='course-content.html'">View Course</button>
</div>
<!-- Add more courses as needed -->
</div>
</div>

</body>
</html>
</html>
74 changes: 54 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,62 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Learning Management App</title>
<link rel="stylesheet" href="style.css">
<title>Learning management system</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Learning Management App</h1>
<form id="register-form">

<!-- Navigation bar -->
<nav>
<a href="index.html">Home</a>
<a href="coursecontent.html">Course Content</a>
<a href="leaderboard.html">Leader Board</a>
<a href="dashboard.html">Dashboard</a>
</nav>
<!-- Course Section -->
<div class="course-container">
<h2>Software Design Course</h2>
<p>This course covers the principles and practices of software design, including design patterns, object-oriented design, and software architecture.</p>
</div>

<!-- Registration Form -->
<div class="form-container">
<h2>Register</h2>
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<input type="email" name="email" placeholder="Email" required>
<input type="text" name="full_name" placeholder="Full Name" required>
<button type="submit">Register</button>
</form>
<form id="login-form">
<form action="/register" method="POST">
<label for="reg-username">Username:</label>
<input type="text" id="reg-username" name="username" required><br>

<label for="reg-email">Email:</label>
<input type="email" id="reg-email" name="email" required><br>

<label for="reg-password">Password:</label>
<input type="password" id="reg-password" name="password" required><br>

<button type="submit">Register</button>
</form>
</div>

<!-- Login Form -->
<div class="form-container">
<h2>Login</h2>
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
<form id="logout-form">
<button type="submit">Logout</button>
</form>
<script src="script.js"></script>
<form action="/login" method="POST">
<label for="login-username">Username:</label>
<input type="text" id="login-username" name="username" required><br>

<label for="login-password">Password:</label>
<input type="password" id="login-password" name="password" required><br>

<button type="submit">Login</button>
</form>
</div>

<!-- Logout Form -->
<div class="form-container">
<h2>Logout</h2>
<form action="/logout" method="POST">
<button type="submit">Logout</button>
</form>
</div>

</body>
</html>
</html>
30 changes: 0 additions & 30 deletions leader-board.html

This file was deleted.

Loading