**Why isn't my jQuery script coloring the rows as expected when certain conditions are met (I italicized the specific part of the code)?**
Here is the HTML CODE for the POLL:
<form id="pollForm" class="mb-4">
<div class="form-group">
<label for="pitanje1"
>How satisfied are you with the location of FUTURA Shopping Center?</label
>
<select id="pitanje1" name="pitanje1" class="form-control">
<option value="1">1</option>
...
<option value="5">5</option>
</select>
</div>
...
</table>
<h1>Below are the jQuery and bootstrap imports along with the logic code:</h1>
<h1></h1>
<pre><code> <script src="js/bootstrap.min.js"></script>
...
</script>
I attempted to create a script that calculates the average rating provided by users, but I am encountering issues with setting the background colors accordingly.