This repository contains the HTML and CSS files for the BYTE & BREW Cafe Menu concept. The menu is designed to be a simple, elegant representation of a cafe's offerings. The design features a modern layout with icons and a background image to enhance the visual appeal.
Result | Features | Technologies Used | Installation | Usage | Credits
- Background Image: A picture of coffee beans is set as the background for a cozy feel. This is done with
background-imageandbackground-size: cover, which ensures the image covers the whole screen. - Font Styling: A clean and readable font is chosen for normal text and a bold, impactful font for headings. This is done with
font-family: sans-serifandfont-family: Impact, serif.
- Container Sizing: The menu adjusts to fit the screen size. It’s set to take up 80% of the screen width but not more than 500 pixels wide, thanks to
width: 80%andmax-width: 500px. This ensures it looks good on both small and large screens. - Padding and Margins: Space is added around and inside the menu using
paddingandmarginso everything doesn’t feel too cramped.
- Center Alignment: The text and images are centered on the page. This is achieved with
text-align: centerfor text andmargin: autofor images and containers. - Inline-Block Layout: For the menu items,
display: inline-blockis used, which makes the prices line up nicely next to the item names.
- Color Palette: Soft background colors with darker text colors are used to make everything easy to read.
- Icons: Little icons are added next to the coffee and dessert sections to make the menu more fun and easy to understand. This is done with
<img>tags and setting their sizes.
- HTML
- CSS
- Font Awesome (for icons)
- Clone the repository.
- Navigate to the project directory.
- Open
index.htmlin your web browser to view the menu.
To view the menu, open index.html in your web browser. This will display the cafe menu with its background, layout, and icons as designed.
To edit the menu items or prices, open the index.html file in your code editor and modify the relevant sections under <section> tags for Coffee and Desserts.
To change the styles, edit the styles.css file. You can modify the background image, font styles, colors, and layout by adjusting the CSS properties.
Initially designed, written and tested with FreeCodeCamp. This mini project is part of the Responsive Web Design Certification, which teaches HTML (Hypertext Markup Language) for content, and CSS (Cascading Style Sheets) for design.
- Personalized the design and make it unique.
- Improved visual appeal.
- Enhanced CSS efficiency for better performance and maintainability.
These changes were made to both personalize the project and improve upon the initial design, ensuring a more polished and efficient final product.
