new main page
This commit is contained in:
+7
-27
@@ -42,32 +42,12 @@
|
||||
|
||||
|
||||
|
||||
function unhide42() {
|
||||
const alicegameSection = document.getElementById('alice');
|
||||
const tetrisSection = document.getElementById('tetris');
|
||||
const experiencesection = document.getElementById('experience');
|
||||
|
||||
const educationsection = document.getElementById('education');
|
||||
const automationsection = document.getElementById('automation');
|
||||
const interestssection = document.getElementById('interests');
|
||||
const opinionsection = document.getElementById('opinion');
|
||||
const interestlistsection = document.getElementById('interestlist');
|
||||
|
||||
const hiddenssection = document.getElementById('secret');
|
||||
|
||||
if (hiddenssection.style.display == 'none') {
|
||||
hiddenssection.style.display = 'block';
|
||||
} else {
|
||||
hiddenssection.style.display = 'none';
|
||||
}
|
||||
alicegameSection.style.display = 'none';
|
||||
tetrisSection.style.display = 'none';
|
||||
experiencesection.style.display = 'none';
|
||||
educationsection.style.display = 'none';
|
||||
automationsection.style.display = 'none';
|
||||
interestssection.style.display = 'none';
|
||||
|
||||
opinionsection.style.display = 'none';
|
||||
interestlistsection.style.display = 'none';
|
||||
// about.js
|
||||
function closeOverlay() {
|
||||
document.getElementById('overlay').style.display = 'none';
|
||||
}
|
||||
|
||||
// or toggle it from anywhere:
|
||||
function openOverlay() {
|
||||
document.getElementById('overlay').style.display = 'flex';
|
||||
}
|
||||
Reference in New Issue
Block a user