Example p304

This example demonstrates the Vue directives v-if, v-else-if and v-else.


Temperature: {{ temperature }}°C It's hot! pleasant weather It's cold, stay warm
Rain: {{ rain }}%

Try the following

Icons made by Vitaly Gorbachev from www.flaticon.com
Icons made by Freepik from www.flaticon.com