Skip to content

Commit

Permalink
Merge pull request mdn#423 from yusif-a/patch-1
Browse files Browse the repository at this point in the history
The value 255 was excluded
  • Loading branch information
hamishwillee authored Nov 22, 2021
2 parents 11e5f55 + d139d5f commit ef043fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/building-blocks/events/useful-eventtarget.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

function bgChange() {
const rndCol = 'rgb(' + random(255) + ',' + random(255) + ',' + random(255) + ')';
const rndCol = 'rgb(' + random(256) + ',' + random(256) + ',' + random(256) + ')';
return rndCol;
}

Expand Down

0 comments on commit ef043fc

Please sign in to comment.