1
1
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shortcut Manager</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Hello Prashant!</h1>
<div class="greeting" id="greeting"></div>
<ul id="shortcutList">
<li class="shortcut plus" onclick="openShortcutForm()">+</li>
</ul>
</div>
<!-- Hidden form to add a new shortcut -->
<div id="shortcutForm" class="hidden">
<input type="text" id="shortcutName" placeholder="Shortcut Name">
<input type="text" id="shortcutDomain" placeholder="Domain (e.g.,
google.com)">
<button onclick="addShortcut()">Add Shortcut</button>
</div>
<script src="script.js"></script>
</body>
</html>