Skip to content
Open
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
20 changes: 20 additions & 0 deletions Chahak Agrawal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# About Project

UBA-User Beaviour Analysis

Bascic frontend project.
It tracks activity on user page-like clicks,time spent,no of sessions,time sepnt per sections,etc.
It stores all the activity in the admin side .

# Files in the project

index.html-sample user page-where actuvity is going to be tracked|||
admin-login.html-a page to login as admin|||
admin.html-the admin page that shows the dsahboard for all the activities done at index(i,e; user page) with different features for anylaysis of the all the data|||
tracker.js-handling the working of the features

# Tech Used
HTMl
JS


20 changes: 20 additions & 0 deletions Chahak Agrawal/admin-login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head><title>Admin Login</title></head>
<body>
<h2>🔐 Admin Login</h2>
<input type="password" id="pass" placeholder="Enter password">
<button onclick="login()">Login</button>

<script>
function login() {
const pass = document.getElementById('pass').value;
if (pass === 'Chahak24') { // Replace with your password
window.location.href = 'admin.html'; // Redirect to admin panel
} else {
alert('Wrong password');
}
}
</script>
</body>
</html>
Loading