title: How can I place an image with the onclick() function from JS
body: <p>So I think I know how to do it. I need to get the coordinates of the cursor when the <code>onclick()</code> function is called. The thing is, I'm not sure how I can create a new image when I click. I'm sorry for not showing my attempts. They exist, but basically do nothing. Does anyone know how to do this? Thanks.</p>
  
  <p>edit: Note that the images can't be there to begin with. They have to be created on click.</p>