• Theory
  • Theory

Text Markup, Mastery Challenge 5

You need to use the tags you learned in the chapter on text markup. Follow the example and choose the appropriate text tags.

This additional version of the challenge is designed to reinforce your text markup skills.

Solution

The solution to the challenge will be available in a few minutes. Use it if you encounter difficulties. In the meantime, try to complete the challenge on your own.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Programming and Coding</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <h1>Learning Programming</h1>
    <p>Learning to code is like solving a puzzle. Each step leads to a result, and each result opens a new path.</p>
    <h2>Code Example:</h2>
    <pre><code>const greet = () => {
  console.log('Hello, world!');
};
greet();</code></pre>
  </body>
</html>
  • index.html
HTML
HTML

You’ve gone to a different page

Click inside the mini-browser to shift the focus onto this window.

100%
Granny Muffin

Easy there, pal!

To access the Text markup challenges in the HTML and CSS basics, you need to sign up and subscribe first.