How to read the CSS property of an element using JavaScript

A few days ago, I found an interview question that we have to increase the font size of a paragraph by 10% every time a button is clicked…