Why onClick not working?

Hello, why doesn't the onClick event?
class App extends React.Component {
 constructor(props) {
super(props);
 this.id = Date();
}

 handleClick() {
console.log("HandleClick");
}

 render() {
return(
the <div>
 <button onСlick={this.handleClick}>Button</button>
</div>
)
}
}

ReactDOM.render(<App id="hello"/>, document.querySelector('#App'));
March 20th 20 at 11:45
1 answer
March 20th 20 at 11:47
Solution
With - Russian. It's even illumination sees as your IDE should have.
codepen :( thank you - Carlos_Nikolaus42 commented on March 20th 20 at 11:50
Except Russian With perhaps still the case in the loss of context?
class App extends React.Component {
 constructor(props) {
super(props);
 this.id = Date();
 this.handleClick = this.handleClick.bind(this)
}

 handleClick() {
console.log("HandleClick");
}

 render() {
return(
the <div>
 <button onСlick={this.handleClick}>Button</button>
</div>
)
}
}

ReactDOM.render(<App id="hello"/>, document.querySelector('#App'));
- orion.Abshire commented on March 20th 20 at 11:53

Find more questions by tags JavaScriptReact