Exploring a simple number scale ranging from 1 to 10, I experimented with different ways to represent it. Here's my attempt:
<div class="rate-container">
<p class="first">Extremely Unlikely</p>
<a class="rate">1</a>
<a class="rate">2</a>
<a class="rate">3</a>
<a class="rate">4</a>
<a class="rate">5</a>
<a class="rate">6</a>
<a class="rate">7</a>
<a class="rate">8</a>
<a class="rate">9</a>
<a class="rate">10</a>
<p class="first">Extremely Likely</p>
</div>
In order to have the text appear right next to the numbers 1 and 10, I used a table structured like this.
<table>
<tr>
<td> <a class="rate">1</a> </td>
<td>
<p class="first">Extremely Unlikely</p>
</td>
</tr>
<tr>
<td><a class="rate">2</td>
</tr>
<tr>
<td><a class="rate">3</td>
</tr>
<tr>
<td><a class="rate">4</td>
</tr>
<tr>
<td><a class="rate">5</td>
</tr>
<tr>
<td><a class="rate">6</td>
</tr>
<tr>
<td><a class="rate">7</td>
</tr>
<tr>
<td><a class="rate">8</td>
</tr>
<tr>
<td><a class="rate">9</td>
</tr>
<tr>
<td><a class="rate">10</td>
<td>
<p class="last">Extremely Likely</p>
</td>
</tr>
</table>
Despite attempting techniques like flexbox and other CSS properties, I struggled to properly align the text without making compromises in other areas. Any advice or guidance would be greatly appreciated!