I can't get to work a random game per <li>. Each game should be unique.
var randomGames = ['Life is Strange', 'Titanfall', 'Call of Duty', 'Tales from the Borderlands', 'Assassin\'s Creed', 'Tomb Raider', 'FIFA']
<ul class="list-group"><h4>These are the games that James like the most</h4>
<li class="james list-group-item">...</li>
<li class="james list-group-item">...</li>
<li class="james list-group-item">...</li>
</ul>
Aucun commentaire:
Enregistrer un commentaire