Javascript how to change font properties to script?

I found this script which is perfect for what I need. However I would like to change the font properties to make it bold and red for the result displayed. I looked all over and tried adding it but …

net::ERR_ABORTED 404 (Not Found) – Error in console

After uploading my wordpress website to live server i am getting error in console about my fonts not found. Due to which mobirise icons are not loaded. Both files are present in that font folder. …