O'Reilly logo

The Majesty of Vue.js by Kostas Maniatis, Alex Kyriakidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Homework

A more fun but maybe tricky exercise for this chapter. Create an input where the user can choose a color. When a color is chosen, apply it to the body. That's it, let's paint!! :)

Tip

You could use input type="color" for your ease (supported in most browsers).

Homework

Example output

You can find a potential solution to this exercise at https://goo.gl/h4ClSf.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required