In Spanish, to form exclamatory sentences meaning What a [noun], or How [adjective] we use the pronoun qué.
Have a look and listen to the following examples for What a [noun]:
Now have a look at these examples for How [adjective]:
Note that when qué is followed by an adjective, it will agree in gender and number with the noun it is referring to. For example:
¡Mira ese monumento! ¡Qué antiguo!
Look at that monument! How old (it is)!
¡Mira a esas niñas jugando! ¡Qué graciosas!
Look at those girls playing! How cute (they are)!