File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -806,8 +806,8 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
806806 return 3.2 * radius * radius ;
807807 }
808808
809- document . getElementById ( 'circle-radius' ) . addEventListener ( 'keydown' , function ( e ) {
810- if ( e . key === 'Enter' ) {
809+ document . getElementById ( 'circle-radius' ) . addEventListener ( 'keydown' , function ( ca ) {
810+ if ( ca . key === 'Enter' ) {
811811 const radius = parseFloat ( this . value ) ;
812812 if ( isNaN ( radius ) ) return ;
813813
@@ -1000,8 +1000,8 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
10001000 return 6.4 * radius ;
10011001 }
10021002
1003- document . getElementById ( 'circle-radius' ) . addEventListener ( 'keydown' , function ( e ) {
1004- if ( e . key === 'Enter' ) {
1003+ document . getElementById ( 'circle-radius' ) . addEventListener ( 'keydown' , function ( cc ) {
1004+ if ( cc . key === 'Enter' ) {
10051005 const radius = parseFloat ( this . value ) ;
10061006 if ( isNaN ( radius ) ) return ;
10071007
You can’t perform that action at this time.
0 commit comments