Angular
Let's Code Together - Refactoring Flopnames

Log out the Tile Type

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

In this video

We log out the tile on click.

Assignment: Fix the background display
  1. Create a new displayClass property on the Tile type.
  2. Default this new property to an empty string when creating tiles in the game service.
  3. In selectTile, copy the tileType value into the displayClass property
  4. Bind the class attribute of each grid tile to this new displayClass property
 

I finished! On to the next chapter