Petar Ozretić

Petar Ozretić

Frontend Developer

4 articles

credit-card-form-ux-implementation
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
Locastic, Frontend, May 5, 2021 - 2 min read

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
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
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.