how to display keys in the browser?

Asked

Viewed 33 times

-1

Hello, I want to display a word but with "{}" example {word}

follows part of the code in question

function LogoCovid() {
  return (
    <LogoStyle>
       Dev {palavra}
    </LogoStyle>

Citation

I have tried to put between ('," and without <string>)

2 answers

1


If I understand correctly, you want to write the characters '{' and '}' literally, if that’s the case, just write it that way:

 {'{' + Luciane + '}'}

-3

Just set the title tag of your html.

Follow an example:

<!doctype html>

<html lang="en">
<head>
  <meta charset="utf-8">

  <title>Luciane</title>


</head>

<body>
  
</body>
</html>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.