Hi I'm pretty new to HTML and JavaScript and was curious how to approach making HMTL elements for every item within an array.
An example would be similar to how a reddit page looks where you have a UP and Down vote arrow for every post.
Question 1: If I were to have a list of names and wanted to create a couple buttons, display boxes, and ETC for each item within the list how should I approach it?
Question 2: How would I move all items down every time a new item is added.
Any tips would be great!
Thanks in advance for the help!
Attached is a image similar to what I want to achieve.