I am working on a website in which I want to check whether element has any content in it.
Below is my html code. I have mentioned condition#1 where
// (condition#1, where opacity-pointseven needs to be added) Trans Mountain Pipeline: NEB Releases New Report, Recommends Approval More Coverage
Above is changes with your provided code. in jquery you can find classes or Ids directly without using this object. this is only required where you are in looping of some specific element (ie. inside Div loop).
this