+ 1
Need help with code - Other Shape Elements (HTML5)
can someone help me? I rewrote the code from the example but nothing is showing. What did I do wrong? <!DOCTYPE HTML> <html> <head><title>Other Shape Elements - Line</title></head> <body> <svg width="400" height="410"> <line x1="10" y1="10" x2="200" y2="100" style="stroke:#000000; stroke-linecap:round; stroke-width:20" /> </svg> </body> </html> Same issue when I try rectangle and ployline (code for shapes from the example in HTML5 course).
5 ответов
+ 4
No error is found. It works🚩
+ 1
But i still see nothing in my browser. What else could be the problem?
0
I tried it on both Firefox (version 59.0.2) and Chrome (version 66
0.3359.117) and it still doesnt show anything. In the caniuse.com website it shows that these versions are compatible.