freeCodeCamp/curriculum/__fixtures__/challenge-jsx-comments.engl...

59 lines
892 B
Markdown

---
id: bd7123c8c441eddfaeb5bdef
title: Say Hello to HTML Elements
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVMPUv/cE8Gpt2'
forumTopicId: 18276
---
## Description
<section id='description'>
```js
// change code below this line
```
</section>
## Instructions
<section id='instructions'>
To pass the test on this challenge, change your <code>h1</code> element's text to say "Hello World".
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: Your <code>h1</code> element should have the text "Hello World".
testString: assert.isTrue((/hello(\s)+world/gi).test($('h1').text()));
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='jsx-seed'>
```jsx
{ /* Add your code below this line */ }
{ /* Add your code above this line */ }
```
</div>
</section>
## Solution
<section id='solution'>
```html
<h1>Hello World</h1>
```
</section>