The contacts that never stick
New entries vanish on refresh. The form looks fine. The server looks fine. Neither is.
nodeChewy~25 min
Fresh from the oven
Clone it down and have a look around.
$
git clone https://github.com/loaf-crumbs/disappearing-contacts.gitThe scenario
The contact form submits without any errors, but nothing ever appears in the contacts list. On top of that, any data that does somehow get saved is gone the moment the server restarts.
There are multiple things broken across the client and server.
What done looks like
- Submitting the form adds the contact to the list immediately without a page refresh
- Submitted contacts persist after restarting the server
- The server correctly receives and parses the form data
Stuck?
Peek if you need to — they get more specific as you go.
Taste test
Send it in when you’re ready. We’ll see if it’s tasty.
When you've got the flag, paste it here.
No attempts yet.