JSFiddle - React, Tailwind, and code Playground

by Dogbert

HTML

<div id="donate-form">
    <form action="https://www.ccavenue.com/shopzone/cc_details.jsp" method="post">
        <input type="hidden" name="Order_Id" value="LRF-1a-20151118">
        <input type="hidden" name="Merchant_Id" value="M_latika_7896">
        <input type="hidden" name="billing_cust_notes" value="">
        <label>Name</label>
        <input type=text name=billing_cust_name />
        <br/>
        <label>Email</label>
        <input type=text name=billing_cust_email />
        <br/>
        <label>Amount</label>
        <select name=currency>
            <option>USD</option>
            <option>INR</option>
            <option>GBP</option>
            <option>EUR</option>
        </select>
        <input type=text value=100 name=amount />
        <input type=hidden name=Amount />
        <input type=submit value=Donate />
    </form>
</div>

JavaScript

var OPEN_EXCHANGE_RATES = {
    "disclaimer": "Exchange rates are provided for informational purposes only, and do not constitute financial advice of any kind. Although every attempt is made to ensure quality, NO guarantees are given whatsoever of accuracy, validity, availability, or fitness for any purpose - please use at your own risk. All usage is subject to your acceptance of the Terms and Conditions of Service, available at: https:\/\/openexchangerates.org\/terms\/",
        "license": "Data sourced from various providers with public-facing APIs; copyright may apply; resale is prohibited; no warranties given of any kind. Bitcoin data provided by http:\/\/coindesk.com. All usage is subject to your acceptance of the License Agreement available at: https:\/\/openexchangerates.org\/license\/",
        "timestamp": 1447740011,
        "base": "USD",
        "rates": {
        "AED": 3.673,
            "AFN": 67.345001,
            "ALL": 129.168099,
            "AMD": 481.820003,
            "ANG": 1.78875,
            "AOA": 135.288331,
            "ARS": 9.62469,
            "AUD": 1.410984,
            "AWG": 1.793333,
            "AZN": 1.048513,
            "BAM": 1.83445,
            "BBD": 2,
            "BDT": 78.40841,
            "BGN": 1.83348,
            "BHD": 0.377242,
            "BIF": 1540,
            "BMD": 1,
            "BND": 1.424125,
            "BOB": 6.92346,
            "BRL": 3.82527,
            "BSD": 1,
            "BTC": 0.0029818613,
            "BTN": 65.661666,
            "BWP": 10.884488,
            "BYR": 17871.25,
            "BZD": 1.997963,
            "CAD": 1.333484,
            "CDF": 927.5,
            "CHF": 1.01032,
            "CLF": 0.024598,
            "CLP": 712.591004,
            "CNY": 6.37382,
            "COP": 3078.896693,
            "CRC": 534.708,
            "CUC": 1,
            "CUP": 1.001213,
            "CVE": 103.427357085,
            "CZK": 25.35226,
            "DJF": 177.348749,
           ...