how to create 50 html elements with unique ids using javascript code example Example: js random id Math.random().toString(36).slice(2);