User Interface Expert Question:

Explain what is the difference between SVG and <Canvas>?

UI Developer Interview Question
UI Developer Interview Question

Answer:

<Canvas> is an element that manipulates two-dimensional (2D) pixels while Scalable Vector Graphics works in 2D and three-dimensional (3D) vectors. Essentially, <Canvas> is to SVG as Photoshop is to Illustrator.


Previous QuestionNext Question
How to include a comment in JavaScript?What programming language does jQuery use?