#### Describe the bug The challenge passes if you hardcode three array values into your function. #### To Reproduce Steps to reproduce the behavior: 1. Go to ['...'](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/create-strings-using-template-literals) 2. use the following code ```js const resultDisplayArray = [ `<li class="text-warning">${arr[0]}</li>`, `<li class="text-warning">${arr[1]}</li>`, `<li class="text-warning">${arr[2]}</li>` ]; ``` 3. The tests pass when they shouldn't #### Expected behavior This is problematic because the given function will not work with arrays that have more or less than 3 values.
Describe the bug
The challenge passes if you hardcode three array values into your function.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This is problematic because the given function will not work with arrays that have more or less than 3 values.