Please I am trying to learn paths in html and it is proving difficult to me . Could someone please explain how to create paths? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Please I am trying to learn paths in html and it is proving difficult to me . Could someone please explain how to create paths?

27th Apr 2018, 6:48 PM
Melvin
Melvin - avatar
7 Answers
+ 14
I think that it is very good, i learnt it then post my first code with path;:😉😉💙 https://www.sololearn.com/learn/HTML/2213/?ref=app
27th Apr 2018, 6:54 PM
Baraa AB
Baraa AB - avatar
+ 13
Maybe this code will help you: 😉 https://code.sololearn.com/W1A4k3QHY898/?ref=app
27th Apr 2018, 7:05 PM
Baraa AB
Baraa AB - avatar
+ 5
Tutorial here: https://www.w3schools.com/graphics/svg_path.asp SVG is like a language for creating shapes.
27th Apr 2018, 6:53 PM
Emma
+ 2
If yoy want the line to be moved downwards . How will it be done(I mean the numerals like L200 0)
27th Apr 2018, 6:56 PM
Melvin
Melvin - avatar
+ 2
I think I get it . But just as a tester does this code print a diamond? M150 0 L195 45 L150 90 L105 45 Z.
27th Apr 2018, 8:05 PM
Melvin
Melvin - avatar
+ 1
The y-axis points downwards, meaning higher values of y, will be further down. You only move down relative to your last position. If you start at (50, 100) and then draw to (25, 200), you will have moved down 100 and to the left by 25.
27th Apr 2018, 6:58 PM
Emma
+ 1
Is the y axis number the first or the second
27th Apr 2018, 7:02 PM
Melvin
Melvin - avatar