Skip to content

Instantly share code, notes, and snippets.

View Jhongt796's full-sized avatar
🎯
Focusing

Juan Jesús Florián Vásquez Jhongt796

🎯
Focusing
  • Alter Development
  • Perú
  • 20:06 (UTC -05:00)
View GitHub Profile
@Jhongt796
Jhongt796 / index.html
Created December 1, 2021 16:48
Quantity selector
<section class="container">
<div class="product-quantity">
<h3>Quantity</h3>
<input data-min="1" data-max="0" type="text" name="quantity" value="1" readonly="true"><div class="quantity-selectors-container">
<div class="quantity-selectors">
<button type="button" class="increment-quantity" aria-label="Add one" data-direction="1"><span>&#43;</span></button>
<button type="button" class="decrement-quantity" aria-label="Subtract one" data-direction="-1" disabled="disabled"><span>&#8722;</span></button>
</div>
</div>
</div>