Style the Juice Menu
HTML / CSS
10 pts
Style the Juice Menu
The <style> block already has a .price rule. Use classes to style Abel’s menu:
- Give all three price
<span>s the classprice. - The avocado juice is sold out. Give its
<li>the classsold-out. - In the
<style>block, write a.sold-outrule withtext-decoration: line-through;
Checklist
- Put every price in the price class.
- Mark the avocado juice as sold out.
- Write a CSS rule that crosses out sold-out items.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
