My basic reverse cards need some design tweaks that I can not make myself

the code did not go through sorry.

{{Back}}

{{Back}}

I have no idea what is going on. The code that I am sending is not getting through.

It is posting the output of the code LOL.

{{Back}}
if(!document.getElementById("answer")) { var back = document.getElementById("back"); back.textContent = back.textContent.replace(/".*"/, ''); }

</script “this is not part of the code” >

Wrap the code in triple backticks.

```
code
```

1 Like

I will do that next time. thank you for the suggestion!

Try using this

<script>
if(!document.getElementById("answer")) {  
  document.getElementById("back").innerHTML = back.textContent.replace(/"(.*?)"/g, "<br>");
}
</script>

1 Like

Thank you all for helping me solve this particularly annoying problem.