Calculator Tools Calculator Tools

Attendance System

Nov 15, 2023

About this app

An intermediate table for a many-to-many and one-to-many attendance system

Attendance System Attendance System - Intermediate Table Student ID Student Name Class ID Class Name Date Attendance 1 John Doe 1 Math 2021-09-01 Present 2 Jane Smith 1 Math 2021-09-01 Absent 3 Mark Johnson 2 Science 2021-09-02 Present 4 Sarah Brown 2 Science 2021-09-02 Present

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>Attendance System</title>
<meta name="description" content="An intermediate table for a many-to-many and one-to-many attendance system">
<meta name="keywords" content="attendance, system, intermediate table, many-to-many, one-to-many">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">

<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.

// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {

});

} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
/* App CSS Goes Here */
body {
font-family: 'Roboto', sans-serif;
}

h1 {
font-size: 24px;
margin-top: 40px;
}

table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}

th, td {
padding: 10px;
text-align: left;
}

th {
background-color: #e8e8e8;
font-weight: bold;
}

tr:nth-child(even) {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Attendance System - Intermediate Table</h1>

<table>
<thead>
<tr>
<th>Student ID</th>
<th>Student Name</th>
<th>Class ID</th>
<th>Class Name</th>
<th>Date</th>
<th>Attendance</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>John Doe</td>
<td>1</td>
<td>Math</td>
<td>2021-09-01</td>
<td>Present</td>
</tr>
<tr>
<td>2</td>
<td>Jane Smith</td>
<td>1</td>
<td>Math</td>
<td>2021-09-01</td>
<td>Absent</td>
</tr>
<tr>
<td>3</td>
<td>Mark Johnson</td>
<td>2</td>
<td>Science</td>
<td>2021-09-02</td>
<td>Present</td>
</tr>
<tr>
<td>4</td>
<td>Sarah Brown</td>
<td>2</td>
<td>Science</td>
<td>2021-09-02</td>
<td>Present</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>