1<style>
2#icon{
3 font-size:50px;
4 color:red;
5 transition-duration:.6s;
6 }
7</style>
8<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
9
10<i onclick='this.style.color="blue"' id='icon' class='fa fa-home'></i>
11Click the icon.
12