Category : html-table

I am making a react app where I have to add a full width horizontal line after and before the table header rows,How do I add it here? return ( <div> <table width="100%"> <tr> <th>Name</th> <th>Id</th> <th>Age</th> <th>Status</th> <th>Sem</th> <th>Time</th> <th></th> <th></th> </tr> {tasks.map((task, index) => ( <Task key={index} task={task} onDelete={onDelete} /> ))} </table> </div> ..

Read more

Maybe I’m missing out something basic But for some reason this code is not working : <tr class="students"> <td><%=it%></td> <td class="rollNo" href="/documents/getDocs"><%=stud %></td> <td><%=classroom.studentNames[stud]%></td> </tr> The table is getting displayed, but nothing happens on clicking Please help Source: Ask Javascript..

Read more