List of link previews

Hey, everyone! I am trying to make a simple page but I am getting stuck.

I would like to create a list of link previews as they are entered into an input.
I’d like the input cleared after pressing ENTER.
Each entry should have a clickable ‘X’ next to it to delete an entry.

I already use the Link_Preview API and that is working fine. How do I create a list of deletable url previews from different links?