JSFiddle - React, Tailwind, and code Playground

by frogggeee McFrogggeee

HTML

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<body>
<h1>plant clicker</h1>
<h3>by frogggeee</h3>
<h3>   </h3>
<p>get coins by clicking the button below. get more coins to buy plants that help you get more coins. if you are stuck and cannot earn enough coins press the alt key on your keyboard.</p>
<button onclick="clicked()">click for coins</button>
<h2 id="demo"></h2>
<h2>==========</h2>
<h2>shop</h2>
<h3>buy a grass plant for $10</h3>
<button onclick="up1()">buy some grass plants</button>
<h3>buy a carrot plant for $30</h3>
<button onclick="up2()">buy some carrot plants</button>
<h3>buy a tomato plant for $100</h3>
<button onclick="up3()">buy some tomato plants</button>
<h3>buy a mint plant for $200</h3>
<button onclick="up4()">buy some mint plants</button>
<h3>buy a marigold plant for $500</h3>
<button onclick="up5()">buy some marigold plants</button>
<h3>buy a bamboo plant for $1,000</h3>
<button onclick="up6()">buy some bamboo plants</button>
<h3>buy a tree for $10,000</h3>
<button onclick="up7()">buy some trees</button>
<h3>buy a giant cactus plant for $100,000</h3>
<button onclick="up8()">buy some giant cactus plants</button>
<h3>buy a man eating plant for $1,000,000</h3>
<button onclick="up9()">buy some man eating plants</button>
<h2>==items==</h2>
<!-- <h3 id = "soilthing"></h3>
<button onclick="upsoil()">upgrade your soil</button>
<button onclick="soilinfo()">info on this item</button> -->
<h3 id = "storm"></h3>
<button onclick="infostormbottle()">info on this item</button>
<button onclick="buystormbottle()">buy this item</button>

<h3 id = "poopstorm"></h3>
<button onclick="cowpoopstorminfo()">info on this item</button>
<button onclick="buycowpoopstorm()">buy this item</button>
<h2>==special ability plants==</h2>
<h3>buy the lonely moss for $50,000,000</h3>
<button onclick="infomoss()">info on this plant</button>
<h3>     </h3>
<button onclick="buymoss()">buy the lonely...