File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11
11
< body >
12
12
< div id ="video "> </ div >
13
13
< div id ="footer ">
14
+ < div id ="nr "> </ div >
14
15
< div id ="colors ">
15
16
< div id ="average "> </ div >
16
17
< div id ="closest "> </ div >
23
24
var closest = average . closest ( ) ;
24
25
document . getElementById ( "average" ) . style . cssText = "background-color: " + average . css ;
25
26
document . getElementById ( "closest" ) . style . cssText = "background-color: " + closest . css ;
26
- console . log ( closest . toByte ( ) ) ;
27
+ document . getElementById ( "nr" ) . innerHTML = closest . toByte ( ) ;
27
28
} ) ;
28
29
</ script >
29
30
</ body >
Original file line number Diff line number Diff line change @@ -23,4 +23,12 @@ html,body{
23
23
# canvas {
24
24
width : 100% ;
25
25
height : 100% ;
26
+ }
27
+
28
+ # nr {
29
+ position : absolute;
30
+ font-size : 70px ;
31
+ top : 30px ;
32
+ right : 50px ;
33
+ color : black;
26
34
}
You can’t perform that action at this time.
0 commit comments