review page functionality

This commit is contained in:
Gavyn Ezell
2022-11-12 10:10:07 -08:00
parent d72e8ea601
commit 365e701924
4 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
// Run the init() function when the page has loaded
window.addEventListener('DOMContentLoaded', init);
function init() {
let result = sessionStorage.getItem('currReview')
let main = document.querySelector('main');
main.innerHTML = result
}