DEV Community

Cover image for Adventofcode πŸŽ„ : Day 6 - Forms in React
Jemima M
Jemima M

Posted on

Adventofcode πŸŽ„ : Day 6 - Forms in React

Happy December 6th!! Let's introduce/revise forms in React...

Forms constitute a fundamental component of web applications, serving as a vital channel for user interaction and information acquisition within the application. They not only facilitate user engagement but also play a pivotal role in efficiently collecting valuable data from users.

Here is an example:

<form action={search}>
    <input name="query" />
    <button type="submit">Search</button>
</form>
Enter fullscreen mode Exit fullscreen mode

Without forms, numerous tasks we often take for granted on the webβ€”like logging in, signing up, or making purchasesβ€”would be impossible.

There are some key points about forms in React which I will cover at some point within the Adventofcode!!!

I hope that this has helped and remember....KEEP CODING!!πŸŽ„

Top comments (0)