tracielin / Gamify_PedECG

An interactive, virtual game experience for learning specific pediatric ECG interpretation skills
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Share with a friend #21

Open tracielin opened 1 month ago

tracielin commented 1 month ago

Maybe instead of a leaderboard --

Button to share to social media. -Share achievement including score -Share achievement without score included

Benefit: Drives traffic to website, increasing its visibility.

tracielin commented 1 month ago

Work in progress:

Gamify_PedECG/playground_copytoclipboard_textonly1.html

tracielin commented 1 month ago

The solution below works for copying an image (from Chrome/Firefox --> text messaging or Gchat). Interestingly, both image and text do actually get copied, as evidenced by Chrome/Firefox copying both image/text into Word. Unclear why the text does not show up when pasting into text/Gchat.

Does not copy from Safari.

https://codepen.io/tkl219/pen/zYVqagd

[Probably use this. Make image itself have text at the bottom spelling out the website. Also have text with the url, knowing it may or may not show up depending on how the user pastes.] +/- separate button for copying only text (using the code in "playground_copytoclipboard_textonly1.html")