File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,14 @@ const kaggleClose = document.getElementById('kaggleClose');
1616kaggleBtn . onclick = function ( ) { kaggleModal . style . display = "block" ; }
1717kaggleClose . onclick = function ( ) { kaggleModal . style . display = "none" ; }
1818
19+ /* Live Projects */
20+ const liveProjectsModal = document . getElementById ( 'liveProjectsModal' ) ;
21+ const liveProjectsBtn = document . getElementById ( 'liveProjectsBtn' ) ;
22+ const liveProjectsClose = document . getElementById ( 'liveProjectsClose' ) ;
23+
24+ liveProjectsBtn . onclick = function ( ) { liveProjectsModal . style . display = "block" ; }
25+ liveProjectsClose . onclick = function ( ) { liveProjectsModal . style . display = "none" ; }
26+
1927/* ML Algorithms */
2028const mlAlgorithmsModal = document . getElementById ( 'mlAlgorithmsModal' ) ;
2129const mlAlgorithmsBtn = document . getElementById ( 'mlAlgorithmsBtn' ) ;
@@ -36,6 +44,7 @@ dashboardClose.onclick = function() { dashboardModal.style.display = "none"; }
3644window . onclick = function ( event ) {
3745 if ( event . target == themesModal ) { themesModal . style . display = "none" ; }
3846 else if ( event . target == kaggleModal ) { kaggleModal . style . display = "none" ; }
47+ else if ( event . target == liveProjectsModal ) { liveProjectsModal . style . display = "none" ; }
3948 else if ( event . target == mlAlgorithmsModal ) { mlAlgorithmsModal . style . display = "none" ; }
4049 else if ( event . target == dashboardModal ) { dashboardModal . style . display = "none" ; }
4150}
You can’t perform that action at this time.
0 commit comments