jara-git / chat-app

Wild Code School- React #2 exercise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://codesandbox.io/s/github/jara-git/chat-app/tree/contact-state

For the challenge, you'll be able to go back to your chat-app application, started in the React 02 (Component) and 03 (List) quests. You're going to allow the user to change the "online" or "offline" status of a contact

Validation criteria : • Contact is now a class component.

• Its state is initialized in the constructor (either to false, either to the value of the online prop).

• Clicking on the status indicator or on the text changes the value of online in the state.

• The display is updated accordingly.

About

Wild Code School- React #2 exercise


Languages

Language:JavaScript 64.9%Language:CSS 20.6%Language:HTML 14.5%