Transcript

Instructions

  1. Use the .setBackgroundColor function to highlight the word “very” in your document.
  2. Use the start and end positions of the searchResult variable as parameters.
  3. Add the color code as the last parameter.
  4. Test your code.
  5. Add a comment to your code.