+ 1

Special Characters do not work in my JavaScript Code.

<script> var say_hello='Hello! \t I am a JavaScript Programmer '; document.write(say_hello); <script>

28th Sep 2018, 4:07 AM
Jahidul
Jahidul - avatar
1 Resposta
0
Add this to your CSS (in body if you don't have a special place for it): white-space: pre; https://stackoverflow.com/questions/22670210/t-is-not-working-in-javascript
28th Sep 2018, 4:32 AM
Janning⭐
Janning⭐ - avatar