Posts

Showing posts from September, 2023

Leading zero means integer is in octal

 A leading zero can mean an integer is in octal in JavaScript. I learnt this when ESList warned about a time (in milliseconds) I had written as '0960'. There are more tips at: [bbingo.xyz/t](http://bbingo.xyz/t) There are more tips at:  bbingo.xyz/techtips/

Move 'noscript' tag from head to body

Image
 I moved my 'noscript' tag from within the 'head' tag to inside the 'body' tag. The W3C HTML validator pointed out that my 'noscript' tag contained 'div' tags that do not belong inside a 'head' tag. The 'noscript' tag worked the same way in the 'body' tag There are more tips at: [bbingo.xyz/t](http://bbingo.xyz/t) There are more tips at:  bbingo.xyz/techtips/