Icon now showing, possible because 0-9 condition codes have begin with 0?
-
I noticed that the icon for current conditions was not showing on my site. I dug into it and saw that the class applied to the element was
icon9
, but in the CSS that condition was declared with the class.icon09
.I’m not sure if this same thing will happen with all condition codes 1-9, but it’s worth checking out. I looked at Yahoo’s documentation of condition codes, and they do not list the single digit codes with 0 in front of them:
https://developer.yahoo.com/weather/#codes
- The topic ‘Icon now showing, possible because 0-9 condition codes have begin with 0?’ is closed to new replies.