How can I make horizontal line zig Zag ? Like this~~~~~~~~~~~~~~~~~~~~~ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I make horizontal line zig Zag ? Like this~~~~~~~~~~~~~~~~~~~~~

29th Jul 2021, 7:36 AM
Learner
Learner - avatar
9 Answers
29th Jul 2021, 1:16 PM
Calviղ
Calviղ - avatar
+ 2
Calvin Thomas, yeah except there is "html5" and "CSS" in question tags.......
29th Jul 2021, 12:39 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
Aleksei Radchenkov Oh, I didn't notice that. Here is a crude possibility: https://code.sololearn.com/W6ShRmkDP34R/?ref=app
29th Jul 2021, 1:15 PM
Calvin Thomas
Calvin Thomas - avatar
+ 1
It is surely possible like here: https://gist.github.com/askibinski/3781597 But can't you use canvas?
29th Jul 2021, 8:03 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
SVG graphics then? And why do you even need zig zag? you could also replace it with picture of zig zag.
29th Jul 2021, 8:10 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
Fool How about this one? :- ︿︿︿︿︿︿︿︿︿︿︿︿︿︿ This is more realistic in Python: print("︿" * 10)
29th Jul 2021, 12:37 PM
Calvin Thomas
Calvin Thomas - avatar
+ 1
That's awesome! I don't know you can do that.😁
29th Jul 2021, 1:19 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
But for that I have to learn javascript
29th Jul 2021, 8:08 AM
Learner
Learner - avatar
0
This idea is cool bro! Thanks
29th Jul 2021, 8:12 AM
Learner
Learner - avatar