Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title> Strona główna </title>
- </head>
- <body>
- <script>
- document.write("<table border='1' height='50' weight='1850'> ");
- for(var i=1; i<=8; i++)
- {
- for(var o=1; o<=8; o++)
- {
- if((i+o)%2!=0)
- {
- document.write("<td></td>");
- }
- else
- {
- document.write("<td bgcolor='purple'> </td>");
- }
- }
- document.write("</tr>");
- }
- document.write("</table>");
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement