I want to add the following 2 lines only to the one page of the website
<script src="//cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.js"></script>
And
<link href="//cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.css" media="screen" rel="stylesheet" type="text/css">
My <head>
tag with all links is in a separate PHP file, which I include in all files. Is it possible to add this script and stylesheet only to one page where it's needed? On that separate PHP file, I have a function
$('.owl-carousel').owlCarousel({
items: 1,
nav: true,
dots: false,
loop: true
});