Question: is hard adjective or adverb?
Answer: Hard is both an adjective and an adverb. You can say "The bed was hard," using the adjective, which means it is "very firm." You can also say, "I worked hard," using the adverb, which means "with a lot of effort." Hardly is an adverb.