SVG Modified with Query String

Create one SVG that allows you to change colours by changing query string. SVG has code in it to break it down.

<!DOCTYPE html>
<html >
  <meta charset="UTF-8">
  <title>SVG Modified with Query String</title>
  <script src="" type="text/javascript"></script>


  <img src="" alt="Default SVG" />

<img src="" alt="SVG With query strings" />

<object type="image/svg+xml" data=""></object>
    <script  src="js/index.js"></script>

/* Downloaded from */
/* Downloaded from */
// Javascript doesn't fire on SVGs unless you view them direct

// Update: or you put them in an object tag.

This awesome code ( SVG Modified with Query String ) is write by James Nowland, you can se more from this user in the personal repository

You can find the original code on

2018 © James Nowland