JSFiddle - React, Tailwind, and code Playground

by storebox

HTML

<iframe src="https://giphy.com/embed/E0KmHELTpq9pK" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>

JavaScript

function findGetParameter(parameterName) {
    var result = null,
        tmp = [];
    var items = location.search.substr(1).split("&");
    for (var index = 0; index < items.length; index++) {
        tmp = items[index].split("=");
        if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);
    }
    return result;
}