<!DOCTYPE html>
<html lang="en-US">
<body>
<p>Click on the following button to find the number od embeds in this document.</p>
<button onclick="myFunction()">Click Me</button><br><br>
<p id="point"></p>
<embed src="/resume.pdf" width="250" height="300">
<embed src="/project.pdf" width="250" height="300"><script>
var x = document.getElementById("point");
function myFunction(){
x.innerHTML = document.embeds.length;
}
</script> </body>
</html>