+ 5

How to make a smile in HTML5?

3rd Nov 2018, 2:21 PM
Lalupay
7 Réponses
+ 13
Lalupay From the lesson: <svg height="100" width="100"> <circle cx="50" cy="50" r="50" fill="#FDD835"/> <circle cx="30" cy="30" r="10" fill="#FFFFFF"/> <circle cx="70" cy="30" r="10" fill="#FFFFFF"/> <circle cx="30" cy="30" r="5" fill="#000000"/> <circle cx="70" cy="30" r="5" fill="#000000"/> <path d="M 30 70 q 20 20 40 0" stroke="#FFFFFF" stroke-width="5" fill="none" /> </svg>
3rd Nov 2018, 2:26 PM
Donthack
Donthack - avatar
+ 9
https://code.sololearn.com/W1hOPI0O15T2/?ref=app I am definitely not an html expert, but here's the smile :D
4th Nov 2018, 2:50 AM
voja
voja - avatar
+ 3
Go to the link https://codepen.io/Nir_Dayan/pen/caeAn 😇😇😇😇😇😇😇😇😇😇😇😇😇😇
3rd Nov 2018, 6:20 PM
Asmit joy
Asmit joy - avatar
+ 3
if svg, it's not circle, it's path donthack's d q works but actually d c is easier if not must svg, voja's div border works too. if want to know how to <path d=" ... c ....", go to my profile find "my logo" code
4th Nov 2018, 7:40 AM
Gordon
Gordon - avatar
3rd Nov 2018, 2:26 PM
PureLogicality
PureLogicality - avatar