Link to External Pages with Anchor Elements (help)

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

I have written this code and keep get error. Please what’s missing in the code.

<a “href=”>Cat photos

Link to the challenge:

hi @JOSH-360
your Anchor tag should be like this

<a href=''>Cat photos</a>
  1. Your missing the closing anchor tag
  1. The href attribut shoold be like :

HAPPY CODING :slight_smile:

1 Like