Web Development Ninjas Question:
Download Questions PDF

Tell me what is the difference between SVG and <Canvas>?

Ninjas Web Developer Interview Question
Ninjas Web 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.

Download Ninjas Web Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is $(document).ready() function? Why should you use it?Tell us how do you optimize a website’s assets?