Elements aren't showing up under Elements tab (solved, coding error)

Hello,

I'm having issues with Safari's inspect element. Some of the elements on a webpage I'm working on aren't showing up, however they are present under the Sources tab. I'm not sure why that is. Any help would be greatly appreciated.

Thank you

Update: I made a coding error, it had nothing to do with web inspector.