pull/131/merge
Samson Adesanoye 7 months ago committed by GitHub
commit 92ed77d586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -201,8 +201,6 @@ class App extends React.Component {
} }
render() { render() {
// accessing the state value
const count = this.state.count
return ( return (
<div className='App'> <div className='App'>
<h1>30 Days Of React</h1> <h1>30 Days Of React</h1>

@ -48,7 +48,7 @@ Event handling in HTML
<title>30 Days Of React App</title> <title>30 Days Of React App</title>
</head> </head>
<body> <body>
<button>onclick="greetPeople()">Greet People</button> <button onclick="greetPeople()">Greet People</button>
<script> <script>
const greetPeople = () => { const greetPeople = () => {
alert('Welcome to 30 Days Of React Challenge') alert('Welcome to 30 Days Of React Challenge')

Loading…
Cancel
Save