Company logo
html logo
Back
Next

Challenge 2

Instructions:

Sometimes in text you need to make a word or sentence stand out. In this challenge you will learn how to make a word or sentence emphasised or bold by using <em> for emphasis and <strong> for bold.

Steps:

  1. Create a <p> element below the <h2> element and give it the content "The quick brown fox jumps over the lazy dog"
  2. Wrap the word "quick" in a <em> element (<em>quick</em>)
  3. Create another <p> element and give it the content "Please remember to bring your laptop tomorrow"
  4. Wrap the word "laptop" in a <strong> element
  5. Your output should look like this
    image of completed challenge

Hint: The test is case sensitive

Hint: When we say wrap a word in an <em> element, here's an example of how it should look <em>quick</em> it's the same with <strong>