Again... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Again...

Trying to get the text to move left and right inside the border x.x can't seem to het it working though. Suggestions? https://code.sololearn.com/W6L70YGVbYfd/?ref=app

4th Jan 2018, 2:50 AM
Dutch
Dutch - avatar
2 Answers
+ 13
There's no problem in your JS. You have to add a ; after width, height and position in CSS and boooom! It works ! Do like this :- width :100px; height:50px; position: absolute;
4th Jan 2018, 5:57 AM
Nikhil
Nikhil - avatar
+ 3
@Nikhil Thanks! now I just have to resize some things and move the border location!
4th Jan 2018, 8:23 AM
Dutch
Dutch - avatar