のようだ・-のような・-のように

Usage

Nの + (ようだ/ようなN/ようにV・いA・なA)

N1のN2ようだ is used at the end of the sentence, describing the characteristics of one noun (N1) by likening it to another noun (N2)

のようだ is changed into のような when modifying a noun

のようだ is changed into のように when modifying a verb or an adjective

Examples

あの病院はホテルのようだThat hospital is like a hotel
このお酒はジュースのようだ That cocktail tastes like juice
私はジュースのようなお酒しか飲まない I only drink cocktails that taste like juice.
このお酒はジュースのように甘い。 This cocktail is so sweet as juice.