Vue
Introduction to Vue.js: Directives

Exercise: Using Directives

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

Please be sure to read the README file found in the code sandbox for detailed instructions. You can find the code sandbox for this example here: https://codesandbox.io/s/directives-exercise-1-3gnl0

In this exercise, I want you to make use of all the directives we just went over, and put them into practice. It wont seem like much now, but I want you to create some conditional rendering with divs. Pick your name, your friends name, and your favorite colors. Then, based on the name, show the div highlighted in color like I had it shown in the v-bind video.

 

I finished! On to the next chapter