Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsilva010 authored Apr 14, 2024
1 parent d6c6c99 commit cc6bc3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ listItems.forEach(item => {
});
});

const sections = document.querySelectorAll('.container > section, .container > h2, .container p');
let delay = 0.3; // Initial delay
const sections = document.querySelectorAll('.container > img, .container > section, .container > h2, .container p');
let delay = 0.3; // Initial delay

sections.forEach(section => {
section.style.animationDelay = delay + 's';
Expand Down

0 comments on commit cc6bc3b

Please sign in to comment.