Five Guys makes my favorite Production Burger
1
Lettuce, Tomato, Onion, Ketchup, Mustard, and Double A1 Sauce which really makes the difference.
January 28 · Reply
 
Just finished an oil change on both my bikes today. 
0
sdfsdfsdf
March 21 · Reply
0
qqwew
March 21 · Reply
0
qqwewqqwew
March 21 · Reply
0
qqwewqqwewqqwew
March 21 · Reply
0
qqwewqqwewqqwew
March 21 · Reply
0
fgfdgfdg
March 21 · Reply
0
fgfdgfdgfgfdgfdgfgfdgfdg
March 21 · Reply
 
// Get the like button and unlike button elements
const likeButton = document.getElementById('like-button');
const unlikeButton = document.getElementById('unlike-button');

// Set the initial state of the like button and unlike button based on the value of the "like" cookie
if (getCookie('like') === 'true') {
  likeButton.style.display = 'none';
  unlikeButton.style.display = 'inline-block';
} else {
  likeButton.style.display = 'inline-block';
  unlikeButton.style.display = 'none';
}

// Add a click event listener to the like button
likeButton.addEventListener('click', function() {
  // Set the "like" cookie to "true"
  setCookie('like', 'true', 365);
  // Update the button display
  likeButton.style.display = 'none';
  unlikeButton.style.display = 'inline-block';
});

// Add a click event listener to the unlike button
unlikeButton.addEventListener('click', function() {
  // Set the "like" cookie to "false"
  setCookie('like', 'false', 365);
  // Update the button display
  likeButton.style.display = 'inline-block';
  unlikeButton.style.display = 'none';
});

// Function to get a cookie value
function getCookie(name) {
  const value = `; ${document.cookie}`;
  const parts = value.split(`; ${name}=`);
  if (parts.length === 2) return parts.pop().split(';').shift();
}

// Function to set a cookie
function setCookie(name, value, days) {
  const date = new Date();
  date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
  const expires = `expires=${date.toUTCString()}`;
  document.cookie = `${name}=${value};${expires};-Path=/`;
}
-1
Sweet sweet code
Dec 24, 2022 · Reply
0
var x = 1;
January 10 · Reply
 
Please login to add new posts.
 
About State
California
United States
14 Subscribers9 Posts
State
California, a western U.S. state, stretches from the Mexican border along the Pacific for nearly 900 miles. Its terrain includes cliff-lined beaches, redwood forest, the Sierra Nevada Mountains, Central Valley farmland and the Mojave Desert. The city of Los Angeles is the seat of the Hollywood entertainment industry. Hilly San Francisco is known for the Golden Gate Bridge, Alcatraz Island and cable cars.
Parent Country
United States
22 Subscribers17 Posts
Country

My Account · Posts · Albums · People
Terms of Service · Privacy Policy · Copyright © 2024 Zuppon.com