I am creating online resume with a free template I downloaded. This template uses bootstrap and displays a progress-bar of my skills. But now I would like these skills to be changed dynamically using JSON.
I created my file :
var Skills = [
{
"title": "Skill 1",
"description": "Skill 1 description",
"value": 100
},
{
"title": "Skill 2",
"description": "Skill 2 description",
"value": 100
}];
So it's easy to display it but I would like to format it using the template.
This is an example from the template :
<div class="progress-item">
<span class="progress-title">Skill 1</span>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="62" aria-valuemin="0" aria-valuemax="100" style="width: 62%"><span class="progress-percent"> 62%</span>
</div>
</div>
</div>
How to do make title from JSON be linked to class="progress-title" I did a fiddle : https://jsfiddle.net/de6f9qwo/37/
Thanks in advance for the help !