mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2025-10-10 12:20:18 +00:00
review page functionality
This commit is contained in:
10
source/assets/scripts/ReviewPage.js
Normal file
10
source/assets/scripts/ReviewPage.js
Normal 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
|
||||
}
|
Reference in New Issue
Block a user