Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. CO@Derek: it doesn't look that similar to me. Yours uses a querySelector and appendChild, whereas mine prefers just using innerHTML. Mine returns an object, and uses a combination of the button's id and a suffix to generate an id, where you use query selectors. Mine is wrapped in a function, yours is not (trivial difference). Honestly, I don't see much alike, with the sole exception that we both use a `span` and `offset*` to detect the coordinates. `offset` isn't really a unique solution, and `span` is just a standard HTML tag which happens to do almost nothing except put the text in an element.
      singulars
    2. CONo no no, I don't mean all those fancy stuff you add in. I mean the *way of getting the coordinates*. I add in a `<span>` to determine the `x` and `y`, and you also add in a `<span>`. Mine uses `querySelector` to get the element, and you also use similar method to get the element.
      singulars
    3. COI will concede the `<span>` point: our codes do look similar in that respect, but I still did not "steal" it from you. `<span>` is not a unique concept or idea, it has been known for quite some time that `<span>` provides an easy way to reference certain parts of text (cf: http://www.w3schools.com/tags/tag_span.asp "manipulate with ... JavaScript" "add a hook to a part of a text" "no visual change"). As for `querySelector`, I do not believe that constitutes as similar. The method of creating a new id for the `span` element doesn't seem similar to querySelector or the syntax for querySelector.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload