html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<!--
challenge: https://www.sololearn.com/Discuss/633313/?ref=app
proposed by Louis.
made by ysraelcon.
-->
<head>
<title>Clockwise-Spiral-Square</title>
</head>
<body>
<p>Input a number n:</p>
<input type=number id=inn><br>
<input type=button value="Make Clockwise-Spiral-Square NxN:" onclick=mS()><br>
<pre id=pr></pre>
<script>
function mS(){
var n=parseInt(inn.value);
var ln=n*n;
var mc=mC(n);
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
body {
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run