How Do I get macOS text replacement to work

I figured I would make my life easier by entering the various elemnts into the text replacement feature in macOS
For example it will replace
<>
With <></>
It works in search, in notes, and any text field I’ve tried it in except in Codecademy

Plz help

I am not sure because I don’t use mac but this is probably what’s happening. I think the code for CC disabled any of these settings so it is harder for people to “cheat” at lessions.

I figured as much but the woman who made one of the recap videos used it a lot.

This may have been a newer addition to CC so when that video was made it was still possible to do. (Also if it is the solution mark it as such)