---
id: 65ae458e23954c3469e0c209
title: Step 18
challengeType: 0
dashedName: step-18
---
# --description--
In earlier projects you learned about the `setAttribute` method. Another way to update an attribute in JavaScript is to use the following syntax:
```js
el.attribute = value;
```
The property names for hyphenated HTML attribute values, such as `aria-label`, follow camel case, becoming `ariaLabel`.
```js
el.ariaLabel = "Aria Label Value";
```
Set the `aria-label` attribute for the `input` element to the same value as the `id` attribute.
# --hints--
You should have an `input.ariaLabel`.
```js
assert.match(code, /input\.ariaLabel\s*=/);
```
You should assign `letter + number` to `input.ariaLabel`.
```js
assert.match(code, /input\.ariaLabel\s*=\s*letter\s*\+\s*number/);
```
# --seed--
## --seed-contents--
```html