--- id: 5ddb965c65d27e1512d44dc8 title: Part 49 challengeType: 0 --- ## 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`.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert( code.replace(/\s/g, '').match(/output\.setAttribute\([\'\"\`]class[\'\"\`]\,[\'\"\`]bordered-class[\'\"\`]\)/) ); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

Sex
Breakfast
Lunch
Dinner
```
### After Test
```html ```
## Solution
```html ```