Petar Ozretić

Petar Ozretić

Frontend Developer

4 articles

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.

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

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.

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.