# literal javascript, php (ok)

**Javascript**

```
<!DOCTYPE html>
<html>
  <body>
    <h2>JavaScript Template Literals</h2>
    <p>Template literals allows variables in strings:</p>
    <p id="demo"></p>
    <p>Template literals are not supported in Internet Explorer.</p>
    <script>
      let firstName = "John";
      let lastName = "Doe";
      let text = `Welcome ${firstName}, ${lastName}!`;
      document.getElementById("demo").innerHTML = text;
    </script>
  </body>
</html>
```

**php**

```
<?php
$numbers = [5, 4, 8, 9, 7, 10, 25, 28];
foreach ($numbers as $number) {
  echo "<p>The number is {$number}.";
}
?>
```
