JSFiddle - React, Tailwind, and code Playground

by borisjavier

HTML

<div id="arrow" class="theOne"></div>

<input type="submit" id="byBtn" value="Donde" onclick="showArrow()"/>

CSS

.theOne {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 150px;
    border: 0;
}

JavaScript

function showArrow(){   
   var arrow = document.getElementById('arrow');
   arrow.innerHTML = '<img src="http://www.btcfacilcolombia.com/wp-content/uploads/2017/05/arrow_right.png" alt="Click AquĂ­" width=200 height=200>';
    
}