It looks fine to me, although it’s definitely a bit odd to put a <br>
and the image inside your header.
That might be the problem (?), so here’s how I would do it, by separating the header and the image:
```dataviewjs
const currentHour = +moment().format('H')
let greeting, image
if (currentHour >= 18 || currentHour < 5) {
greeting = '🌙 Good evening'
image = 1
} else if (currentHour >= 5 && currentHour < 12) {
greeting = '🌞 Good morning!'
image = 2
} else {
greeting = '🌤️ Good afternoon!'
image = 3
}
dv.header(3, greeting)
dv.paragraph(`![[image${image}.jpg]]`)
```