jquery background-image[solved] | SoloLearn: Learn to code for FREE!


jquery background-image[solved]

https://code.sololearn.com/W3sMtZ26Oe2I/#js will not display images on button. Whats wrong?

6/9/2019 5:02:30 PM


8 Answers

New Answer


Your pattern variable was faulty. Perhaps you forgot to update the link to github content :) Try changing it to: var pattern = "https://raw.githubusercontent.com/thetalent/omapuzzle16/master/image_part_0xy.jpg" https://code.sololearn.com/WFY47PK8KdH2/#html


rv7 perfect! You also solved my next problem in CSS by selector input instead of selector button.


thanks to rv7 I could finish my project https://code.sololearn.com/WCBcC89Bd0NJ/?ref=app


I think nothing is wrong,because you can't add background-image on button!


Codinger 🖥️🇲🇰 ohhh shit!


wrong. https://www.jqwidgets.com/jquery-button-with-image/


Hi Oma, I think that something weird is happening behind the scenes, as we can add background to almost any element x_x https://code.sololearn.com/WAFtt47hTbM4/#html


Welcome Oma! ;) Nice project. 👏