Use Details and Summary
HTML
Hard
2 views
Problem Description
Create a collapsible FAQ item: summary 'Is meetcode free?' and answer 'Yes, basic practice is free.'
Output Format
Print the HTML code.
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>
<details>
<summary>Is meetcode free?</summary>
<p>Yes, basic practice is free.</p>
</details>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!