--- id: 5ddb965c65d27e1512d44dd1 title: Part 58 challengeType: 0 dashedName: part-58 --- # --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. # --hints-- See description above for instructions. ```js assert( code .replace(/\s/g, '') .match( /calorieInput\.setAttribute\([\'\"\`]type[\'\"\`]\,[\'\"\`]number[\'\"\`]\)/ ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

Sex
Breakfast
Lunch
Dinner
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```