How to use google fonts in <div>?

How to use google fonts in <div>?


Hey guys, I’m having trouble changing the font of my title that was placed inside of

. This is the link I’m using in my css box on codepen, but it isn’t working.

Any advice?


Hi, I can’t see your link. Mind trying to submit it again?


Here it is! Sorry about that :slight_smile:


In case you were having problems with posting code, check out this post.


Thank you so much!!!