【发布时间】:2020-10-19 05:47:06
【问题描述】:
const URL = 'https://api.openweathermap.org/data/2.5/weather';
const API_KEY = 'f33a484cf794d08d0148764789aaba32';
<img className="city-icon" src={`https://openweathermap.org/img/wn/${weather.weather[0].icon}@2x.png`} alt={weather.weather[0].description} />
【问题讨论】:
-
顺便说一句,错误出在 CSS 文件中 - 你没有显示 CSS 文件
-
@Avinash Dwivedi,你是怎么解决这个问题的?
-
这是 React 吗?
标签: javascript css progressive-web-apps