Use TTF in Lovelace

I’m having the same problem. I’m able to follow all the steps but I have no idea where to put these 2 lines:

URL: /local/loadfonts.js
ResourceType: JavaScript Module

Things have changed a bit since I wrote that post. It is no longer:

Instead:

Settings → Dashboards → (top right of page) → Resources

Have updated the post.