---
id: 5ddb965c65d27e1512d44dd1
title: Part 58
challengeType: 0
isHidden: true
---
## Description
Use the `setAttribute()` method of `calorieInput` to set the `type` of this input to `number`.
This is similar to how to set the class of the `output` element previously.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert( code.replace(/\s/g, '').match(/calorieInput\.setAttribute\([\'\"\`]type[\'\"\`]\,[\'\"\`]number[\'\"\`]\)/) );
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html