Jump to content

drawing on a webpage using javascript

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
ged25

ged25

    Learning Programmer

  • Members
  • PipPipPip
  • 51 posts
I want a webpage (initially blank) where the user can click anywhere. When the user clicks, a point will appear and its co-ordinates (program will calculate it).
Can this be done in javascript and if so how ?

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
The canvas element, in HTML5.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.