Toddler wont eat anything before bed

👪💖

So my 2 year old is sick with a fever. He ate breakfast and lunch fine but did not eat any dinner and did not want his banana and yogurt I usually offer him before bed. Is this ok? I know he's gonna wake up because he's hungry. And can I still give him advil on an empty stomach? His fever bothers him mainly at night. He's been good with drinking water. Thanks!