1 00:00:00,700 --> 00:00:04,970 Currently our display recipe uses only the title and source properties and 2 00:00:04,970 --> 00:00:09,050 returns those to the function call as a single formatted string. 3 00:00:09,050 --> 00:00:13,610 The first thing we need to do is start an output variable instead of returning this 4 00:00:13,610 --> 00:00:16,970 line directly we're gonna add that to the output variable. 5 00:00:25,498 --> 00:00:28,220 We can then return our output variable. 6 00:00:32,300 --> 00:00:35,040 We'll keep the title and source as our first line. 7 00:00:35,040 --> 00:00:36,070 Then we'll add a new line. 8 00:00:40,300 --> 00:00:44,310 We'll use our concatenation and; we'll add a new line character. 9 00:00:44,310 --> 00:00:48,990 Our next line will be the tags. 10 00:00:57,965 --> 00:00:59,750 We're gonna want to use an implode. 11 00:01:05,765 --> 00:01:07,210 We'll separate these with a comma. 12 00:01:08,690 --> 00:01:09,790 Let's add another line break. 13 00:01:13,992 --> 00:01:15,700 Now we can add our ingredients. 14 00:01:17,150 --> 00:01:20,070 Formatting for our ingredients is a little more complicated. 15 00:01:20,070 --> 00:01:22,630 So let's loop through the ingredients and format each line. 16 00:01:37,831 --> 00:01:39,080 First we'll add the amount. 17 00:01:47,006 --> 00:01:48,350 And then we'll add our measure. 18 00:01:55,680 --> 00:01:57,300 And finally, our item. 19 00:02:01,272 --> 00:02:04,270 We also want to add a new line after each item. 20 00:02:10,939 --> 00:02:13,780 Let's add our instructions using implode again. 21 00:02:20,421 --> 00:02:22,220 This time we'll separate with a line break. 22 00:02:30,656 --> 00:02:31,880 Let's add another line break. 23 00:02:38,010 --> 00:02:38,820 And now our yield. 24 00:02:47,500 --> 00:02:49,100 Let's take a look at this by running our code. 25 00:02:51,920 --> 00:02:54,380 This looks pretty good let's add a couple more line breaks. 26 00:02:57,094 --> 00:03:03,480 I want an extra one before our ingredients and an extra line before our instructions. 27 00:03:12,079 --> 00:03:13,040 Pull this up and try again. 28 00:03:14,350 --> 00:03:15,500 Great. That looks much better.