i want the user to enter the number of rows in a HTML table, how do i do that? this is where is stopped.

```
var x = prompt("how many rows?");
for ( var count=1)
document.writeln(<tr>)
count++;
{
if (count==x)
break;
}

```