Connect with us

Iowa

Iowa Democrats consider bringing back lead off caucuses, even if it means going ‘rogue’ in 2028 – WTOP News

Published

on

Iowa Democrats consider bringing back lead off caucuses, even if it means going ‘rogue’ in 2028 – WTOP News


DES MOINES, Iowa (AP) — Just days before national Democrats gather for their annual summer meeting, Iowa’s state party officials…

DES MOINES, Iowa (AP) — Just days before national Democrats gather for their annual summer meeting, Iowa’s state party officials on Thursday said it was a mistake for the party to have abandoned Iowa in the 2024 early nominating calendar and opened up the possibility of going rogue the next time around.

In 2022, President Joe Biden ordered a shake-up of the 2024 election calendar, moving South Carolina’s primary ahead of contests in Iowa, New Hampshire and Nevada. The move forced Iowa Democrats to ditch the five-decade, first-in-the-nation caucus where community members publicly signal their support for a candidate, a process that was plagued with problems in 2020.

The state party’s criticism came with an open threat of defying the national party’s orders in 2028 as Iowa Democrats look to bring the once-competitive Midwestern state back on the radar of a party questioning its values, direction and future leaders.

Advertisement

“It was a big mistake in the Biden calendar to know that Iowa Republicans are going first here in this state and that, as Democrats, we sat and watched all this attention and the millions of dollars being spent in the state without those kinds of resources to push back on the Republican agenda,” said Rita Hart, state party chair. “That did not help us here in Iowa and it did not help us long term for the national Democratic cause.”

Hart said that would be reflected in her own response to the state party’s new survey, designed to solicit feedback from Democrats across the state on the priorities for 2028, including on the tradeoffs of the traditional caucus process and potential threats from the Democratic National Committee.

Officials in the traditionally four early-voting states — and many others — are readying themselves to campaign for top billing, even though it’s likely still two years before the Democratic National Committee actually solidifies the order. Iowa Democrats said Thursday that Ken Martin, chair of the Democratic National Committee, might unveil the process for states to make their 2028 pitch at next week’s biannual meetings.

Democratic officials said they expect to have preliminary conversations next week.

But Iowa’s Scott Brennan will no longer be a member of the DNC’s Rules and Bylaws Committee, which deals with the nominating process. That leaves Iowa without a seat at the table for the first time for the better part of 25 years, Brennan said.

Advertisement

Brennan, former state party chair, said Iowans are “rule followers by nature” but reiterated Thursday that last cycle’s process was not fair as he conveyed his own wishes for 2028: “Full speed ahead and damn the DNC.”

Last year, Iowa Democrats held caucuses eight days before any other state’s contest, as is required by Iowa law. But Democratic voters had cast their 2024 presidential preference ballots by mail, with results released that March on Super Tuesday alongside other states.

Meanwhile, New Hampshire rebelled in 2024, holding an unsanctioned primary in January, but the DNC ultimately dropped its threat to not seat the state’s national convention delegates.

Abhi Rahman, deputy communications director for the DNC, described Hart and Iowa’s DNC members as “fierce advocates” whose voices will be heard.

“The DNC is committed to running a fair, transparent, and rigorous process for the 2028 primary calendar,” Rahman said in a statement. “All states will have an opportunity to participate.”

Advertisement

Even as the Iowa Democratic Party considers going forward with a first-in-the-nation contest once again, it will still come with logistical questions. The survey includes questions on how the party should handle issues of inclusion and accessibility for the process, which has historically required participants to be registered with the party and physically present, sometimes for hours, in the evening during the heart of the Midwest winter.

While Hart said the survey is designed to better understand Iowa Democrats’ values to guide their approach to 2028, she suggested there are “too many moving pieces” to say now how that approach will look.

For now, 2028 prospects are making visits to the historically early states, including Iowa. Minnesota Gov. Tim Walz reemerged after the 2024 election loss with a town hall in Des Moines in March; Biden’s Transportation Secretary Pete Buttigieg, who performed well in the 2020 Iowa caucuses, stopped by a VoteVets Action Fund gathering in May; and Sen. Ruben Gallego of Arizona spoke to hundreds in eastern Iowa earlier this month.

Brennan seemed to suggest Iowa Democrats’ future is simple.

“The fact of the matter is is that Iowa law requires that we be a caucus,” he said, “and I think we intend to be a caucus.”

Advertisement

___

Associated Press writer Steve Peoples in New York contributed reporting.

Copyright
© 2025 The Associated Press. All rights reserved. This material may not be published, broadcast, written or redistributed.



Source link

Advertisement

Iowa

Iowa State basketball lands Northern Iowa transfer Leon Bond III

Published

on

Iowa State basketball lands Northern Iowa transfer Leon Bond III


play

The name’s Bond — Leon Bond III — and he’s Iowa State men’s basketball’s first transfer portal commit of the 2026 cycle.

Bond was one of several reported to be visiting Ames this weekend, and he announced his commitment on Friday, April 10. He will have one year of eligibility remaining.

Advertisement

Bond, a 6-foot-5, 200-pound guard from Wauwatosa, Wisconsin, spent the last two seasons at Northern Iowa, after originally starting his collegiate career at Virginia.

Bond is coming off of a career-best year with the Panthers. He averaged 11.9 points, 4.7 rebounds and 1.5 assists, while shooting 47.3% overall, 36.2% from 3-point range and 75% from the free-throw line. He earned All-Defensive Team honors in the Missouri Valley Conference and was one of the key players in helping Northern Iowa win the conference tournament and make its first NCAA Tournament appearance in a decade.

Across his two seasons in Cedar Falls with the Panthers, he appeared in 59 games with 57 starts and averaged 11 points and 4.6 rebounds per game. Before that, he played one season for former coach Tony Bennett at Virginia in 2023-24, where he played 24 games off the bench, averaging 4.1 points over 12.3 minutes per game.

Offensively, he’s a solid athlete capable of getting to the basket and making plays above the rim, while showing an improved perimeter jumper that he’s worked on over the years. Defensively, he provides versatility and an ability to guard multiple positions. His length, athleticism and motor bode well for him as he transitions into Iowa State’s system.

Advertisement

As the first transfer commit for Iowa State, Bond is helping replenish the Cyclones’ roster after the graduations of Tamin Lipsey, Joshua Jefferson, Nate Heise, Dominick Nelson and Eric Mulder.

They also saw Mason Williams and Cade Kelderman enter the portal since it first opened on April 7. College basketball players will have until April 21 to decide if they are staying with their current schools or entering the transfer portal.

Eugene Rapay covers Iowa State athletics for the Des Moines Register. Contact Eugene at erapay@gannett.com. Follow him on Twitter at @erapay5.





Source link

Advertisement
Continue Reading

Iowa

Iowa wrestling taps Jacob Warner as new assistant coach

Published

on

Iowa wrestling taps Jacob Warner as new assistant coach


play

Iowa wrestling will bring in a familiar face to fill out its coaching staff, tapping five-time NCAA All-American Jacob Warner to join as an assistant coach.

Advertisement

The Hawkeye wrestling program announced the decision on April 10. He replaces Bobby Telford, who took a position outside of wrestling after the 2025-26 season ended.

With Warner’s hire, all four official coaching positions at Iowa are held by former Hawkeye wrestlers — head coach Tom Brands, associate head coach Terry Brands, assistant coach Ryan Morningstar and Warner. (Telford also wrestled for the Hawkeyes.)

While Warner does not have official coaching experience, being in the Hawkeye Wrestling Club allowed him to help sharpen athletes still competing in the college ranks. Warner has been credited by several wrestlers in the program for helping their development, none bigger than national champion Stephen Buchanan.

“Jacob knows what it takes to compete at the highest level, both on and off the mat,” Tom Brands said in a release. “He represents everything Iowa wrestling stands for. His toughness, discipline and relentless work ethic will be a tremendous asset to our staff and our student-athletes.”

Advertisement

As a wrestler, Warner had a career record of 97-28 in a Hawkeye singlet. He took seventh at the NCAA Championships in 2019 as a redshirt freshman, earned All-American honors for the canceled 2020 NCAA Championships, then was fourth in 2021, an NCAA runner-up in 2022 and finished his career in fifth place in 2023. Warner also has experience on the major World stages. He won a bronze medal at the 2016 Cadet World Championships and was on the 2018 Junior World team for the United States.

The Hawkeyes have a pivotal 2026-27 season ahead, following a fourth-place finish at the NCAA Championships and a regular season to forget. Time will tell whether Warner’s official addition to the staff can help spark better results as the Hawkeyes look to return to their championship ways.

“Our fans, I see them on the street, I see them here, I see them there, I say, ‘We got to do better for you,’” Tom Brands said after the NCAA Championships. “We know that.”

Eli McKown covers high school sports and wrestling for the Des Moines Register. Contact him at Emckown@gannett.com. Follow him on Twitter at @EMcKown23.

Advertisement





Source link

Continue Reading

Iowa

Iowa State women’s basketball team adds transfer guard from Kent State

Published

on

Iowa State women’s basketball team adds transfer guard from Kent State


Iowa State women’s basketball team adds transfer guard from Kent State

Advertisement

ROUND PICK. WE’LL BE PULLING FOR HIM. THE DRAFT STARTS THURSDAY, APRIL 23RD. CYCLE IN. WOMEN LOST NEARLY THEIR ENTIRE ROSTER THURSDAY. THEY GOT ONE BACK. MAYA BABBITT IS COMING OVER FROM KENT STATE. SHE LED THAT TEAM AT 16 POINTS PE

Advertisement

Iowa State women’s basketball team adds transfer guard from Kent State

Updated: 10:40 PM CDT Apr 9, 2026

Editorial Standards

Advertisement

Iowa State got a strong start on its 2026 transfer class Thursday.Kent State guard Mya Babbitt announced her commitment to Iowa State.Babbitt, a 5’8″ guard from Papillion, Nebraska, has been a two-year starter for the Golden Flashes and earned second-team All-MAC honors in 2025-26 after averaging 16.1 points and 4.0 rebounds per game. She also set the Kent State record for 3-pointers in a season as a sophomore, making 83 3-pointers at a 41.5% clip.Babbitt is the first incoming transfer to announce her commitment to Iowa State this offseason. She will have one year of eligibility remaining.The Cyclones are tasked with replacing nearly the entire roster from 2025-26 after nine players entered the transfer portal.Senior-to-be Arianna Jackson has announced her return, as has reserve guard Freya Jensen. Iowa State also brings in highly touted recruit Macy Comito. Comito led Carlisle High School to its first state title this winter.» Subscribe to KCCI’s YouTube page» Download the free KCCI app to get updates on the go: Apple | Google Play

Iowa State got a strong start on its 2026 transfer class Thursday.

Advertisement

Kent State guard Mya Babbitt announced her commitment to Iowa State.

Babbitt, a 5’8″ guard from Papillion, Nebraska, has been a two-year starter for the Golden Flashes and earned second-team All-MAC honors in 2025-26 after averaging 16.1 points and 4.0 rebounds per game. She also set the Kent State record for 3-pointers in a season as a sophomore, making 83 3-pointers at a 41.5% clip.

This content is imported from Twitter.
You may be able to find the same content in another format, or you may be able to find more information, at their web site.

Advertisement

Babbitt is the first incoming transfer to announce her commitment to Iowa State this offseason. She will have one year of eligibility remaining.

The Cyclones are tasked with replacing nearly the entire roster from 2025-26 after nine players entered the transfer portal.

Senior-to-be Arianna Jackson has announced her return, as has reserve guard Freya Jensen. Iowa State also brings in highly touted recruit Macy Comito. Comito led Carlisle High School to its first state title this winter.

» Subscribe to KCCI’s YouTube page

» Download the free KCCI app to get updates on the go: Apple | Google Play

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’);

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.kcci.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘mobile-weather’, “https://www.kcci.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

`;
}

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’);
});

Advertisement

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’);
});

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 };

Advertisement

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;

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’);

Advertisement

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.kcci.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘sidelist-weather’, “https://www.kcci.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 || ”;

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);
}

Advertisement

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);
}

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;

Advertisement

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

Loading more articles…



Source link

Advertisement
Continue Reading

Trending