diff --git a/public/index.html b/public/index.html index 3e2d875..8a9e578 100644 --- a/public/index.html +++ b/public/index.html @@ -114,7 +114,7 @@
fetch('https://jsonplaceholder.typicode.com/todos/1')
.then(response => response.json())
- .then(json => console.log(json))
+ .then(data => console.log(data))