0

What's wrong with my code? I want to create a rectangle and a circle, and another question is how I put text into an avg object?

svg, text, shapes

24th Feb 2017, 9:48 AM
Dat Mop
Dat Mop - avatar
2 Respuestas
+ 2
Your code works as expected: you define two svg containers, with big sizes, so you must scroll down the page to see you second shape... You need to place shapes in once svg container if you want draw them together ^^ Text is a shape available as svg element... Check this code to see how: https://code.sololearn.com/WOrLOi09pA1s/?ref=app ( not necessary to put a background image, obviously ;) )
24th Feb 2017, 10:01 AM
visph
visph - avatar
0
oh thank you,I've found my circle, lol
24th Feb 2017, 10:07 AM
Dat Mop
Dat Mop - avatar