cse110-fa22-group29/source/assets/scripts/ReviewPage.js
2022-11-12 10:10:07 -08:00

11 lines
259 B
JavaScript

// 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
}