If/else on the front-end

You know how we can get if/else statements on the server side (see below)?
Screen Shot 2021-07-17 at 12.54.32 PM

Can we also get those on the front-end? For example, I’d like to display different alert types, depending on the response I get from a call to the server.

Community Page
Last updated: