Q:

Find the sixth cell (second row and third column ) of a 3x3 table

0

Find the sixth cell (second row and third column ) of a 3x3 table.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

HTML Code :

<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-git.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Find the sixth cell  (second row and third column ) of a 3x3  table</title>
</head>
<body>
<table border="1">
<tr><td>Cell-1</td><td>Cell-2</td><td>Cell-3</td></tr>
<tr><td>Cell-4</td><td>Cell-5</td><td>Cell-6</td></tr>
<tr><td>Cell-7</td><td>Cell-8</td><td>Cell-9</td></tr>
</table>
</body>
</html>

JavaScript Code :

$( "td:eq(5)" ).css( "color", "red" );

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now