1.3 KiB
1.3 KiB
id | title | challengeType | videoUrl |
---|---|---|---|
bd7123c8c441eddfaeb5bdef | Say Hello to HTML Elements | 0 | https://scrimba.com/p/pVMPUv/cE8Gpt2 |
Description
Welcome to freeCodeCamp's HTML coding challenges. These will walk you through web development step-by-step.
Lorem Ipsum with some code
Some text in a blockquote
Some text in a blockquote, with
code
<p>We aim to preserve this</p>
Instructions
To pass the test on this challenge, change your h1
element's text to say "Hello World".
Tests
tests:
- text: Your <code>h1</code> element should have the text "Hello World".
testString: assert.isTrue((/hello(\s)+world/gi).test($('h1').text()), 'Your <code>h1</code> element should have the text "Hello World".');
Challenge Seed
function testFunction(arg) {
return arg;
}
testFunction('hello');
Before Test
console.log('before the test');
After Test
console.info('after the test');
Solution
function testFunction(arg) {
return arg;
}
testFunction('hello');