Hi mohdimran123.
DO NOT edit any files in HD Quiz.
You can achieve this by adding some JS and PHP to your theme (or better yet, create a new plugin so that your changes persist across theme changes).
Please carefully ready through this entire thread that you previously replied to as well. It goes over why I think doing this is a bad idea, as well as instructions and advice on what to do if you want to go ahead and do it anyways 🙂
What you have to do is save the timer status as a cookie every second. You also need to detect if a timer has been saved on page load so that you can resume it.
Please know that this is NOT something easy or quick to do and I in no way recommend doing something like this or condone it. Good luck, and always check the WordPress development docs for help and support.
https://developer.wordpress.org/plugins/
(also, the timer code can be found in hd-quiz/includes/js/hdq_script.js if you want to see how the timer is used)