give me an html code that align with the css code i will provide you after this statment
- User
give me an html code that align with the css code i will provide you after this statment
- Assistant
Sure, please provide me with the CSS code you would like the HTML code to align with.
- User
you are writing about a chocolate factory called "naimi" by the way, ok?
- Assistant
Of course! Here is an HTML code snippet for a webpage about a chocolate factory called "Naimi":
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Naimi Chocolate Factory</title> <link rel="stylesheet" href="styles.css"> </head> <body> <header> <h1>Welcome to Naimi Chocolate Factory</h1> </header> <nav> <ul> <li><a href="#">Home</a></li> <li><a href="#">Products</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Contact</a></li> </ul> </nav> <main> <section> <h2>About Naimi Chocolate Factory</h2> <p>Welcome to Naimi Chocolate Factory, where we create delicious and high-quality chocolates that will satisfy your sweet tooth.</p> </section> <section> <h2>Our Products</h2> <div class="product"> <img src="chocolate1.jpg" alt="Chocolate Bar"> <h3>Dark Chocolate Bar</h3> <p>A rich and indulgent dark chocolate bar made with the finest cocoa beans.</p> </div> <div class="product"> <img src="chocolate2.jpg" alt="Truffles"> <h3>Assorted Truffles</hh3> <p>A selection of creamy and decadent truffles in various flavors.</p> </div> </section> </main> <footer> <p>© 2021 Naimi Chocolate Factory. All Rights Reserved.</p> </footer> </body> </html> - User
this is the product page not the home page ok
- Assistant
Got it! Here is an updated HTML code snippet for the product page of Naimi Chocolate Factory:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Naimi Chocolate Factory - Products</title> <link rel="stylesheet" href="styles.css"> </head> <body> <header> <h1>Our Products</h1> </header> <main> <div class="product"> <img src="chocolate1.jpg" alt="Chocolate Bar"> <h2>Dark Chocolate Bar</h2> <p>A rich and indulgent dark chocolate bar made with the finest cocoa beans.</p> </div> <div class="product"> <img src="chocolate2.jpg" alt="Truffles"> <h2>Assorted Truffles</h2> <p>A selection of creamy and decadent truffles in various flavors.</p> </div> </main> <footer> <p>© 2021 Naimi Chocolate Factory. All Rights Reserved.</p> </footer> </body> </html>Please provide me with the CSS code you would like to align with this HTML code.
- User
- Assistant
Great! Here is the updated HTML code that aligns with the CSS code you provided for the product catalog page of Naimi Chocolate Factory:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Naimi Chocolate Factory - Products</title> <link rel="stylesheet" href="styles.css"> </head> <body> <header> <h1>Our Products</h1> </header> <main class="product-catalog"> <h2>Product Catalog</h2> <div class="filter-options"> <label for="filter">Filter by:</label> <select id="filter"> <option value="all">All Products</option> <option value="chocolate">Chocolate</option> <option value="truffles">Truffles</option> </select> </div> <div class="product-list"> <div class="product-item"> <img src="chocolate1.jpg" alt="Dark Chocolate Bar"> <h3>Dark Chocolate Bar</h3> <p>A rich and indulgent dark chocolate bar made with the finest cocoa beans.</p> <p class="price">$5.99</p> </div> <div class="product-item"> <img src="chocolate2.jpg" alt="Assorted Truffles"> <h3>Assorted Truffles</h3> <p>A selection of creamy and decadent truffles in various flavors.</p> <p class="price">$8.99</p> </div> </div> </main> <footer> <p>© 2021 Naimi Chocolate Factory. All Rights Reserved.</p> </footer> </body> </html>