I need to add class to News item if Relations tab has a video element.
preview image
My question is how to change this code to check if the news has a video element in relation tab, if yes add class"news-video" to the div
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)