I need to create 3 buttons in javascript in such a way that when the page is reloaded, each button is assigned a number from 1 to 3 so that later those buttons call another function. I do not hear anything. Just make a button randomly have a number from 1 to 3 but when they are 3 and do not repeat the plan that the button 1 if you have 1 do not have the 2 or 3 and so with the other buttons . If anyone knows how I could do it or explain a bit the logic that must be followed because the truth is very grated