Backend PHP (BPH) Help

Correction : Etape 0

templates/layout.phtml

<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <title>Exercice Require</title> <link rel="stylesheet" href="assets/styles/style.css"> </head> <body> </body> </html>

templates/partials/_header.phtml

<header> <h1> </h1> </header>

templates/partials/_main.phtml

<main> <h2> </h2> <p> </p> </main>

templates/partials/_footer.phtml

<footer> <p>&copy; 2025 Garfield Lasagna Inc.</p> </footer>

assets/styles/style.css

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); html { font-size: 18px; } body { display: grid; padding: 0; margin: 0; grid-template-rows: 15vh 75vh 10vh; font-family: "Montserrat", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; } body > header { display: grid; background-color: #4e148c; color: white; align-items: center; justify-content: center; } body > header > h1 { font-family: "Montserrat", sans-serif; font-optical-sizing: auto; font-weight: 700; font-style: normal; font-size: 1.5rem; } body > main { display: grid; grid-template-rows: 15vh 60vh; background-color: #D6EFFF; color:#0a090c; } body > main > h2 { font-family: "Montserrat", sans-serif; font-optical-sizing: auto; font-weight: 700; font-style: normal; font-size: 1.1rem; } body > footer { display: grid; background-color: #4e148c; color: white; align-items: center; justify-content: center; }

index.php

<?php $siteTitle = ""; $pageTitle = ""; $pageContent = ""; ?>
22 November 2025