EJS include statement forces html partial content into the body tag

I’m having troubles with EJS forcing the content of an included ejs partial element into the body tag. index.ejs <!DOCTYPE html> <html> <body> <p>Hello World!</p> </body> <footer> <%- include("../partials/footer") %> </footer> </html> partials/footer.ejs <div> <h3>Legal</h3> <a href="/legal/terms">Terms of Service</a> </div> Although the result of this is the footer being inside of the body tag as… Read More EJS include statement forces html partial content into the body tag

Cannot read properties of undefined (reading 'forEach') but working fine in console

I’m working on friend requests for my Facebook clone. I have a button that sends a friend request to the user and the user gets a notification and either accepts or denies the request. Each request is handled inside a FriendRequest schema. What I’m trying to do is make it so when a user accepts… Read More Cannot read properties of undefined (reading 'forEach') but working fine in console

Adjusting iframe

I want to customize the following iframe, I tried this code: <div class="Pagina2" style="display:flex; width:600; height:400"> But this is what I got, and the blue marks I want to be the margins: enter image description here Thanks for support. >Solution : set width and height in iframe tag example: <iframe src="/default.asp" width="100%" height="300" style="border:none;"> </iframe>