Interactive online courses HTML Academy
2026-03-09 10:46 Diff
  • index.html
  • style.css

HTML

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Adaptive menu, part 2</title> <link href="course.css" rel="stylesheet"> <link href="style.css" rel="stylesheet"> </head> <body class="subtle"> <header> <div class="logo"> <img src="img/keksby.svg" alt=""> </div> <div class="menu"> <div> <a href="#">Meat</a> </div> <div> <a href="#">Fish</a> </div> <div> <a href="#">Milk</a> </div> <div> <a href="#">Cheese</a> </div> </div> </header> </body> </html>

Thanks! We’ll fix everything at once!

You’ve gone to a different page

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

100%

  1. In the .menu between the two div elements with the text Fish and Milk add another div element with the text link Sour Cream.
  2. Then assign the menu the width 80%.