![Petar Ozretić](/_next/image?url=https%3A%2F%2Fapi.locastic.com%2Fwp-content%2Fuploads%2F2021%2F11%2FOzretic.png&w=3840&q=75)
Petar Ozretić
Frontend Developer
4 articles
![credit-card-form-ux-implementation](/_next/image?url=https%3A%2F%2Fapi.locastic.com%2Fwp-content%2Fuploads%2F2022%2F10%2FFrame-86.png&w=3840&q=70)
Frontend, Oct 6, 2022 - 2 min read
Credit card form UX implementation
Examples of some useful helper functions for improving credit card form user experience.
![dynamic-adjustment-of-the-iframe-height](/_next/image?url=https%3A%2F%2Fapi.locastic.com%2Fwp-content%2Fuploads%2F2021%2F05%2Fiframe_blog_featured.jpg&w=3840&q=70)
Dynamic adjustment of the iframe height
Custom scrollbars are not supported in iOS14, so here’s how you can adjust the iframe height dynamically based on the content.”
![how-to-check-credit-card-type-with-javascript](/_next/image?url=https%3A%2F%2Fapi.locastic.com%2Fwp-content%2Fuploads%2F2020%2F07%2Frupixen-com-Q59HmzK38eQ-unsplash.jpg&w=3840&q=70)
Frontend, Aug 7, 2020 - 3 min read
How to check Credit Card type with Javascript
Writing a simple, yet effective vanilla Javascript Credit card type checking function.
![illogical-operators-in-javascript](/_next/image?url=https%3A%2F%2Fapi.locastic.com%2Fwp-content%2Fuploads%2F2019%2F05%2FIMG_9443.jpg&w=3840&q=70)
Frontend, May 29, 2019 - 5 min read
(Il)logical operators in JavaScript
Check the explanation of internal functionality and some examples of useful applications of logical operators in vanilla JavaScript and React.