SVG Basics Quiz

Complete this assessment with 100% score to master this chapter.

01What does the viewBox attribute on an <svg> element control?

02Which SVG element is the most powerful for drawing any custom shape?

03How do you make an SVG icon inherit its colour from the surrounding CSS text colour?

04Which attributes make a decorative SVG icon invisible to screen readers?

05Why must you use createElementNS (not createElement) when creating SVG elements with JavaScript?