Hi all, I have purchased a book. In this book there is a simple code. Please see below. Im using text editor on a mac. With this code Im supposed to get a red background colour, which is not happening. Can you see anything wrong with this code or do you think the text/editor on my mac is not picking up the Javascript code.
You may find value in debugging this type of code in the “Codebit” editor, as it will likely catch minor syntax errors (though I understand wanting to try it in a plain-text editor, as I do it myself).