Exercise 8 | 20 mins

<aside> 💡 A free and easy key-value server storage you can use for this exercise is https://kvdb.io/

</aside>

kvbd: how to

fetch("<https://kvdb.io/>[your api key]/count", { 
	method: "POST", 
	body: "the value to store" 
});
fetch("<https://kvdb.io/>[your api key]/count").then((res) => await res.json())

✅ When complete you should be able to create an increment button (and a decrement if you’d like) whose value persists to the server and persists between page loads

inc-dec.gif