chore: update translations (#41737)
This commit is contained in:
@ -14,7 +14,9 @@ dashedName: change-text-with-click-events
|
||||
|
||||
通过在点击事件内添加以下代码实现:
|
||||
|
||||
`document.getElementsByClassName('message')[0].textContent="Here is the message";`
|
||||
```js
|
||||
document.getElementsByClassName('message')[0].textContent="Here is the message";
|
||||
```
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
@ -14,11 +14,13 @@ dashedName: render-images-from-data-sources
|
||||
|
||||
这是执行此操作的代码:
|
||||
|
||||
`html += "<img src = '" + val.imageLink + "' " + "alt='" + val.altText + "'>";`
|
||||
```js
|
||||
html += "<img src = '" + val.imageLink + "' " + "alt='" + val.altText + "'>";
|
||||
```
|
||||
|
||||
# --instructions--
|
||||
|
||||
添加代码,在 `img` 标签中使用 `imageLink` 和 `altText` 属性。
|
||||
添加代码以在 `img` 标记中使用 `imageLink` 和 `altText` 属性。
|
||||
|
||||
# --hints--
|
||||
|
||||
|
Reference in New Issue
Block a user