Joke Site

Welcome to Joke Site

Find the funniest jokes here!

Featured Jokes

Joke 1

Why don’t scientists trust atoms? Because they make up everything!

Joke 2

Why did the chicken go to the séance? To get to the other side!

© 2023 Joke Site. All rights reserved.

body { font-family: Arial, sans-serif; margin: 0; padding: 0; } header { background-color: #f1c40f; padding: 1rem; } nav ul { list-style-type: none; margin: 0; padding: 0; display: flex; } nav li { margin-right: 1rem; } nav a { text-decoration: none; color: #333; } main { padding: 2rem; } article { margin-bottom: 2rem; } footer { background-color: #333; color: #fff; padding: 1rem; text-align: center; } function changeColors() { const colors = [‘#3498db’, ‘#e74c3c’, ‘#2ecc71’, ‘#9b59b6’, ‘#f1c40f’]; const elements = document.querySelectorAll(‘article’); elements.forEach((element, index) => { element.style.backgroundColor = colors[index % colors.length]; element.style.padding = ‘1rem’; element.style.borderRadius = ‘5px’; }); }