Cubic volume calculator

hazzclark
New Member
1 0 0

Hello Community

 

I am trying to add a volume calculator and I can't figure out how this code is broken... I think it's missing escaped special characters or a tag...

 

<h1>Cubic meter (m³) Calculator</h1>
<p>Length(m)</p>
<input id="length" placeholder="5"><br>
<p>Width(m)</p>
<input id="width" placeholder="5"> <br>
<p>Thickness(cm)</p>
<input id="thickness" placeholder="5"><br>
<button onclick="calculateCubic()">calculate</button>
<p>Cubic Meters (m³)</p>
<div id="result">
</>

0 Likes

@hazzclark 

Only HTML per se won't be able to do cubic volume calculations, nor any type of calculation at all.

It seems to me you are not familiarized with coding, in this case you'd want to hire a developer to be able to implement this type of feature into your Shopify store. Alternatively you can look for an app that already achieves that. This is relatively complex, so it's unlikely (yet definitely not impossible) that someone around here will devote their time to get it coded in for you. Wishing you all the best.

Kind regards,
Diego 

◦ Product page slider & thumbnails with swiping for free themes: Minimal | Debut | Brooklyn | Supply
◦ Replace apps with simple copy/paste code snippets. Examples clicking here.
0 Likes