<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Single Page Website</title> <style> body { font-family: Arial, sans-serif; } #home, #embedSection { display: none; } #home.active, #embedSection.active { display: block; } iframe { width: 100%; height: 90vh; border: none; } </style> </head> <body> <div id="home" class="active"> <h1>Welcome to My Website</h1> <button id="goToEmbed">Go to the Interactive Website</button> </div> <div id="embedSection"> <h1>Embedded Website</h1> <button id="backToHome">Back to Home</button> <iframe src="https://ir.noredink.com.de/#home"></iframe> </div> <script> const homeDiv = document.getElementById('home'); const embedDiv = document.getElementById('embedSection'); const goBtn = document.getElementById('goToEmbed'); const backBtn = document.getElementById('backToHome'); goBtn.addEventListener('click', () => { homeDiv.classList.remove('active'); embedDiv.classList.add('active'); }); backBtn.addEventListener('click', () => { embedDiv.classList.remove('active'); homeDiv.classList.add('active'); }); </script> </body> </html>