Connect with us

Nevada

It’s no accident: Nevada Guard Soldier secures 2023 Distinguished Ground Safety Award

Published

on

It’s no accident: Nevada Guard Soldier secures 2023 Distinguished Ground Safety Award


By Master Sgt. Erick Studenicka
Nevada Army Guard

CARSON CITY – No seatbelt? You will be chastised.

Advertisement

On the top step of the ladder? You will get a scolding.

No protective gear while riding your motorcycle? Now you are in real trouble and will receive a reprimand!

Like a de facto protective parent, state safety specialist Sgt. 1st Class Don Gibbs, 60, of Dayton, constantly keeps tabs on Nevada Guard Soldiers to ensure they are completing their tasks and missions as safely as possible while reducing ancillary risks. Although his admonishments may seem pesky, Gibbs dedication to safety is extraordinary, evidenced by the fact he received the Army National Guard’s Distinguished Ground Safety Award for 2023 in December in San Antonio, Texas. Only two Soldiers in the entire Army National Guard received the award for 2023.

“Sgt. 1st Class Gibbs exhibited superior excellence and distinguished accomplishments within the Nevada Army Guard’s ground safety program during 2023,” said Col. Aaron Schilleci during the award ceremony.

The Army Ground Safety program includes oversight of all Army ground activities including vehicle operation, ammunition storage and potential environment hazards.

Advertisement

Eligibility for the Distinguished Ground Safety Award is extremely difficult to acquire, as a state must go two years without recording an on-duty Class A (fatality or disabling injury and/or $2 million in damage) or Class B (injury and/or $500,000 to $1 million in damage) accident to make its state safety specialist eligible for the rare award. In fact, the Nevada Army Guard has not incurred a on-duty Class A or B accident since Gibbs was hired as the state safety specialist in 2019.

“It is no coincidence the absence of on-duty Class A and B accidents coincides with the hiring of Gibbs,” said state safety officer Capt. David Henry. (The Nevada Army Guard has recorded two off-duty Class A accidents since 2019 due to vehicle fatalities.)

Henry said Gibbs was an easy choice for the award because of his dedication to the safety program and the fact he goes above-and-beyond in his position to exceed program standards. For example, Gibbs instructed more than 300 students in 2023 at about 30 motorcycle safety classes across the state – on his personal time. Gibbs also compiled and edited the internal safety newsletter “Safe Bets” on his own time to share current, best safety practices with the state’s Soldiers.

Gibbs did those tasks in addition to his usual duties of organizing and instructing Occupational Safety and Health Administration and confined spaces classes as well as forklift training. Gibbs and Henry also planned and coordinated the 2023 Western Region Safety Council meeting in Reno where councilmembers could share their ideas to standardize and modernize safety functions across the Army Guard.

When Gibbs was hired by the Nevada Army Guard in 2019, it marked a homecoming for the native Nevadan who grew up in Clark County and graduated from Las Vegas High School in 1981. After high school, Gibbs recorded a stint in the Marines Corps until 1987 when he began his longtime civilian career as a first responder and law enforcement officer in Soldotna, Alaska, as a firefighter and emergency medical technician.

Advertisement

After meeting and marrying his wife Renae in Alaska, Gibbs relocated to his spouse’s home state, South Dakota, and he became a Custer County Sheriff’s Deputy. He subsequently was a Sturgis police officer from 2010-2019.

About the same time in life, Gibbs realized his first responder and law enforcement skills could be useful in the military and he enlisted in the South Dakota Army Guard in 2009 as a medic.

While in the South Dakota Guard, Gibbs gravitated toward the safety arena with the realization that safety is a top key to military readiness.

“As my years of experience in law enforcement and emergency response continued, it became increasingly clear to me that safety and prevention are the simplest way to decrease and minimize devastating events and mishaps,” Gibbs said.

Gibbs knows he won’t win the 2024 Distinguished Ground Safety Award but it’s for a good reason – he’s set to retire this April. He’s looking forward to spending more time with Renae, his two daughters, Katelyn and Kaitlin, and grandsons Owen, 7, and Louis, 1.

Advertisement

Even with retirement on the horizon, Gibbs warns Nevada Soldiers to continue to prioritize safety and he notes his safety admonishment bark is as sharp as ever.

“We have all had moments of second guessing in our lives,” Gibbs said. “It’s my goal to make sure we are not second guessing about the safety precautions and measures we could have taken in the event of any mishap in our lives.”

Date Taken: 01.02.2024
Date Posted: 01.02.2024 15:55
Story ID: 461205
Location: CARSON CITY, NV, US
Hometown: DAYTON, NV, US

Web Views: 35
Downloads: 0

PUBLIC DOMAIN  

Advertisement





Source link

Advertisement

Nevada

Nevada State men’s track and field team debuts at UNLV Elite Invitational

Published

on

Nevada State men’s track and field team debuts at UNLV Elite Invitational


Nevada State University’s new men’s track and field team made its debut Saturday at the UNLV Elite Track and Field Invitational, marking the program’s inaugural year.

NSU Head Track and Field Cross Country Coach Roy Session called the launch of the team significant for both his athletes and the state. “This is a special occasion for my group, as well as for the state to have a men’s track and field program represented at a college in Nevada,” he said.

Session said Nevada previously had men’s college track programs, noting UNLV had a track and field team in the 1980s and the University of Nevada, Reno had a team in the 1990s. He said Title IX, which was established to “equalize” sports, later led to those programs being cut at UNLV and UNR.

He said the new program gives athletes a chance to compete in-state. “It’s amazing because what happens in Nevada is most of the guys are pretty good were leaving the state to compete, because there was no place for them to compete, or they chose not to compete at all.”

Advertisement

With the new team, students now have the option to stay in Las Vegas at a four-year university while continuing their track careers.

Athletes can compete in events including the 4 × 1,500 meters relay, shot put, pole vault, and the 4 × 100 m relay.

Session said the team is small but growing and “doing well,” adding that a few athletes finished in the top five on Friday, April 3.

Yvonne Wade, NSU’s director of athletics, said the invitational will be a milestone for the new program. “This is their first time competing at home. This is our inaugural year, and they’re excited, and we have a lot of local talent that’s here to showcase what they can do,” Wade said.

Wade said Southern Nevada has a deep talent pool and that she believes the runners are competing without pressure. She said the program also allows athletes to remain in Nevada and Las Vegas while keeping hometown support.

Advertisement

Wade also emphasized the value of local coaching for local athletes. “NSU is gonna provide it. The coaching staff gonna provide a platform for success,” she said.

Before joining Nevada State University, Session was a champion coach at Centennial High School.



Source link

Continue Reading

Nevada

Judge continues Nevada ban on Kalshi sports markets

Published

on

Judge continues Nevada ban on Kalshi sports markets


A state judge in Nevada extended a temporary ban on prediction market provider Kalshi’s sports-related contracts in the Silver State on Friday.

Judge Jason Woodbury in the First Judicial District Court told attorneys at a hearing in the Carson City courthouse that he would also grant the Nevada Gaming Control Board’s request to impose a preliminary injunction against Kalshi banning it from offering some of its prediction markets until a broader court case from the state gaming regulator could be resolved. He extended the temporary restraining order he first granted on March 20 by two weeks to sort out the language of the injunction, Reuters reported Friday.

The judge’s original temporary restraining order blocked Kalshi from offering sports, entertainment and election-related bets.

The judge said buying a contract on a baseball game on Kalshi was “indistinguishable” from placing a bet on a state gaming platform, Reuters reported.

Advertisement

“So I find based on the arguments that ​have been presented that it is a gaming activity that is prohibited for any non-licensee ​to engage in,” he said.

Spokespeople for Kalshi and the Nevada Gaming Control Board did not return requests for comments.

State regulators have moved to block prediction market providers in much of the U.S., arguing that these companies’ sports-related products appear to be gambling products that should be regulated at the state level. Kalshi and other prediction market providers argue that they are federally regulated designated contract markets offering swaps, a type of derivative product, and therefore are not subject to state regulators.

The Commodity Futures Trading Commission, helmed by Chairman Mike Selig, has taken a stance agreeing with these companies. It filed an amicus brief in an appeals court case earlier this year, and sued Arizona, Illinois and Connecticut on Thursday alongside the Department of Justice, arguing that it is the proper regulator and alleging that the states are infringing on its role.

The hearing took place the same day as another hearing at a federal court in Arizona. In that hearing, Kalshi had filed to block state regulators from filing to block the prediction market provider’s products in the state. Arizona Attorney General Kris Mayes had previously filed an information alleging criminal charges against Kalshi.

Advertisement

According to the court docket, District Judge MIchael Liburdi heard arguments and is considering the motion.



Source link

Continue Reading

Nevada

Grass Valley woman scammed out of $40,000, Nevada sheriff says, warning of scammers

Published

on

Grass Valley woman scammed out of ,000, Nevada sheriff says, warning of scammers


Advertisement

Grass Valley woman scammed out of $40,000, Nevada sheriff says, warning of scammers

Advertisement

KCRA logo

Updated: 2:32 PM PDT Apr 3, 2026

Editorial Standards

Advertisement

After a woman was scammed out of $40,000 in cash, the Nevada County Sheriff’s Office is reminding others to stay aware of those looking to trick you out of your money.The sheriff’s office said that an elderly Grass Valley woman received a text message that appeared to come from a bank branch she uses. The text claimed that she was possibly facing out-of-state fraud charges on her account.In response to that claim, the sheriff’s office said the woman replied, saying she did not make the charges. The scammer then called her and told her that her account was compromised.After the phone call, the woman went to multiple banking locations at the request of the scammer, removing money from her account, ultimately resulting in her losing the $40,000.Following this case, the sheriff’s office provided some tips to help prevent scams.Protect personal information and do not share personal information with unsolicited callers or messagesBe skeptical of unexpected calls or messages claiming an account is locked or compromised and to not trust links and phone numbers providedIf someone is claiming to represent a bank, hang up and contact your bank directly using only the number listed on your card or on the bank’s official website. Keep in mind caller ID can be manipulatedCarefully check emails and websites for subtle misspellings to avoid phishing and to never provide login information through links sent in messagesVerify the legitimacy of urgent financial requests before making any immediate transfers or gift card purchases as they are common scam tactics.Regularly check bank statements for any unauthorized activityTrust your instincts if something feels suspicious or unusualReport fraud to your bank and the Federal Trade Commission.See more coverage of top California stories here | Download our app | Subscribe to our morning newsletter | Find us on YouTube here and subscribe to our channel

After a woman was scammed out of $40,000 in cash, the Nevada County Sheriff’s Office is reminding others to stay aware of those looking to trick you out of your money.

The sheriff’s office said that an elderly Grass Valley woman received a text message that appeared to come from a bank branch she uses. The text claimed that she was possibly facing out-of-state fraud charges on her account.

Advertisement

In response to that claim, the sheriff’s office said the woman replied, saying she did not make the charges. The scammer then called her and told her that her account was compromised.

After the phone call, the woman went to multiple banking locations at the request of the scammer, removing money from her account, ultimately resulting in her losing the $40,000.

Following this case, the sheriff’s office provided some tips to help prevent scams.

  • Protect personal information and do not share personal information with unsolicited callers or messages
  • Be skeptical of unexpected calls or messages claiming an account is locked or compromised and to not trust links and phone numbers provided
  • If someone is claiming to represent a bank, hang up and contact your bank directly using only the number listed on your card or on the bank’s official website. Keep in mind caller ID can be manipulated
  • Carefully check emails and websites for subtle misspellings to avoid phishing and to never provide login information through links sent in messages
  • Verify the legitimacy of urgent financial requests before making any immediate transfers or gift card purchases as they are common scam tactics.
  • Regularly check bank statements for any unauthorized activity
  • Trust your instincts if something feels suspicious or unusual
  • Report fraud to your bank and the Federal Trade Commission.

See more coverage of top California stories here | Download our app | Subscribe to our morning newsletter | Find us on YouTube here and subscribe to our channel

Advertisement

`;
}

Advertisement

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

Advertisement

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

var location = { zip: window.DEFAULT_ZIPCODE };

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

Advertisement

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.kcra.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘mobile-weather’, “https://www.kcra.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

Advertisement

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

Advertisement

updateWeatherBackground(weatherData.current.icon_name);
}
}

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

Advertisement

`;
}

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

Advertisement

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

var location = { zip: window.DEFAULT_ZIPCODE };

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

Advertisement

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.kcra.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘sidelist-weather’, “https://www.kcra.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

Advertisement

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

Advertisement

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

updateWeatherBackground(weatherData.current.icon_name);
}
}

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

Advertisement

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

Loading more articles…



Source link

Continue Reading

Trending