---
id: 587d8251367417b2b2512c61
title: Work with Nodes in a Linked List
challengeType: 1
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
```yml
tests:
- text: ''
testString: 'assert(Puppy.next.element === "Cat", "Your Puppy node should have a reference to a Cat node.");'
- text: ''
testString: 'assert(Cat.next.element === "Dog", "Your Cat node should have a reference to a Dog node.");'
```
## Challenge Seed
```js
var Node = function(element){
this.element = element;
this.next = null;
};
var Kitten = new Node("Kitten");
var Puppy = new Node("Puppy");
Kitten.next = Puppy;
// only add code below this line
// test your code
console.log(Kitten.next);
```