Redundant code in electronjs

I am building an offline app that doesn’t need to an internet connection. I created page.html with a lot of buttons. they are the same, they look like redundant code because I need 10 buttons and it doesn’t make sense repeat 10 times to create 10 buttons. what the best method to do that? Is to use normal javascript looping or in the electron app renderer process has a method for dealing with it?

Hello @khaldon,
I don’t think that Electron app renderer “exist”. Electron is just a chrome web browser container.
I don’t really understand what your buttons do so if you could give us more details that could help more.