24

Spent ages (at least 10 minutes) trying to get svg to load using <img /> tag. Checked for browser support, checked for format of svg and how it was imported. All seemed fine.

Finally realised I had spelt src as scr...

Comments
  • 1
    Uh, I had issues with SVG too today...
  • 1
    This is why you should start using PhpStorm. I assume Sublime Text?
  • 0
    @sjzurek good point! I used to use PHP storm at my old job. Need to get a proper ide. Currently using Atom.
  • 0
    There should be some auto lint plugins I believe.
    Yes, PhpStorm gives you the edge on tiny details, but they add up. It's paid but worth the money.
Add Comment