Account Deleted
Set a limit on the bill input as its breaking style upon adding number greater then 10
Marked as helpful
0
Looking to hire developers?
Hey All, Open to feedback and suggestions!!
Account Deleted
Set a limit on the bill input as its breaking style upon adding number greater then 10
Marked as helpful
@ErayBarslan
Posted
Hey there, excellent work on your solution! Design looks good and everything works as supposed to. My suggestions:
bill.addEventListener("input", () => { billGen(); renderBill() })
customTip.addEventListener("input", () => { customTipGenerator(); renderBill() })
people.addEventListener("input", () => { peopleCountGenerator(); renderBill() })
/* Since there are two functions for each listener, we put them inside another function. */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"] {
-moz-appearance: textfield;
}
<h1>
for the heading of page. If there are several heading then It'd be applicable to use other headings..attribution
you can use <footer>
instead <div>. Aside these excellent work again and happy coding :)Marked as helpful
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord