Nested Ordered List
HTML
Medium
2 views
Problem Description
Create an ordered list where step 2 has two substeps (read, practice).
Output Format
Print the HTML code.
Constraints
Use nested ol inside li.
Official Solution
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>meetcode</title>
</head>
<body>
<ol>
<li>Sign up</li>
<li>Learn
<ol>
<li>Read notes</li>
<li>Practice on meetcode</li>
</ol>
</li>
<li>Track progress</li>
</ol>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!