Panayiotis «pvgr» Velisarakos

  • Contact
  • Ελληνικά
  • Personal
  • Programming
  • Projects
  • Rendering a “latest tracks” list from last.fm in a Web Component

    July 1st, 2019

    last.fm has built an extensive API that serves various information related to the content of the platform and its users. I thought I could build a (couple of) Web Component(s) to fetch and render a list of the latest tracks that I have listened to, and hopefully learn something useful in the process! […]

  • border-image CSS property and SVG

    June 12th, 2019

    In a nutshell, border-image is a CSS property that allows box decoration “on top” of (or “overwriting” if you like) border. MDN has extensive documentation for these (rather underused) properties and values, but I will use SVG instead of bitmaps or gradients, and note some interesting cases. […]

  • Unit testing a jQuery plugin with QUnit

    10 July 2016

    QUnit is a powerful, yet easy-to-use JavaScript unit testing framework. It is used by the jQuery, jQuery UI and jQuery Mobile projects and it is well suited for testing a typical jQuery plugin. This article builts upon Getting Started with QUnit, How to Test Asynchronous Code with QUnit and of course the official Introduction to Unit Testing articles so feel free to skim through those first and return to see how QUnit can be used to test an already built jQuery plugin, and get you started with unit testing. […]

License:CC-BY-SA-4.0 • Illustrations:Lukasz Adam