M
M
Mark2019-01-01 20:06:00
css
Mark, 2019-01-01 20:06:00

How to open/close a form on click?

Beginner coder, just learning. Educational project.
This hotel search form should be opened/closed by pressing the brown button.
I know it's JS but can't figure out how to do it.
Help!
5c2b9de40b4af860219298.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex4answ, 2019-01-01
@Markus1

click event on button, form display block/none

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question