ikraamkb commited on
Commit
5f0e25a
·
verified ·
1 Parent(s): 0804c2d

Update static/hellopagejs.js

Browse files
Files changed (1) hide show
  1. static/hellopagejs.js +12 -0
static/hellopagejs.js CHANGED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', function () {
2
+ const SC = document.querySelector('.SC');
3
+ const QA = document.querySelector('.QA');
4
+
5
+ SC.addEventListener('click', function () {
6
+ window.location.href = '/summarization'; // Redirect to Summarization app
7
+ });
8
+
9
+ QA.addEventListener('click', function () {
10
+ window.location.href = '/qtAnswering'; // Redirect to Question Answering app
11
+ });
12
+ });