Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Else-if of vue

<ul>
 <li v-for="(skill, i) in skills" :key="skill.name">
   <p>
    {{i+1}}. {{ skill.name }}-
     <span v-if="skill.experience<4">Beginner</span>
     <span v-else-if="skill.experience<6">Proficient</span>
     <span v-else Expert</span>
   </p>
 </li>
</ul>
 
PREVIOUS NEXT
Tagged: #vue
ADD COMMENT
Topic
Name
5+2 =