I tried making Spanish food for the first time while following a cookbook, and it was a great success.
Literal
Cooking [possessive-の] book [object-を] looking-while first-time Spanish-cooking [object-を] tried-making [and-が] great-success was.
Packs several useful patterns into one sentence: ~ながら (while doing X), 初めて (for the first time), and ~てみる (try doing to see what happens). The が here is not concessive but a soft clause connector joining two related statements. 大成功 uses the prefix 大~ for emphatic 'great.'