Problems in java script | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Problems in java script

I am having trouble in learning javascript.can anyone help me.also how to use css ::after { content: atrr()} and ::before{ content : " "} plz help

20th Jul 2017, 6:25 AM
Gamer -Z
Gamer -Z - avatar
1 Answer
+ 2
1.I'll help if it wasn't complex 2.It is pseudo element and forget avout attr. just remember content:'' instead ::after{content:'';display:inline-block;} ::before{content:'';display:inline-block;} Try to think that ::after and ::before is third element of that htmlelement you currently select to ::after append in front of that element ::before append behind of that element You might not understand me so read here goo.gl/H2lh6t goo.gl/edXauv
20th Jul 2017, 6:42 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar