I'm currently modifying my code to have the text display a strikethrough line when I hover over the delete button. This functionality is similar to using the CSS property text-decoration: line-through
.
UPDATE:
I want the phrase "Creating this basic TODO Website" to have a strikethrough effect when the delete button is hovered over
Is there a way to accomplish this without utilizing JavaScript, or will I need to incorporate JavaScript? (My current framework is Bootstrap4)
The relevant section of the code is as follows:
<tr>
<th scope="row">3</th>
<td class="text-justify">Creating this basic TODO Website</td>
<td>14/05/2020</td>
<td>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 10%;" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100">10%</div>
</div>
</td>
<td>
<button type="button" class="btn btn-info" data-toggle="tooltip" data-placement="top" title="Edit" onclick="window.location.href='Edit.html' ;">
<i class="material-icons">create</i>
</button>
<button type="button" class="btn btn-warning">
<i class="material-icons">delete</i>
</button>
</td>
</tr>