You have two input elements on your form - text field and button.
 <input type="text" id="txtBody"/> <input type="button" onclick="btnClick()"/> 
And you need to add a text "clicked" to the text field after clicking on the button. How will you do it?

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по JavaScript
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты