Question: ```
<li class="catalog-list-item" data-icon="false">
    <a href="/items/170893265">

```

How would I get the href /items/ and console.log the ID under catalog-list-item?
I tried parentNode and stuff, nothing seems to work for me.

Answer: 
To log the `href` attribute, I'd do something like this

```
$(".catalog-list-item a").each(
   function(){
      console.log($(this).attr("href"));
   });

```

I don't completely catch the idea of logging the ID - there is no ID mentioned in your code example.
By using jQuery selector ([jQuery documentation](http://api.jquery.com/category/selectors/), [W3Schools](http://www.w3schools.com/jquery/jquery_ref_selectors.asp)), you can retrieve all anchor tags that are children of an element with the '.catalog-list-item' class. 

var allAnchorTags = $(".catalog-list-item a");

You can get the href attribute value by using [`.attr`-method](http://api.jquery.com/attr/).

With the [`.replace`-method](http://www.w3schools.com/jsref/jsref_replace.asp) you can replace the '/item/' string in front of the id.