ランダムゲームを<li>
で行うことはできません。各ゲームはユニークでなければなりません。ランダムでユニークな配列の文字列
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>
何が問題なのですか? – Zac
実際に乱数を割り当てるJSはどこですか? – BenM
@BenM私は作ったが、それは正しくないので、私はそれを投稿していない。 –