Unlock this challenge:
When Turbo Drive loads a new page, what exactly happens behind the scenes?
Turbo replaces the old page with the new page loaded through Ajax and executes all <script> tags again.
<script>
Turbo merges all scripts, meta-data and even the <title> element present in the <head> tag, then replaces the <body> with new content.
<title>
<head>
<body>
Turbo replaces the <body> with the new content but leaves the <head> tag intact, except for the <title> element, which is replaced with the new title.
Turbo merges the new <head> tag by adding new <script> and <link> tags but replacing any other tags with those from the new page. It then replaces the <body>.
<link>