forecastTable = table(
nycForecastPeriods.slice(0, 6).map(
(period) => ({
Day: md`**${period.name}**`,
Temp: md`**${period.temperature} °F**`,
Icon: html`<img width=70 src="${period.icon}" style="padding:5px"/>`,
Forecast: period[forecastType]
})
)
)