--- id: 587d7fad367417b2b2512be1 title: Handle Click Events with JavaScript using the onclick property challengeType: 6 videoUrl: '' localeTitle: 'Ручка Нажмите «События» с помощью JavaScript, используя свойство onclick' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(code.match(/document\.getElementById\(\s*?("|")getMessage\1\s*?\)/g), "Your code should use the document.getElementById method to select the getMessage element.");' - text: '' testString: 'assert(typeof document.getElementById("getMessage").onclick === "function", "Your code should add an onclick event handler.");' ```
## Challenge Seed
```html

Cat Photo Finder

The message will go here

```
## Solution
```js // solution required ```