Hello everyone, I am a beginner in Javascript and have successfully created a system that allows me to search and filter users in my data.json file. However, I am now looking to develop an application that can add users to the data.json file. Any advice or guidance on how to achieve this would be greatly appreciated. Thank you in advance, Benjamin
HTML:
<html lang="en">
<head>
<link rel="Stylesheet" href="style.css">
<script src="main.js"></script>
</head>
<body>
<input class="name" placeholder="name">
<input class="email" placeholder="email">
<button class="submit">Add User</button>
</body>
</html>
JSON:
[
{
"id": 1,
"name": "Leanne Gr",
"email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3162585f5254435471504143585d1f53584b">[email protected]</a>"
}
]