File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 88 < script defer src ="quotes.js "> </ script >
99 </ head >
1010 < body >
11- < div class ="container ">
11+ < blockquote class ="container ">
1212 < p id ="quote " class ="quote "> </ p >
13- < p id ="author "> </ p >
13+ < cite id ="author "> </ cite >
1414
1515 < div class ="button-wrapper ">
1616 < button type ="button " id ="new-quote "> New quote</ button >
2323 </ label >
2424 </ div >
2525
26- </ div >
26+ </ blockquote >
2727 </ body >
2828</ html >
Original file line number Diff line number Diff line change @@ -508,8 +508,8 @@ let autoQuoteIntervalID = null;
508508document . getElementById ( "auto-quote" ) . addEventListener ( "change" , function ( ) {
509509 if ( this . checked ) {
510510 newRandomQuote ( ) ;
511- const seconds = 60 * 1000 ;
512- autoQuoteIntervalID = setInterval ( newRandomQuote , seconds ) ;
511+ const oneMinute = 60 * 1000 ;
512+ autoQuoteIntervalID = setInterval ( newRandomQuote , oneMinute ) ;
513513 } else {
514514 clearInterval ( autoQuoteIntervalID ) ;
515515 autoQuoteIntervalID = null ;
You can’t perform that action at this time.
0 commit comments