• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 364
  • Last Modified:

text input canvas


Is it easy to place text input boxes in a canvas with JS or is it easier to use html input boxes and the canvas separately?

I need an textbox to enter numbers and the canvas to process this information and make calculations.
1 Solution
It's definitely better, easier and much more semantic to use input boxes outside of the canvas area. The canvas element is used to draw graphics and using it to draw other HTML elements is just a bad idea all the way around.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now