Skip to content

Commit

Permalink
exercise added
Browse files Browse the repository at this point in the history
  • Loading branch information
Asabeneh committed Oct 8, 2020
1 parent 79a1769 commit 8f8c6fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 08_Day_States/08_states.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,14 @@ I believe now you have a very good understanding of state. After this, we will u

### Exercise: Level 2

1. Use React state to change the background of the page. You can use this technique to apply a dark mode for your portfolio.

![Change Background](../images/08_day_changing_background_exercise.gif)

2. After long time of lock down you may think of travelling and you do not know where to go. Then make use of this random country selector to select your holiday destination.

![Change Background](../images/08_day_select_country_exercise.gif)

🎉 CONGRATULATIONS ! 🎉

[<< Day 7](../07_Day_Class_Components/07_class_components.md) | [Day 9 >>](../09_Day_Conditional_Rendering/09_conditional_rendering.md)
Binary file added images/08_day_select_country_exercise.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8f8c6fd

Please sign in to comment.