From the course: Angular State Management with NgRx

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Challenge: Remove a zip code from the list

Challenge: Remove a zip code from the list - Angular Tutorial

From the course: Angular State Management with NgRx

Challenge: Remove a zip code from the list

(upbeat music) - [Instructor] In this second challenge, you're going to practice a little bit by writing some NgRx code for our weather app. In the previous videos, we created actions and effects to add new ZIP Codes and loads of current conditions. What we're going to do now is figure out how to handle a click on the close button right here for every single location in the app so that it would remove that location from the user interface. Here is a demo of the expected behavior. When I click here, the location just go away and I can just remove all of them from the list like this. I'm not going to give you any hint, but of course I'm expecting you to use NgRx to make it happen. This task should just take a few minutes maximum, so see you in a few minutes for the solution to this second challenge.

Contents