fix(curriculum) replace single-line blocks with multi-line blocks for… (#41526)

* fix(curriculum) replace single-line blocks with multi-line blocks for issue 51418

Data visualization and Coding Interview Prep portions.

* Update execute-a-markov-algorithm.md

Implemented as inline code blocks as discussed

* Adding missed blocks

* Last file added
This commit is contained in:
Laurent Labine
2021-03-25 15:43:13 +01:00
committed by GitHub
parent e55aa5c7bb
commit 8e22962523
18 changed files with 77 additions and 59 deletions

View File

@ -14,7 +14,9 @@ For example, when a user clicks the `Get Message` button, it changes the text of
This works by adding the following code within the click event:
`document.getElementsByClassName('message')[0].textContent="Here is the message";`
```js
document.getElementsByClassName('message')[0].textContent="Here is the message";
```
# --instructions--

View File

@ -14,7 +14,9 @@ When you're looping through these objects, you can use this `imageLink` property
Here's the code that does this:
`html += "<img src = '" + val.imageLink + "' " + "alt='" + val.altText + "'>";`
```js
html += "<img src = '" + val.imageLink + "' " + "alt='" + val.altText + "'>";
```
# --instructions--