// Practice Set · JS Web API · guest

Guest practice: this set is not saved and does not count.

Question 1 of 5 from: JS Fetch API

What does this log?

const r = new Response("hi", { status: 404 });
console.log(r.status, r.ok, r.bodyUsed);
Question 2 of 5 from: JS Geolocation

When is the best moment to ask for the visitor's location?

Question 3 of 5 from: JS Web Pointer

What does the CSS rule touch-action: none do for a drawing area?

Question 4 of 5 from: JS Web Storage

What does this log?

sessionStorage.setItem("demo_t", "1");
console.log(localStorage.getItem("demo_t"), sessionStorage.getItem("demo_t"));
sessionStorage.removeItem("demo_t");
Question 5 of 5 from: JS Web Storage

localStorage is sent to the server automatically with every request, like cookies.

Ready to submit?

Click a question to go back and check it. After you submit, you will see the right answer and an explanation for every question. As a guest, nothing is saved.