Skip to content

wdi-sg/morning-warmup-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

React State Practice

Create a react app that displays all the student names, where the following happens:


1.

If you click on a name:


2.

If you right click on a name:


3.

If you double click on a name:


4.

  • the message STOP IT!!! disappears after a second and the name goes back to black.

for your intial state use the following image : (https://cdn0.iconfinder.com/data/icons/characters-2-2-outlined/227/hulk-superhero-marvel-character-avatar-smileface-profile-512.png)

note The css file(index.css) and the student names(students.js) have been created for you ! in your newly created component , wrap the element with the following div tags

 <div className="container">
        <div className="card">
          <li>
               code goes here
         </li>
        </div>
</div>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published