Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 11_events.md #399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions 11_Day_Events/11_events.md
Expand Up @@ -62,7 +62,7 @@ In React, it is slightly different

```js
import React from 'react'
// if it is functional components
// if it is a functional component
const App = () => {
const greetPeople = () => {
alert('Welcome to 30 Days Of React Challenge')
Expand All @@ -73,7 +73,7 @@ const App = () => {

```js
import React, { Component } from 'react'
// if it is functional components
// if it's a class based component
class App extends Component {
greetPeople = () => {
alert('Welcome to 30 Days Of React Challenge')
Expand Down