---
title: "Comment by Jordan Brennan on \"A practical guide to built-in web APIs\" | Hashnode"
description: "WebOTP API is super interesting. Gonna read more about that, thanks! Btw, const form = input.closest(&quot;form&quot;) can be replaced with input.form (all form"
url: "https://hashnode.com/posts/a-practical-guide-to-built-in-web-apis/646be77ba90ddd451a4b9ac2/comment/646da43c9098493346f6f65f"
---

[Discussion](https://hashnode.com/posts/a-practical-guide-to-built-in-web-apis/646be77ba90ddd451a4b9ac2)

Comment [A practical guide to built-in web APIs](https://hashnode.com/posts/a-practical-guide-to-built-in-web-apis/646be77ba90ddd451a4b9ac2)

[Jordan Brennan](https://hashnode.com/@jfbrennan)

[May 24, 2023](https://hashnode.com/posts/a-practical-guide-to-built-in-web-apis/646be77ba90ddd451a4b9ac2/comment/646da43c9098493346f6f65f)

WebOTP API is super interesting. Gonna read more about that, thanks!

Btw, `const form = input.closest("form")` can be replaced with `input.form` (all form controls have a `form` property that is the form element they belong to).

[Emmanuel Aiyenigba](https://hashnode.com/@EmmanuelTheCoder)

[May 24, 2023](https://hashnode.com/posts/a-practical-guide-to-built-in-web-apis/646be77ba90ddd451a4b9ac2/comment/646da43c9098493346f6f65f#reply-646da54df376a53f4d0ae4c0)

Thanks for the addition, Jordan. Glad you found the article helpful.
