--- id: 5ddb965c65d27e1512d44dc8 title: Step 49 challengeType: 0 dashedName: step-49 --- # --description-- You can also add styling with the `setAttribute()` method. This method takes two arguments: the name of the attribute and the value that the attribute should be. For example, if you want to set the `width` of an `input` element to 100px, you would write `input.setAttribute('width', '100px')`. Set the `class` attribute of the `output` element equal to a class named `bordered-class`. # --hints-- See description above for instructions. ```js assert( code .replace(/\s/g, '') .match( /output\.setAttribute\([\'\"\`]class[\'\"\`]\,[\'\"\`]bordered-class[\'\"\`]\)/ ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

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