---
id: 587d7fa8367417b2b2512bc9
title: Update the Height of an Element Dynamically
required:
- src: 'https://cdnjs.cloudflare.com/ajax/libs/d3/4.3.0/d3.min.js'
challengeType: 6
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
```yml
tests:
- text: ''
testString: 'assert($("div").eq(0).css("height") == "12px", "The first div
should have a height
of 12 pixels.");'
- text: ''
testString: 'assert($("div").eq(1).css("height") == "31px", "The second div
should have a height
of 31 pixels.");'
- text: ''
testString: 'assert($("div").eq(2).css("height") == "22px", "The third div
should have a height
of 22 pixels.");'
- text: ''
testString: 'assert($("div").eq(3).css("height") == "17px", "The fourth div
should have a height
of 17 pixels.");'
- text: ''
testString: 'assert($("div").eq(4).css("height") == "25px", "The fifth div
should have a height
of 25 pixels.");'
- text: ''
testString: 'assert($("div").eq(5).css("height") == "18px", "The sixth div
should have a height
of 18 pixels.");'
- text: ''
testString: 'assert($("div").eq(6).css("height") == "29px", "The seventh div
should have a height
of 29 pixels.");'
- text: ''
testString: 'assert($("div").eq(7).css("height") == "14px", "The eighth div
should have a height
of 14 pixels.");'
- text: ''
testString: 'assert($("div").eq(8).css("height") == "9px", "The ninth div
should have a height
of 9 pixels.");'
```
## Challenge Seed
## Solution
```js
// solution required
```