Última atividade 1717386554

Revisão ae01a806f932a757a629354546144f62001c43f9

if-else-statement.astro Bruto
1---
2var UserLogin = false
3---
4
5<!-- Use this method if the results only returns "true" or "false" -->
6{UserLogin ? <p>Log Out</p> : <p>Sign in</p>}
7
8<!-- Use this method if the results return other results that are not labeled as "true" or "false -->
9{
10 ()=> {
11 if (UserLogin === "external") {
12 return <p>Log Out</p>
13 } else {
14 return <p>Sign In</p>
15 }
16 }
17}