Tell us what’s happening:
Can anyone help? I think I did everything correct?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const updateScore = (selectedValue, achieved) => {
score = parseInt(selectedValue);
totalScoreElement.textContent = score;
scoreHistory.innerHTML += `
<li>${achieved} : ${selectedValue}</li>
`
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15
Challenge Information:
Review Algorithmic Thinking by Building a Dice Game - Step 9