It is a budget machine and has the Pentium Gold processor so only has a single memory slot. You cannot have 16 gigs but you could have 8. The single 4 gig DDR4-2400 SO-DIMM could be replaced with an 8 gig. Here is the Service Manual:
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".