mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-09-20 16:57:56 +00:00
11 lines
259 B
JavaScript
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
|
||
|
}
|