Test for member status in HTML card

If you’re not defining myVariable before the content, your implementation might have issues

In addition to @Cathy_Sarisky’s suggestion, you can also use CSS to conditionally display contents of an HTML card. Here’s an example for an in-line signup form - you might have to make a few changes, and you probably don’t need any js: