Categories
Web Development

02 Create your own recipe HTML page

This week we were assigned to create a web page based on a recipe found on Tasty’s YouTube page.

I chose to create my HTML page based on Claire Nolan’s very tasty recipe for Grilled Shrimp Tacos

The most difficult part of creating this page was getting the first image to link to the page. My syntax was completely off. Instead of This

  <a href="https://www.youtube.com/watch?v=WDyd8zHe4Iw"><img width="600" src="https://i.ytimg.com/vi/WDyd8zHe4Iw/maxresdefault.jpg" alt="" srcset=""></a>

I had this:

  <img width="600" src="https://i.ytimg.com/vi/WDyd8zHe4Iw/maxresdefault.jpg" alt="" srcset=""><a href="https://www.youtube.com/watch?v=WDyd8zHe4Iw"></a>

This didn’t allow for the link to connect to the image instead only showed an unclickable image.

Leave a Reply

Your email address will not be published. Required fields are marked *