---
title: "Discussion on \"Should I put my input and button in a form?\" | Hashnode"
description: "Discussion on \"Should I put my input and button in a form?\". This is what I found myself trying to find out this week.\nThe set up\nI have an input element and button. When you type in the input and press the button it goes and fetches data from an API, using what you type as a search. Well, it will eventually, ..."
url: "https://hashnode.com/posts/should-i-put-my-input-and-button-in-a-form/6096b7ef1ea29f2c341e03fe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Should I put my input and button in a form?](https://blog.nicm42.me.uk/should-i-put-my-input-and-button-in-a-form?utm_source=hashnode&utm_medium=feed)

This is what I found myself trying to find out this week. The set up I have an input element and button. When you type in the input and press the button it goes and fetches data from an API, using what you type as a search. Well, it will eventually, ...

May 8, 2021 · 3 min read · blog.nicm42.me.uk  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#forms](https://hashnode.com/tag/forms)

## Written by

[Nic](https://hashnode.com/@nicm42)

@nicm42 · England

  
[View profile](https://hashnode.com/@nicm42)

This week I learnt...

Front End Developer. I like problem solving and making things pretty. I also like red.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
