• ▼HTML CSS Exercises, Practice, Solution
  • Introduction
  • HTML Basic Exercises
  • HTML and CSS Exercises
  • CSS Properties Exercises
  • ▼HTML-CSS Practical Exercises
  • HTML-CSS Practical Exercise Part-I
  • HTML-CSS Practical Exercise Part-II
  • HTML-CSS Practical Exercise Part-III
  • More to Come ...

HTML CSS Exercise, Practice and Solution

Sharpen your skills with these html css exercises from w3resource.

Alongside studying HTML and CSS tutorials from w3resource, you need to practice HTML and CSS extensively to hone your Frontend Development skills. Here is a list of exercises we published till now. Subscribe to our RSS feed for more exercises.

HTML Basic Exercises [HTML Tags and their Attributes, Hundreds of exercises]

HTML and CSS [34 exercises]

CSS Properties Exercises [166 exercises]

HTML-CSS Practical Exercise Part-I [15 exercises with solution]

HTML-CSS Practical Exercise Part-II [16-30 exercises with solution]

HTML-CSS Practical Exercise Part-III [31-45 exercises with solution]

See the Pen html css common editor by w3resource ( @w3resource ) on CodePen .

  • Weekly Trends and Language Statistics

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code

Faraz Logo

By Faraz - Last Updated: September 04, 2024

Explore 100 beginner-friendly HTML and CSS projects with source code. Kickstart your coding journey with hands-on practice, tutorials, and easy-to-follow examples.

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code.jpg

HTML and CSS form the backbone of web development, and mastering them is crucial for anyone aspiring to become a web developer. One effective way to enhance your skills is by working on mini-projects. In this article, we'll explore a collection of 100 HTML and CSS projects suitable for beginners, each accompanied by its source code.

Table of Contents

Introduction to HTML and CSS Mini Projects

HTML (Hypertext Markup Language) and CSS (Cascading Style Sheets) are fundamental technologies for building web pages. Mini projects provide a practical approach for beginners to apply their knowledge and gain hands-on experience.

1. Glowing Search Bar

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Glowing Search Bar

Enhance your web development skills with our first mini project - the Glowing Search Bar. This engaging HTML and CSS project not only teaches you the basics of form design but also introduces a captivating glowing effect. Users will learn how to create an interactive search bar that lights up when clicked, adding a touch of sophistication to any website. Dive into the provided source code to understand the underlying structure and make your web pages shine.

2. Social Media Icons

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Social Media Icons

In the vast world of web development, incorporating social media icons seamlessly into your website is a crucial skill. Our second mini-project focuses on just that. Learn how to design and implement stylish social media icons using HTML and CSS. The accompanying source code breaks down the process step by step, empowering beginners to create visually appealing icons that link directly to their respective profiles.

3. Drop Down Menu

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Drop Down Menu

Navigation is key in creating user-friendly websites, and our third mini project, the Drop Down Menu, will teach you just that. This project delves into HTML and CSS to guide you through the creation of a sleek and functional drop-down menu. Understand the coding principles behind building a responsive navigation system that enhances the user experience. The provided source code ensures that beginners can grasp the concepts and implement this essential feature in their own projects effortlessly.

4. Simple Calculator

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Simple Calculator

Explore the fundamentals of interactive web applications with our Simple Calculator mini project. This HTML and CSS project introduces the basics of form handling and user input. Users will discover how to create a minimalist calculator using straightforward code. Dive into the source code to comprehend the logic behind each function, gaining valuable insights into building more complex applications in the future.

5. Login Form

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Login Form

Security is paramount in the online world, making the creation of effective login forms a crucial skill for any web developer. Our fifth mini project guides beginners through the process of building a user-friendly Login Form using HTML and CSS.

6. Registration Form

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Registration Form

Strengthen your grasp on web development by creating a Registration Form using HTML and CSS. This mini project walks beginners through the process of building a form that captures user details efficiently.

7. Animated Search Button

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Animated Search Button

Elevate the visual appeal of your website with an Animated Search Button. This mini project delves into HTML and CSS animations, teaching beginners how to add dynamic elements to their pages. The provided source code breaks down the animation process, empowering users to implement eye-catching search buttons that enhance user engagement and interactivity.

8. Breadcrumb

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Breadcrumb

Navigation is made seamless with the Breadcrumb mini project. Learn how to create a breadcrumb trail using HTML and CSS, aiding users in understanding their location within a website. The source code provides a step-by-step guide, making it easy for beginners to integrate this essential navigation feature into their web pages effectively.

9. Carousel Sliders

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Carousel Sliders

Delve into the world of dynamic content presentation with Carousel Sliders. This mini project introduces HTML and CSS techniques to create engaging image sliders. By exploring the source code, beginners can comprehend the logic behind carousel functionality, paving the way for them to showcase content in a visually appealing and interactive manner.

10. Loaders

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Loaders

Master the art of visual feedback with Loaders. This mini project focuses on creating loading animations using HTML and CSS, enhancing the user experience on your website. The source code offers a comprehensive understanding of designing and implementing loaders, providing beginners with the tools to make their websites more dynamic and user-friendly.

11. Radio Button

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Radio Button

Dive into form elements with the Radio Button mini project. This HTML and CSS project guide beginners through the creation and styling of radio buttons, adding interactivity to user input forms.

12. Blog Card Grid

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Blog Card Grid

Enhance the visual appeal of your blog layout with the Blog Card Grid mini project. Using HTML and CSS, beginners can learn to create an organized and stylish grid of blog cards. The accompanying source code breaks down the structure and styling, offering insights into designing captivating blog layouts for a more engaging user experience.

13. Responsive Footer

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Responsive Footer

Complete your website with a polished touch by mastering the art of a Responsive Footer. This mini project focuses on creating a bottom section that adapts seamlessly to various screen sizes.

14. Responsive Navbar

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Responsive Navbar

Navigation is made effortless with the Responsive Navbar mini project. Learn to create a navigation bar that adjusts gracefully to different screen sizes using HTML and CSS. The source code provides a step-by-step guide, enabling beginners to implement responsive navigation for an optimal user experience.

15. Switch Button

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Switch Button

Add a touch of interactivity to your website with the Switch Button mini project. Using HTML and CSS, beginners can learn to create a toggle switch for various settings.

16. Bottom Tab Bar

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Bottom Tab Bar

Explore mobile-friendly navigation with the Bottom Tab Bar mini project. Using HTML and CSS, beginners can create a sleek bottom navigation bar commonly found in mobile applications. The source code provides insights into the structure and styling, making it easy for users to implement this intuitive navigation feature on their websites.

17. To Do List

Collection of 100 HTML and CSS Projects for Beginners with Source Code - To Do List

Organize tasks efficiently with the To-Do List mini project. Using HTML and CSS, beginners can learn the basics of creating a dynamic task list with checkboxes.

18. Landing Page

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Landing Page

Make a striking first impression with the Landing Page mini project. Learn to design and structure an appealing landing page using HTML and CSS. The source code breaks down the components, empowering beginners to create captivating entry points for their websites or projects.

19. Card Design

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Card Design

Elevate your content presentation with the Card Design mini project. Using HTML and CSS, beginners can explore the art of creating visually appealing cards to showcase information or products.

20. Login and Sign-Up Form

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Single Page Login and Sign-Up Form

Strengthen your form-building skills with the Login and Sign-Up Form mini project. Using HTML and CSS, beginners can create a comprehensive user authentication system.

21. Neon Button

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Neon Button

Add a vibrant and eye-catching element to your website with the Neon Button mini project. This attention-grabbing button design stands out, encouraging user interaction. Elevate the visual appeal of your site and draw attention to important calls-to-action with this electrifying HTML and CSS project.

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Modal Popup Window

Improve user interaction and focus with the Modal mini project. This feature allows you to display additional content or prompts in a pop-up window without navigating away from the current page. Enhance user engagement and create a more immersive experience on your website with this versatile HTML and CSS project.

23. Split Text

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Split Text

Bring a creative touch to your website's typography with the Split Text mini project. This eye-catching effect divides text into distinct elements, adding visual interest to headings and other textual content.

24. Product Page

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Animated Product Page

Showcase your products effectively with the Product Page mini project. Learn to structure and style a compelling page using HTML and CSS. The source code breaks down the components, providing beginners with a foundation for creating engaging and informative product pages on their websites.

25. Button with Border Animation

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Button with Border Animation

Elevate your button designs with the Button with Border Animation mini project. Using HTML and CSS, beginners can explore the creation of buttons with dynamic border animations.

26. Google WebPage Clone

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Google WebPage Clone

Hone your web development skills by recreating the iconic Google WebPage. This ambitious mini project uses HTML and CSS to guide beginners through the process of cloning Google's homepage.

27. Glitch Text Effect

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Glitch Text Effect

Embrace the digital aesthetic with the Glitch Text Effect mini project. Using HTML and CSS, beginners can learn to create text elements with a glitchy, distorted appearance.

28. Apple Website Clone

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Apple Website Clone

Learn from the best by cloning Apple's website with this mini project. Using HTML and CSS, beginners can explore the intricacies of designing a modern and sleek webpage.

29. Spinners and Loaders

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Spinners and Loaders

Optimize the user experience during loading times with the Spinners and Loaders mini project. These visually pleasing loading animations entertain users and signal that content is on its way. Improve user retention and satisfaction by incorporating these stylish loaders, turning potential wait times into engaging interactions.

30. NFT Landing Page

Collection of 100 HTML and CSS Projects for Beginners with Source Code - NFT Landing Page

Explore the world of non-fungible tokens (NFTs) with the NFT Landing Page mini project. This project allows you to create a dedicated page for showcasing NFT collections or information. Stay on top of current trends in web development and cater to niche interests by incorporating this HTML and CSS project into your site.

31. Accordion

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Accordion

Enhance your webpage's content organization with the Accordion mini project. Using HTML and CSS, beginners can learn to create collapsible sections, saving space and improving user navigation. Dive into the source code to understand the structure and styling, enabling you to implement accordions seamlessly into your websites.

32. Social Media Icons with Tooltip

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Social Media Icons with Tooltip

Elevate your social media presence with Social Media Icons featuring Tooltips. This mini project focuses on combining HTML and CSS to design and implement icons with interactive tooltips. Explore the source code to understand the principles behind creating visually appealing icons that provide additional information when hovered over.

33. Neobrutalism Sign-up Form

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Neobrutalism Sign-up Form

Embrace the modern design trend of neobrutalism with the Neobrutalism Sign-up Form. This mini project uses HTML and CSS to guide beginners through the creation of a sleek and minimalist sign-up form. Dive into the source code to understand the styling techniques, adding a touch of contemporary aesthetics to your web pages.

34. Responsive Card

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Responsive Card

Master the art of creating cards that adapt to various screen sizes with the Responsive Card mini project. Using HTML and CSS, beginners can learn to design cards that look great on both desktop and mobile devices. Explore the source code to understand responsive design principles, ensuring a polished appearance on all platforms.

35. Circular Grid

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Circular Grid

Explore a unique layout with the Circular Grid mini project. Using HTML and CSS, beginners can learn to arrange elements in a circular pattern, adding a creative touch to their web pages.

Collection of 100 HTML and CSS Projects for Beginners with Source Code - 5-Star Rating

Add a user-friendly rating system to your website with the Rating mini project. Using HTML and CSS, beginners can learn to create interactive star or number-based ratings.

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Clock

Introduce dynamic elements to your website with the Clock mini project. Using HTML and CSS, beginners can learn to design and implement a digital or analog clock.

38. Glassmorphism Loader

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Glassmorphism Loader

Stay on top of design trends with the Glassmorphism Loader mini project. Using HTML and CSS, beginners can learn to create loaders with a glass-like frosted glass effect. Explore the source code to understand styling techniques, allowing you to incorporate this trendy design element into your websites.

39. Checkout Form

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Checkout Form

Perfect your e-commerce user experience with the Checkout Form mini project. Using HTML and CSS, beginners can learn to create a comprehensive and visually appealing checkout form.

40. Modern Tooltips

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Modern Tooltips

Upgrade your website's tooltips with the Modern Tooltips mini project. Using HTML and CSS, beginners can learn to design and implement tooltips that align with contemporary design trends. Explore the source code to understand styling techniques, adding informative and visually appealing tooltips to your web pages.

41. Product Landing Page

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Product Landing Page

Create a compelling showcase for your products with the Product Landing Page mini project. This feature allows you to present product details, images, and calls-to-action in a visually appealing layout.

42. Neumorphic Button

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Neumorphic Button

Embrace the neumorphic design trend with the Neumorphic Button mini project. Using HTML and CSS, beginners can learn to create buttons with a soft and tactile appearance. Dive into the source code to understand styling techniques, adding a touch of modern aesthetics to your web pages.

43. Maintenance Page

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Maintenance Page

Handle website maintenance gracefully with the Maintenance Page mini project. Using HTML and CSS, beginners can learn to design a visually appealing maintenance page that keeps users informed.

44. Neumorphic Gradient Loader

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Neumorphic Gradient Loader

Stay at the forefront of design trends with the Neumorphic Gradient Loader mini project. Using HTML and CSS, beginners can learn to create loaders with a neumorphic design and gradient background.

45. Industrial Web Design

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Industrial Web Design

Embrace an industrial aesthetic with the Industrial Web Design mini project. Using HTML and CSS, beginners can learn to design web pages with a rugged and mechanical look. Dive into the source code to understand styling techniques, adding a unique and thematic touch to your web projects.

46. Animated Checkbox

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Animated Checkbox

Add a touch of animation to user interactions with the Animated Checkbox mini project. Using HTML and CSS, beginners can learn to create checkboxes with engaging animations.

47. Responsive Grid List

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Responsive Grid List

Master the art of designing responsive grid lists with this mini project. Using HTML and CSS, beginners can learn to create lists that adapt gracefully to different screen sizes. Dive into the source code to understand responsive design principles, ensuring a polished appearance on various devices.

48. Marquee

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Marquee

Bring a dynamic touch to your website with the Marquee mini project. Using HTML and CSS, beginners can learn to create scrolling text or images.

49. Filter Menu

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Filter Menu

Enhance user navigation with the Filter Menu mini project. Using HTML and CSS, beginners can learn to create interactive menus that filter content based on user selections.

50. Comments Section

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Comments Section

Encourage user interaction and community engagement with the Comments Section mini project. This project provides a platform for users to share their thoughts and feedback.

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Team Member List

Explore the fundamentals of list design with this mini project. Using HTML and CSS, beginners can learn to create well-organized and visually appealing lists. Dive into the source code to understand the principles behind list styling, adding a touch of sophistication to your web pages.

52. Social Media Buttons

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Social Media Buttons

Amplify your social media presence with Social Media Buttons. This mini project uses HTML and CSS to guide beginners through the process of designing and implementing buttons that link directly to social media profiles.

53. Neubrutalism Cards

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Neubrutalism Cards

Embrace the neobrutalist design trend with Neubrutalism Cards. This mini project uses HTML and CSS to guide beginners through the creation of cards with a minimalist and raw aesthetic.

54. WhatsApp Web Interface

Collection of 100 HTML and CSS Projects for Beginners with Source Code - WhatsApp Web Interface Clone

Replicate the familiar interface of WhatsApp for the web with this mini project. Using HTML and CSS, beginners can explore the structure and styling of a messaging application's web interface.

55. 3D Gradient Card

Collection of 100 HTML and CSS Projects for Beginners with Source Code - 3D Gradient Card

Add depth to your card designs with the 3D Gradient Card mini project. Using HTML and CSS, beginners can learn to create cards with a three-dimensional appearance and gradient background.

56. Hamburger Menu

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Hamburger Menu

Streamline navigation on your website with the Hamburger Menu mini project. Using HTML and CSS, beginners can learn to create a responsive and visually appealing menu that collapses into a hamburger icon on smaller screens.

57. Transitional Buttons

Collection of 100 HTML and CSS Projects for Beginners with Source Code - Transitional Buttons

Add a touch of elegance to your buttons with the Transitional Buttons mini project. Using HTML and CSS, beginners can learn to create buttons with smooth transitions between states.

58. Our Services Section

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Our Services Section

Showcase your offerings effectively with the Our Services Section mini project. Using HTML and CSS, beginners can learn to design and structure a dedicated section highlighting the services offered.

59. Survey Form

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Survey Form

Gather valuable insights from users with the Survey Form mini project. Using HTML and CSS, beginners can learn to create a comprehensive and visually appealing survey form.

60. Flower Shop Template

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Flower Shop Template

Create a visually stunning online presence for a flower shop with the Flower Shop Template mini project. Using HTML and CSS, beginners can explore the design and structure of a website template tailored for a floral business.

61. YouTube Clone

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - YouTube Clone

Embark on a comprehensive web development journey with the YouTube Clone mini project. Using HTML and CSS, beginners can explore the design and structure of a simplified version of the popular video-sharing platform.

62. Fruit Shop

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Fruit Shop

Create a vibrant and visually appealing online presence for a Fruit Shop with the Fruit Shop mini project. Using HTML and CSS, beginners can explore the design and structure of a website template tailored for a fresh produce business.

63. Comment Box

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Comment Box

Foster user interaction on your website with the Comment Box mini project. Using HTML and CSS, beginners can learn to design and structure a visually appealing comment section.

64. Gooey Effect Loader

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Gooey Effect Loader

Stay on the cutting edge of design trends with the Gooey Effect Loader mini project. Using HTML and CSS, beginners can learn to create loaders with a gooey, liquid-like effect.

65. Spotify Clone

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Spotify Clone

Immerse yourself in the world of music streaming with the Spotify Clone mini project. Using HTML and CSS, beginners can explore the design and structure of a simplified version of the popular music platform. The source code provides insights into creating a visually appealing interface for music playback and exploration.

66. Social Media Share Buttons

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Social Media Share Buttons

Boost your content's visibility with Social Media Share Buttons. This mini project focuses on using HTML and CSS to design and implement buttons that facilitate easy sharing of content on various social media platforms.

67. Tailwind CSS Accordion

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Tailwind CSS Accordion

Dive into the world of utility-first CSS with the Tailwind CSS Accordion mini project. Beginners can explore the design and structure of an accordion component using the Tailwind CSS framework. The source code provides insights into creating a responsive and customizable accordion for efficient content organization.

68. Tailwind CSS Timeline

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Tailwind CSS Timeline

Master the art of creating timelines with the Tailwind CSS Timeline mini project. Using the Tailwind CSS framework, beginners can explore the design and structure of a responsive timeline component.

69. Testimonials

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Testimonials

Showcase positive feedback and build trust with the Testimonials mini project. Using HTML and CSS, beginners can learn to design and structure a section dedicated to displaying customer testimonials. Explore the source code to understand the layout and styling, ensuring an impactful presentation of client reviews on your website.

70. Blog Post Layout

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Blog Post Layout

Elevate your content presentation with the Blog Post Layout mini project. Using HTML and CSS, beginners can explore the design and structure of a visually appealing blog post template. The source code offers insights into creating an engaging and well-organized layout for sharing articles on your website.

71. Tag Cloud

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Tag Cloud

Enhance content categorization with the Tag Cloud mini project. Using HTML and CSS, beginners can learn to design and structure a visually appealing tag cloud. Dive into the source code to understand the layout and styling, ensuring an effective and dynamic way to display tags on your web pages.

72. Not Found Page

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - 404 Not Found Page

Handle 404 errors gracefully with the Not Found Page mini project. Using HTML and CSS, beginners can explore the design and structure of a visually appealing 404 error page. The source code offers insights into creating a user-friendly and informative experience for visitors who encounter missing pages on your website.

73. Simple Search Bar

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Simple Search Bar

Enhance user navigation with the Simple Search Bar mini project. Using HTML and CSS, beginners can learn to design and structure a clean and efficient search bar.

74. Range Slider

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Range Slider

Master the art of user input with the Range Slider mini project. Using HTML and CSS, beginners can explore the design and structure of a visually appealing slider component. Dive into the source code to understand the principles behind creating interactive sliders, adding a dynamic element to your web pages.

75. Comic Book Layout

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Comic Book Style Grid Layout

Bring a touch of creativity to your website with the Comic Book Layout mini project. Using HTML and CSS, beginners can explore the design and structure of a visually engaging comic book-inspired layout.

76. Skeleton Loading

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Skeleton Loading

Optimize user experience during page loading with the Skeleton Loading mini project. Using HTML and CSS, beginners can learn to design and structure a skeleton loading animation that provides visual feedback while content loads. Dive into the source code to understand the styling techniques, ensuring a smooth transition for users.

77. Coming Soon Page

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Coming Soon Page

Build anticipation for your upcoming projects with the Coming Soon Page mini project. Using HTML and CSS, beginners can explore the design and structure of a visually appealing page that teases upcoming content or features. The source code offers insights into creating an attractive and informative coming soon experience for your audience.

78. Pricing Page

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Pricing Page

Present your product or service offerings effectively with the Pricing Page mini project. Using HTML and CSS, beginners can learn to design and structure a comprehensive pricing page. Explore the source code to understand the layout and styling, ensuring a clear and visually appealing presentation of your pricing tiers.

79. Bank Dashboard

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Bank Dashboard

Dive into the world of financial user interfaces with the Bank Dashboard mini project. Using HTML and CSS, beginners can explore the design and structure of a simplified bank dashboard. The source code provides insights into creating a user-friendly and visually appealing platform for managing financial information.

80. Star Rating

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Star Rating

Implement a customizable star rating system with the Star Rating mini project. Using HTML and CSS, beginners can learn to design and structure interactive star-based ratings.

81. Bootstrap 5 Navbar

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Bootstrap 5 Navbar

Explore the power of Bootstrap 5 with the Bootstrap 5 Navbar mini project. Using HTML and the Bootstrap framework, beginners can learn to create a responsive and feature-rich navigation bar. Dive into the source code to understand the Bootstrap classes and styling techniques, ensuring a sleek and functional navbar for your web pages.

82. HTML Table

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - HTML Table

Master the art of data presentation with the HTML Table mini project. Using HTML and CSS, beginners can learn to design and structure a clean and organized table. Explore the source code to understand the principles behind creating responsive and visually appealing tables for displaying various types of data on your web pages.

83. Login Modal Form

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Login Modal Form

Enhance user interactions with the Login Modal Form mini project. Using HTML and CSS, beginners can learn to design a sleek modal form that provides a seamless login experience. Dive into the source code to understand the styling techniques, ensuring an elegant and user-friendly modal for your web pages.

84. Movie Poster Cards

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Movie Poster Cards

Dive into the world of cinema with the Movie Poster Cards mini project. Using HTML and CSS, beginners can learn to design visually appealing cards showcasing movie posters. Explore the source code to understand styling techniques, ensuring an engaging and attractive presentation of movie information on your web pages.

85. Text Overlay

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Text Overlay

Elevate your image presentations with the Text Overlay mini project. Using HTML and CSS, beginners can learn to overlay text on images, creating a visually dynamic effect.

86. Sticky Call Button

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Sticky Call Button

Improve user accessibility with the Sticky Call Button mini project. Using HTML and CSS, beginners can learn to create a button that remains fixed on the screen, providing quick access to essential actions. Explore the source code to understand the principles behind creating a sticky call button for enhanced user engagement.

87. Weather App Interface

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Weather App Interface

Bring real-time weather information to your website with the Weather App Interface mini project. Using HTML and CSS, beginners can explore the design and structure of an intuitive weather application interface. Dive into the source code to understand styling techniques, ensuring a visually appealing and informative weather display.

88. Tailwind CSS Modern Buttons

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Tailwind CSS Modern Buttons

Embrace the simplicity and flexibility of Tailwind CSS with the Tailwind CSS Modern Buttons mini project. Beginners can explore the design and styling of modern buttons using the Tailwind CSS framework.

89. Button with Hover Effects

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Button with Hover Effects

Elevate your button designs with interactive hover effects in the Button with Hover Effects mini project. Using HTML and CSS, beginners can learn to create buttons that respond dynamically to user interactions.

90. Code Snippets

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Code Snippets

Showcase your code snippets effectively with the Code Snippets mini project. Using HTML and CSS, beginners can learn to design a visually appealing container for displaying code snippets.

91. Underline Hover Effect

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Underline Hover Effect

Add a subtle but effective hover effect with the Underline Hover Effect mini project. Using HTML and CSS, beginners can learn to create links that underline dynamically upon hovering.

92. Animated Wave Footer

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Animated Wave Footer

Make a lasting impression with the Animated Wave Footer mini project. Using HTML and CSS, beginners can learn to design a footer with a dynamic wave animation.

93. Animated Wave Banner

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Animated Wave Banner

Capture attention with the Animated Wave Banner mini project. Using HTML and CSS, beginners can explore the design and structure of a banner with a captivating wave animation. Dive into the source code to understand animation techniques, creating an eye-catching introduction to your web pages.

94. Tailwind CSS Resume

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Tailwind CSS Resume

Craft a professional online resume with the Tailwind CSS Resume mini project. Beginners can explore the design and styling of a modern and responsive resume using the Tailwind CSS framework.

95. Blog Card

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Blog Card

Enhance your blog layout with the Blog Card mini project. Using HTML and CSS, beginners can learn to design visually appealing cards to showcase blog posts. Explore the source code to understand styling techniques, ensuring an organized and engaging presentation of blog content on your web pages.

96. Tile Spinner

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Tile Spinner

Add a touch of dynamism to your website with the Tile Spinner mini project. Using HTML and CSS, beginners can learn to create a spinner animation that adds visual interest during page loading.

97. Pagination

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Pagination

Improve navigation through content with the Pagination mini project. Using HTML and CSS, beginners can learn to design and structure a pagination system. Explore the source code to understand the layout and styling, ensuring an efficient and user-friendly way to navigate through multiple pages of content on your website.

98. Wooden Toggle Button

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Wooden Toggle Button

Bring a unique aesthetic to your user interface with the Wooden Toggle Button mini project. Using HTML and CSS, beginners can learn to design a toggle button with a wooden texture.

99. Neumorphic Buttons

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Neumorphic Buttons

Embrace the neumorphic design trend with the Neumorphic Buttons mini project. Using HTML and CSS, beginners can learn to create buttons with a soft and tactile appearance.

100. Fire Animation

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Fire Animation

Conclude your mini project collection with a dynamic touch using the Fire Animation mini project. Using HTML and CSS, beginners can explore the design and structure of a captivating fire animation.

101. Ecommerce Product List

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Ecommerce Product List

Enhance your website's functionality with the Ecommerce Product List mini project. Using HTML and CSS, beginners can master the art of designing and organizing product listings effectively. Dive into the source code to grasp the structure and styling, ensuring a seamless and visually appealing presentation of products on your ecommerce platform. Learn how to display product images, descriptions, and prices in a clear and user-friendly format, optimizing the browsing experience for your customers.

102. Attendee Badge

Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code - Attendee Badge

Creating an attendee badge is a simple yet useful project for beginners in web development. This project will help you learn how to design and structure a badge using HTML and style it with CSS. You'll explore how to display text, images, and other details neatly. It's a great way to practice your skills and create something that could be used in real events or online. This project will give you a basic understanding of layout design and styling in web development .

Mastering web development requires a combination of theoretical knowledge and hands-on experience. The collection of 100 HTML and CSS projects presented here offers a practical approach to learning, allowing you to enhance your skills in a structured manner.

Remember, the key to becoming a proficient web developer lies in consistent practice and exploration. As you work through these mini projects, don't hesitate to experiment, modify, and make each project your own. The journey of a web developer is both challenging and rewarding, and these mini projects are your stepping stones to success.

Frequently Asked Questions (FAQs)

1. do i need any special software for these projects.

All you need is a code editor and a web browser. No fancy software is required – just your enthusiasm for coding!

2. How can I get feedback on my projects?

Consider sharing your projects on platforms like GitHub , CodePen, or web development communities to receive constructive feedback.

3. Are these projects suitable for absolute beginners?

Yes, these projects are designed with beginners in mind. Start with simpler ones and gradually progress to more complex projects.

4. Can I modify the projects and add my own features?

Certainly! It's encouraged to personalize the projects and add your unique touch to showcase your creativity.

5. What's the next step after completing these mini projects?

After mastering these mini projects, consider exploring more advanced topics like JavaScript frameworks, backend development, and responsive design principles.

6. How long does it take to finish a mini project?

The beauty of mini projects lies in their bite-sized nature. You can complete some in a few hours, making them perfect for your busy schedule.

Create a Resume Builder with HTML, CSS, and JavaScript.jpg

That’s a wrap!

Thank you for taking the time to read this article! I hope you found it informative and enjoyable. If you did, please consider sharing it with your friends and followers. Your support helps me continue creating content like this.

Stay updated with our latest content by signing up for our email newsletter ! Be the first to know about new articles and exciting updates directly in your inbox. Don't miss out—subscribe today!

If you'd like to support my work directly, you can buy me a coffee . Your generosity is greatly appreciated and helps me keep bringing you high-quality articles.

Thanks! Faraz 😊

Subscribe to my Newsletter

Get the latest posts delivered right to your inbox, latest post.

Create Draggable Modal Using HTML, CSS, and JavaScript

Create Draggable Modal Using HTML, CSS, and JavaScript

Learn how to create a draggable modal using HTML, CSS, and JavaScript with this easy-to-follow guide. Perfect for web developers of all skill levels.

Create Sticky Bottom Navbar using HTML and CSS

Create Sticky Bottom Navbar using HTML and CSS

August 29, 2024

How to Create a Dropdown List with HTML and CSS

How to Create a Dropdown List with HTML and CSS

10 Modern Logo Hover Effects with HTML and CSS

10 Modern Logo Hover Effects with HTML and CSS

August 28, 2024

Create Alert Ticker using HTML, CSS, and JavaScript

Create Alert Ticker using HTML, CSS, and JavaScript

Create Animated Logout Button Using HTML and CSS

Create Animated Logout Button Using HTML and CSS

Learn to create an animated logout button using simple HTML and CSS. Follow step-by-step instructions to add smooth animations to your website’s logout button.

Create Fortnite Buttons Using HTML and CSS - Step-by-Step Guide

Create Fortnite Buttons Using HTML and CSS - Step-by-Step Guide

June 05, 2024

How to Create a Scroll Down Button: HTML, CSS, JavaScript Tutorial

How to Create a Scroll Down Button: HTML, CSS, JavaScript Tutorial

March 17, 2024

How to Create a Trending Animated Button Using HTML and CSS

How to Create a Trending Animated Button Using HTML and CSS

March 15, 2024

Create Interactive Booking Button with mask-image using HTML and CSS (Source Code)

Create Interactive Booking Button with mask-image using HTML and CSS (Source Code)

March 10, 2024

Create Dice Rolling Game using HTML, CSS, and JavaScript

Create Dice Rolling Game using HTML, CSS, and JavaScript

Learn how to create a dice rolling game using HTML, CSS, and JavaScript. Follow our easy-to-understand guide with clear instructions and code examples.

Create a Breakout Game with HTML, CSS, and JavaScript | Step-by-Step Guide

Create a Breakout Game with HTML, CSS, and JavaScript | Step-by-Step Guide

July 14, 2024

Create a Whack-a-Mole Game with HTML, CSS, and JavaScript | Step-by-Step Guide

Create a Whack-a-Mole Game with HTML, CSS, and JavaScript | Step-by-Step Guide

June 12, 2024

Create Your Own Bubble Shooter Game with HTML and JavaScript

Create Your Own Bubble Shooter Game with HTML and JavaScript

May 01, 2024

Build a Number Guessing Game using HTML, CSS, and JavaScript | Source Code

Build a Number Guessing Game using HTML, CSS, and JavaScript | Source Code

April 01, 2024

Tooltip Hover to Preview Image with Tailwind CSS

Tooltip Hover to Preview Image with Tailwind CSS

Learn how to create a tooltip hover effect to preview images using Tailwind CSS. Follow our simple steps to add this interactive feature to your website.

Create Image Color Extractor Tool using HTML, CSS, JavaScript, and Vibrant.js

Create Image Color Extractor Tool using HTML, CSS, JavaScript, and Vibrant.js

January 23, 2024

Build a Responsive Screen Distance Measure with HTML, CSS, and JavaScript

Build a Responsive Screen Distance Measure with HTML, CSS, and JavaScript

January 04, 2024

Crafting Custom Alarm and Clock Interfaces using HTML, CSS, and JavaScript

Crafting Custom Alarm and Clock Interfaces using HTML, CSS, and JavaScript

November 30, 2023

Detect User's Browser, Screen Resolution, OS, and More with JavaScript using UAParser.js Library

Detect User's Browser, Screen Resolution, OS, and More with JavaScript using UAParser.js Library

October 30, 2023

Learn how to create a sticky bottom navbar using HTML and CSS with this easy-to-follow guide.

Creating a Responsive Footer with Tailwind CSS (Source Code)

Creating a Responsive Footer with Tailwind CSS (Source Code)

February 25, 2024

Crafting a Responsive HTML and CSS Footer (Source Code)

Crafting a Responsive HTML and CSS Footer (Source Code)

November 11, 2023

Create an Animated Footer with HTML and CSS (Source Code)

Create an Animated Footer with HTML and CSS (Source Code)

October 17, 2023

Bootstrap Footer Template for Every Website Style

Bootstrap Footer Template for Every Website Style

March 08, 2023

Intro to HTML Homework

Welcome! These are homework exercises to accompany the Intro to HTML Curriculum

For this week's homework assignment, create a website to show off your new skills.

Core HTML5 skills you should be able to include on your page(s):

  • A nav bar with a few links that either navigate to other pages or act as anchor tags.
  • A heading to signal something important or declare a new section/paragraph.
  • A couple paragraphs describing the amazing things you want to share. Remember to use emphasis on key words!
  • A list of key things to know about something in your paragraph. Why not do an ordered list and unordered list?
  • An image of something relevant and visually appealing. You can store your image as an asset in your project folder or link back to the source on the web. The link should be clickable, but the image doesn't need to be.
  • A footer at the bottom of the page declaring your copyright on such a wonderful write-up, and make sure you use the copyright symbol!
  • Your page should validate in this at this link: W3 Validator .
  • Keep your code readabable and maintanable for your future self and future contributors.

You can always check the Class 1 slides for help.

For this week's homework assignment, we will style our homework1.html file with a new homework2.css file.

Here is what I would like to see at minimum on each lovely page:

  • Create a style sheet and link to it from your HTML
  • I like borders on images, add borders to all images you have. (Hint: border properties look like this 'border: 1px solid black;'.) Experiment!
  • Your Headings should be in Georgia font.
  • Your paragraphs should be in Helvetica.
  • Footers are probably meant to be centered.
  • Extra points for finding a nice background image. Hint: you're going to want to use the url() function to set up a background. If your text becomes hard to read, extra EXTRA points for setting a background color on your text-based elements.
  • Center those images using CSS!
  • Try to make your borders have rounded corners. Google a bit. CSS3!
  • Your page should still validate in this at this link: W3 Validator .

You can always check the Class 2 slides for help.

For this week's homework, we are going to use advanced CSS to style our homework1.html. Save your homework2.css file as homework3.css and have at it!

Here are this week's homework activities:

  • Create several divs of various widths, heights, and colors. Use margin to push them around the page.
  • Make some of the <div>'s into links (anchors). Then, make the background color of the div change on mouse over.
  • Try to position some of the <div>'s relative-ly in a vertical line down the middle of the page.
  • Create a class that you can use with <span> tags to make certain text twice the default size.
  • Extra credit: Use images as links and change them on mouseover. This one is challenging BUT VERY FUN! Try searching fro "Turn links into images CSS".

You can always check the Class 3 slides for help.

  • Skip to main content
  • Skip to search
  • Skip to select language
  • Sign up for free
  • Português (do Brasil)

Learn to style HTML using CSS

Cascading Style Sheets — or CSS — is the first technology you should start learning after HTML . While HTML is used to define the structure and semantics of your content, CSS is used to style it and lay it out. For example, you can use CSS to alter the font, color, size, and spacing of your content, split it into multiple columns, or add animations and other decorative features.

Prerequisites

You should learn the basics of HTML before attempting any CSS. We recommend that you work through our Introduction to HTML module first.

Once you understand the fundamentals of HTML, we recommend that you learn further HTML and CSS at the same time, moving back and forth between the two topics. This is because HTML is far more interesting and much more fun to learn when you apply CSS, and you can't learn CSS without knowing HTML.

Before starting this topic, you should also be familiar with using computers and using the web passively (i.e., just looking at it, consuming the content). You should have a basic work environment set up, as detailed in Installing basic software , and understand how to create and manage files, as detailed in Dealing with files — both of which are parts of our Getting started with the web complete beginner's module.

It is also recommended that you work through Getting started with the web before proceeding with this topic, especially if you are completely new to web development. However, much of what is covered in its CSS basics article is also covered in our CSS first steps module, albeit in a lot more detail.

This topic contains the following modules, in a suggested order for working through them. You should start with the first one.

CSS (Cascading Style Sheets) is used to style and layout web pages — for example, to alter the font, color, size, and spacing of your content, split it into multiple columns, or add animations and other decorative features. This module provides a gentle beginning to your path towards CSS mastery with the basics of how it works, what the syntax looks like, and how you can start using it to add styling to HTML.

This module carries on where CSS first steps left off — now you've gained familiarity with the language and its syntax, and got some basic experience with using it, it's time to dive a bit deeper. This module looks at the cascade and inheritance, all the selector types we have available, units, sizing, styling backgrounds and borders, debugging, and lots more.

The aim here is to provide you with a toolkit for writing competent CSS and help you understand all the essential theory, before moving on to more specific disciplines like text styling and CSS layout .

With the basics of the CSS language covered, the next CSS topic for you to concentrate on is styling text — one of the most common things you'll do with CSS. Here we look at text styling fundamentals, including setting font, boldness, italics, line and letter spacing, drop shadows, and other text features. We round off the module by looking at applying custom fonts to your page, and styling lists and links.

At this point, we've already looked at CSS fundamentals, how to style text, and how to style and manipulate the boxes that your content sits inside. Now it's time to look at how to place your boxes in the right place with respect to the viewport, and one another. We have covered the necessary prerequisites so we can now dive deep into CSS layout, looking at different display settings, modern layout tools like flexbox, CSS grid, and positioning, and some of the legacy techniques you might still want to know about.

Solving common CSS problems

Use CSS to solve common problems provides links to sections of content explaining how to use CSS to solve very common problems when creating a web page.

From the beginning, you'll primarily apply colors to HTML elements and their backgrounds; change the size, shape, and position of elements; and add and define borders on elements. But there's not much you can't do once you have a solid understanding of even the basics of CSS. One of the best things about learning CSS is that once you know the fundamentals, usually you have a pretty good feel for what can and can't be done, even if you don't know how to do it yet!

"CSS is weird"

CSS works a bit differently from most programming languages and design tools you'll come across. Why does it work the way it does? In the following video, Miriam Suzanne provides a useful explanation of why CSS works as it does, and why it has evolved as it has:

The main entry point for CSS documentation on MDN, where you'll find detailed reference documentation for all features of the CSS language. Want to know all the values a property can take? This is a good place to go.

Introduction to HTML and CSS

Congratulations on taking the challenge to learn some code skills!

A basic understanding can take you a long way when it comes to updating hard-coded content, feeling confident to tweak pages or embed actions and content on your site

HTML Structure

Take some plain text and add HTML <tags> to structure the content. Include image, links and embedded videos too!

CSS - using inline styles

Customise the design of your content by adding inlines styles to your HTML. Set text and background colours, adjust sizes and more!

CSS - using classes

Adjust the styles applied to various CSS classes in order to reveal a hidden image (and style it how you please!)

CSS - adding styles to a page

Create your first live webpage! Use the editor to add new panels to the page with HTML and style each new feature with CSS

32 HTML And CSS Projects For Beginners (With Source Code)

html css homework

updated Aug 20, 2024

If you want to feel confident in your front-end web developer skills, the easiest solution is to start building your own HTML and CSS projects from scratch.

As with any other skill, practicing on simple, realistic projects helps you build your skills and confidence step-by-step.

But if you are new to HTML and CSS, you may be wondering:

Where can I find ideas for beginner-level HTML and CSS projects?

Even if you are just starting out with HTML and CSS, there are some fun and easy projects you can create.

Whether you are new to learning web development or have some experience under your belt, this guide is the perfect place to start improving your skills.

In this article, I’ll walk you through 32 fun HTML and CSS coding projects that are easy to follow. We will start with beginner-level projects and then move on to more demanding ones.

If you want to become a professional front-end developer, the projects below will help you expand your portfolio.

When it’s time to apply for your first entry-level job, you can showcase your skills to potential employers with a portfolio packed with real-life project examples.

Let’s get started!

Please note: This post contains affiliate links to products I use and recommend. I may receive a small commission if you purchase through one of my links, at no additional cost to you. Thank you for your support!

What are HTML and CSS?

HTML and CSS are the most fundamental languages for front-end web development.

Learning them will allow you to:

  • Build stunning websites
  • Start a coding blog
  • Make money freelancing

Let’s take a quick look at both of them next:

What is HTML?

HTML or HyperText Markup Language is the standard markup language for all web pages worldwide.

It’s not a “typical” programming language like Python or Java since it doesn’t contain any programming logic. HTML can’t perform data manipulations or calculations, for example.

Instead, HTML allows you to create and format the fundamental structure and content of a web page.

You will use HTML to create:

  • Page layouts (header, body, footer, sidebar)
  • Paragraphs and headings
  • Input fields
  • Checkboxes and radio buttons
  • Embedded media

Thus, HTML only allows you to determine the structure of a web page and place individual content elements within it.

For more details, check out my post on what HTML is and how it works .

You can’t format the look and feel of your web page with HTML, though.

Your HTML web page will look dull and boring. Sort of like this:

The first HTML WWW website ever built

The example above is the first web page every built for the WWW , by the way.

This is how websites used to look in the ’90s. But we’ve come a long way since.

To make your HTML content visually appealing and professional-looking, you need another language: CSS. Let’s look at that next.

What is CSS?

CSS or Cascading Style Sheets is a style sheet language that allows you to adjust the design and feel of your HTML content.

Thus, CSS allows you to turn your pure-HTML pages into stunning, modern websites. And it’s easy to learn, too!

CSS allows you to target individual HTML elements and apply different styling rules to them.

For example, here’s a CSS rule that targets H2 headings, their font-size property, and sets it to a value of 24px:

You can use CSS to adjust:

  • Page layouts and sections
  • Backgrounds
  • Fonts and text styling
  • Spacings (paddings, margins)
  • Borders and shadows
  • CSS animations
  • Responsiveness (with media queries)

If you want to create stunning websites and become a front-end web developer, CSS is one of the first tools you must learn and master.

For more details, check out my post on what CSS is and how it works .

learning to code working on laptop

Why build HTML and CSS projects?

Practicing on realistic, hands-on projects is the best way to learn how to create something useful and meaningful with HTML and CSS.

The more projects you finish, the more confidence you build.

To build a web page from scratch you need a basic understanding of how HTML works. You should be comfortable with writing the necessary HTML code to create a page without copying a boilerplate or following a tutorial.

Thus, if you want to become a front-end web developer , building HTML and CSS projects will teach you how to use these two languages in real life.

Therefore, practising your skills with the projects in this article will give you a competitive edge against anyone who’s simply following tutorials and copy-pasting other people’s code.

Finally, building HTML and CSS projects helps you build a professional portfolio of real-world projects.

When it’s time to start applying for your first job, you will have 10 to 20 cool projects to showcase your skills to potential employers. Not bad!

32 HTML and CSS projects: Table of contents

Here’s an overview of the HTML and CSS projects we’ll go through:

Beginner project: CSS radio buttons

Beginner project: css toggle buttons, beginner project: hamburger menu, beginner project: pure css sidebar toggle menu, beginner project: animated css menu, beginner project: custom checkboxes, beginner project: pure css select dropdown, beginner project: modal/popup without javascript, beginner project: animated gradient ghost button, beginner project: css image slider, basic html & css website layout, tribute page, survey page with html forms, sign-up page / log-in page, job application form page, landing page, product landing page, interactive navigation bar, responsive website header, restaurant menu, restaurant website, parallax website, custom 404 error page, personal portfolio website, blog post layout.

  • Photography website

Music store website

Discussion forum website.

  • Event or conference website

Technical documentation website

Online recipe book, website clone.

Share this post with others!

HTML and CSS projects for beginners with source code – Mikke Goes Coding

This quick project is a great example of what you can do with pure CSS to style radio buttons or checkboxes:

See the Pen CSS radio buttons by Angela Velasquez ( @AngelaVelasquez ) on CodePen .

☝️ back to top ☝️

This HTML and CSS project teaches you how to create custom CSS toggle buttons from scratch:

See the Pen Pure CSS Toggle Buttons | ON-OFF Switches by Himalaya Singh ( @himalayasingh ) on CodePen .

Every website needs a menu, right?

This hamburger menu is beautiful and clean, and you can build it with just HTML and CSS:

See the Pen Pure CSS Hamburger fold-out menu by Erik Terwan ( @erikterwan ) on CodePen .

Placing your website navigation inside a sidebar toggle is an easy way to clean up the overall look and feel of your design.

Here’s a modern-looking solution to a pure-CSS sidebar toggle menu:

See the Pen PURE CSS SIDEBAR TOGGLE MENU by Jelena Jovanovic ( @plavookac ) on CodePen .

If you want to build a more dynamic, interactive website navigation, try this animated CSS menu:

See the Pen Animate menu CSS by Joël Lesenne ( @joellesenne ) on CodePen .

Styling your checkboxes to match the overall design is an easy way to elevate the look and feel of your website.

Here’s an easy HTML and CSS practice project to achieve that:

See the Pen Pure CSS custom checkboxes by Glen Cheney ( @Vestride ) on CodePen .

Standard select dropdowns often look dull and boring. Here’s a quick CSS project to learn how to create beautiful select dropdowns easily:

See the Pen Pure CSS Select by Raúl Barrera ( @raubaca ) on CodePen .

Modals and popups often use JavaScript, but here’s a pure HTML and CSS solution to creating dynamic, interactive modals and popups:

See the Pen Pure css popup box by Prakash ( @imprakash ) on CodePen .

Ghost buttons can look great if they fit the overall look and feel of your website.

Here’s an easy project to practice creating stunning, dynamic ghost buttons for your next website project:

See the Pen Animated Gradient Ghost Button Concept by Arsen Zbidniakov ( @ARS ) on CodePen .

This image slider with navigation buttons and dots is a fantastic HTML and CSS project to practice your front-end web development skills:

See the Pen CSS image slider w/ next/prev btns & nav dots by Avi Kohn ( @AMKohn ) on CodePen .

Now, before you start building full-scale web pages with HTML and CSS, you want to set up your basic HTML and CSS website layout first.

The idea is to divide your page into logical HTML sections. That way, you can start filling those sections with the right elements and content faster.

For example, you can break up the body of your page into multiple parts:

  • Header: <header>
  • Navigation: <nav>
  • Content: <article>
  • Sidebar: <aside>
  • Footer: <footer>

HTML web page structure example

Depending on your project, you can fill the article area with a blog post, photos, or other content you need to present.

This layout project will serve as a starting point for all your future HTML and CSS projects, so don’t skip it.

Having a template like this will speed up your next projects, because you won’t have to start from scratch.

Here are two tutorials that will walk you through the steps of creating a basic website layout using HTML and CSS:

  • https://www.w3schools.com/html/html_layout.asp
  • https://www.w3schools.com/css/css_website_layout.asp

Building a tribute page is fantastic HTML and CSS practice for beginners.

What should your tribute page be about?

Anything you like!

Build a tribute page about something you love spending time with.

Here are a few examples:

  • a person you like
  • your favorite food
  • a travel destination
  • your home town

My first HTML-only tribute page was for beetroots. Yes, beetroots. I mean, why not?

Beetroot Base HTML Page

HTML and CSS concepts you will practice:

  • HTML page structure
  • basic HTML elements: headings, paragraphs, lists
  • embedding images with HTML
  • CSS fundamentals: fonts and colors
  • CSS paddings, margins, and borders

Here’s a helpful tutorial for building a HTML and CSS tribute page .

Whether you want to become a full-time web developer or a freelance web designer, you will use HTML forms in almost every project.

Forms allow you to build:

  • Contact forms
  • Login forms
  • Sign up forms
  • Survey forms

Building a survey page allows you to practice HTML input tags, form layouts, radio buttons, checkboxes, and more.

Pick any topic you like and come up with 10 pieces of information you want to collect from respondents.

Perhaps an employee evaluation form? Or a customer satisfaction form?

  • form elements: input fields, dropdowns, radio buttons, labels
  • styling for forms and buttons

Here’s an example survey form project for inspiration:

See the Pen Good Vibes Form by Laurence ( @laurencenairne ) on CodePen .

Let’s practice those HTML forms a bit more, shall we?

For this project, you will build a sign-up or log-in page with the necessary input fields for a username and a password.

Because we can create a user profile on almost every website, forms are absolutely essential for allowing people to set their usernames and passwords.

Your forms will collect inputs from users and a separate back-end program will know how to store and process that data.

Creating a clean and clear sign-up page can be surprisingly difficult. The more you learn about HTML and CSS, the more content you want to create to showcase your skills. But the thing is: a sign-up page needs to be as clean and easy-to-use as possible.

Thus, the biggest challenge with this project is to keep it simple, clear, and light.

Here’s an example project to get started with:

See the Pen Learn HTML Forms by Building a Registration Form by Noel ( @WaterNic10 ) on CodePen .

For more inspiration, check out these 50+ sign-up forms built with HTML and CSS .

Using a HTML form is the best way to collect information from job applicants.

You can also generate and format a job description at the top of the page.

Then, create a simple job application form below to collect at least 10 pieces of information.

Use these HTML elements, for example:

  • Text fields
  • Email fields
  • Radio buttons

Here’s an example job application page you can build with HTML and CSS:

See the Pen Simple Job Application Form Example by Getform ( @getform ) on CodePen .

One of your first HTML and CSS projects should be a simple landing page.

Your landing page can focus on a local business, an event, or a product launch, for example.

Landing pages play an important role for new businesses, marketing campaigns, and product launches. As a front-end developer, you will be asked to create them for clients.

For this project, create a simple HTML file and style it with CSS. Be sure to include a headline, some text about the company or its services, and a call-to-action (CTA) button.

Make sure that your landing page is clean and clear and that it’s easy to read.

If you build a landing page for a new product, highlight the product’s key benefits and features.

To get started, follow this freeCodeCamp tutorial to build a simple landing page . You will need JavaScript for a few features. If you are not familiar with JavaScript, leave those features out for now and come back to them later.

For more inspiration, check out these HTML landing page templates .

Switch landing page template – HTML and CSS projects for beginners

A product landing page is a page that you build to promote a specific product or service.

For example, if you want to sell your ebook about how to use CSS to build an animated website, then you would create a product landing page for it.

Your product landing page can be very simple to start with. When your skills improve, add some complexity depending on what kind of information you need to present.

One of the most iconic product landing pages is the iPhone product page by Apple, for example:

Apple iPhone product landing page example

Of course, the iPhone landing page is technically complex, so you won’t build it as your first project. But still, it’s a good place to find inspiration and new ideas.

The best way to design your first product landing page is to create a simple wireframe first. Sketch your page layout on paper before you start building it.

Wireframes help you maintain a clear overview of your HTML sections and elements.

To get started, browse through these product landing page examples for some inspiration .

Building an interactive navigation bar will teach you how to create an animated menu with dropdowns using HTML and CSS.

This is another great project for beginners, because it will teach you how to create menus using HTML and CSS. You’ll also learn how to style them with different colors, fonts, and effects.

You’ll also learn how to use anchors and pseudo-classes to create the menu navigation, as well as how to create the dropdown menus from scratch.

If you aren’t familiar with CSS media queries yet, building a responsive navigation bar is a smart way to learn and practice them.

CSS media queries allow you to create a responsive navigation menu that changes its size and layout depending on screen width.

To get started, check out this tutorial on how to build an interactive navigation bar with HTML and CSS .

One of the best ways to practice your HTML and CSS skills is to create custom website headers. This is a great project to add to your portfolio website, as it will show off your skills and help you attract new clients.

There are a number of different ways that you can create a stylish and responsive website header. One option is to use a premade CSS framework such as Bootstrap or Foundation. Alternatively, you can create your own custom styles by hand.

No matter which option you choose, be sure to make your header mobile-friendly by using media queries. This will ensure that your header looks great on all devices, regardless of their screen size or resolution.

To get started, check out this simple example for a responsive HTML and CSS header .

If you’re looking to get into web development, one of the best HTML and CSS projects you can build is a simple restaurant menu.

Align the different foods and drinks using a CSS layout grid.

Add prices, images, and other elements you need to give it a professional, clean look and feel.

Choose a suitable color palette, fonts, and stock photos.

You can also add photos or a gallery for individual dishes. If you want to add an image slider, you can create one with HTML and CSS, too.

Here’s an example of a very simple restaurant menu project:

See the Pen Simple CSS restaurant menu by Viszked Tamas Andras ( @ViszkY ) on CodePen .

Once you’ve built your restaurant menu with, it’s time to tackle a more complex HTML and CSS project.

Building a real-life restaurant website is a fun way to practice a ton of HTML and CSS topics.

Not only will you learn the basics of creating a beautiful, professional web page, but you also get a chance to practice responsive web design, too.

And if you’re looking to land your first front-end web developer job, having a well-designed business website in your portfolio will help you stand out from the crowd.

Restaurant website example project with HTML and CSS

Make sure your website matches the restaurant’s menu and target clientele. A fine-dining place on Manhattan will have a different website than a simple (but delicious!) diner in rural Wisconsin.

Here are a few key details to include on your restaurant website:

  • Clear navigation bar
  • Restaurant details
  • Menu for food and drinks
  • Location and directions
  • Contact details
  • Upcoming events

To get started, check out this free tutorial on how to build a restaurant website with HTML and CSS .

To build a parallax website, you will include fixed background images that stay in place when you scroll down the page.

Although the parallax look isn’t as popular or modern as it was a few years back, web designers still use the effect a lot.

The easiest way to build a parallax HTML and CSS project is to start with a fixed background image for the entire page.

After that, you can experiment with parallax effects for individual sections.

Create 3-5 sections for your page, fill them with content, and set a fixed background image for 1-2 sections of your choice.

Word of warning: Don’t overdo it. Parallax effects can be distracting, so only use them as a subtle accent where suitable.

Here’s an example project with HTML and CSS source code:

See the Pen CSS-Only Parallax Effect by Yago Estévez ( @yagoestevez ) on CodePen .

404 error pages are usually boring and generic, right?

But when a visitor can’t find what they’re searching for, you don’t want them to leave your website.

Instead, you should build a custom 404 error page that’s helpful and valuable, and even fun and entertaining.

A great 404 page can make users smile and – more importantly – help them find what they are looking for. Your visitors will appreciate your effort, trust me.

For some inspiration, check out these custom 404 page examples .

Any web developer will tell you that having a strong portfolio is essential to landing your first job.

Your portfolio is a chance to show off your skills and demonstrate your expertise in front-end web development.

And while there are many ways to create a portfolio website, building one from scratch using HTML and CSS will give you tons of valuable practice.

Your first version can be a single-page portfolio. As your skills improve, continue adding new pages, content, and features. Make this your pet project!

Remember to let your personality shine through, too. It will help you stand out from the crowd of other developers who are vying for the same jobs.

Introduce yourself and share a few details about your experience and future plans.

Employers and clients want to see how you can help them solve problems. Thus, present your services and emphasize the solutions you can deliver with your skills.

Add your CV and share a link to your GitHub account to showcase your most relevant work samples.

Make sure to embed a few key projects directly on your portfolio website, too.

Finally, let your visitors know how to get in touch with you easily. If you want, you can add links to your social media accounts, too.

In this project, you’ll create a simple blog post page using HTML and CSS.

You’ll need to design the layout of the page, add a title, a featured image, and of course add some content to your dummy blog post.

You can also add a sidebar with a few helpful links and widgets, like:

  • An author bio with a photo
  • Links to social media profiles
  • List of most recent blog posts
  • List of blog post categories

Once your HTML structure and content are in place, it’s time to style everything with CSS.

Photography website with a gallery

If you’re a photographer or just enjoy taking pictures, then this project is for you.

Build a simple photo gallery website using HTML and CSS to practice your web design skills.

Start with the basic HTML structure of the page, and figure out a cool layout grid for the photos. You will need to embed the photos and style everything beautiful with CSS.

My tip: Use CSS Flexbox and media queries to create a responsive galleries that look great on all devices.

Here’s a full tutorial for building a gallery website with HTML and CSS:

If you love music, why not practice your HTML and CSS skills by building a music store web page?

Before you start, make a thorough plan about your website structure. What’s the purpose of your music store? What genres will you cover?

Pick a suitable color palette, choose your fonts, and any background images you want to use.

My tip: If you feature album cover images, keep your colors and fonts as clean and simple as possible. You don’t want to overpower the album covers with a busy web page with tons of different colors and mismatching fonts.

Create a user-friendly menu and navigation inside the header. Fill the footer with helpful links for your store, career page, contact details, and newsletter form, for example.

Building a music store website with HTML and CSS is a great opportunity to practice your skills while you are still learning.

Start with very basic features, and add new ones as your skills improve. For example, you can add media queries to make your website responsive.

A forum is a great way to create a community around a topic or interest, and it’s also a great way to practice your coding skills.

In this project, you’ll create a simple forum website using HTML and CSS.

You’ll need to design the layout of the site, add categories and forums, and set up some initial content.

Of course, you should start with creating the basic layout and structure with HTML first. You will need a navigation bar, at least one sidebar, and an area for the main content.

To make your discussion forum website more interesting, add new content and remember to interlink related threads to make the site feel more realistic.

Event or conference web page

Creating a web page for an event is a fun HTML and CSS project for beginners.

You can either pick a real event and build a better landing page than the real one, or come up with an imaginary conference, for example.

Make sure to include these elements:

  • Register button
  • Venue details
  • Dates and schedule
  • Speakers and key people
  • Directions (how to get there)
  • Accommodation details

Divide the landing page into sections, and create a header and a footer with menus and quick links.

Come up with a suitable color palette, pick your fonts, and keep your design clean and clear.

Every programming language, software, device and gadget has a technical documentation for helpful information and support.

Creating a technical documentation website with just HTML and CSS allows you to build a multi-page site with hierarchies, links, and breadcrumbs.

The main idea is to create a multi-page website where you have a sidebar menu on the left, and the content on the right.

The left-hand side contains a vertical menu with all the topics your documentation covers.

The right-hand side presents the description and all the details for each individual topic.

For simplicity, start with the homepage and 2–3 subpages first. Come up with a clean layout and make sure your links are working properly.

Then, start expanding the website with additional sub-pages, content, and elements.

  • HTML hyperlinks and buttons

Creating an online recipe book as an HTML and CSS project requires a similar setup than the previous project example.

You will need to create a homepage that serves as a directory for all your recipes. Then, create a separate subpage for each recipe.

If you want to challenge yourself, add recipe categories and create separate directory pages for each of them.

  • embedding recipe photos

One of the best ways to practice HTML and CSS is to clone an existing web page from scratch.

Use your browser’s inspecting tools to get an idea of how the page is built.

As with any HTML and CSS project, start by creating the basic page template with:

Then, divide your page into sections, rows, and columns.

Finally, fill your page with individual elements like headings, paragraphs, and images.

Once the HTML content is in place, use CSS to style your page.

Start with something simple, like the PayPal login page.

Then move on to more demanding cloning projects, such as a news website. Try the BBC homepage, for example.

Where to learn HTML and CSS?

There are no prerequisites required for you to learn HTML and CSS.

Both languages are easy to learn for beginners, and you can start building real-life projects almost right away.

Here are a few courses to check out if you want to learn HTML and CSS online at your own pace:

1: Build Responsive Real World Websites with HTML5 and CSS3

Build Responsive Real-World Websites with HTML and CSS – Udemy

Build Responsive Real World Websites with HTML5 and CSS3 was my first online web development course focused 100% on HTML and CSS.

You don’t need any coding or web development experience for this course. But if you have watched some online tutorials but you’re not sure how to create a full-scale website by yourself, you are going to love it.

2: The Complete Web Developer Course 2.0

The Complete Web Developer Course 2.0 – Udemy

The Complete Web Developer Course 2.0 changed my life back when I started learning web development.

This course takes you from zero to knowing the basics of all fundamental, popular web development tools. You’ll learn:

  • HTML and CSS
  • JavaScript and jQuery
  • and much more

3: Modern HTML & CSS From The Beginning (Including Sass)

Modern HTML & CSS From The Beginning (Including Sass) – Udemy

I’m a big fan of Brad Traversy, and I really can’t recommend his Modern HTML & CSS From The Beginning course enough.

Even if you have never built a website with HTML and CSS before, this course will teach you all the basics you need to know.

4: The Complete 2024 Web Development Bootcamp

The Complete 2023 Web Development Bootcamp – Udemy

One of my most recent favorites, The Complete 2024 Web Development Bootcamp by Dr. Angela Yu is one of the best web development courses for beginners I’ve come across.

If you’re not quite sure what area or language to specialize in, this course is the perfect place to try a handful of tools and programming languages on a budget.

5: Learn HTML (Codecademy)

Learn HTML – Codecademy

Learn HTML is a free beginner-level course that walks you through the fundamentals with interactive online lessons.

Codecademy also offers a plethora of other web development courses. Check out their full course catalog here .

6: Responsive Web Design (freeCodeCamp)

Responsive Web Design Curriculum – freeCodeCamp

The Responsive Web Design certification on FreeCodeCamp is great for learning all the basics of web development from scratch for free.

You start with HTML and CSS to get the hang of front-end web dev fundamentals. Then, you start learning new tools and technologies to add to your toolkit, one by one.

Also, check out these roundups with helpful web development courses:

  • 27 Best Web Development Courses (Free and Paid)
  • 20+ Web Development Books for Beginners
  • 120+ Free Places to Learn to Code (With No Experience)
  • 100+ Web Development Tools and Resources

Final thoughts: HTML and CSS project ideas for beginners

When it comes to learning HTML and CSS, practice makes perfect. Did you find a few inspirational ideas here to start building your next project?

Learning HTML and CSS may seem intimidating at first. But when you break it down into small, less-intimidating projects, it’s really not as hard as you might think.

Try these beginner-level HTML and CSS project ideas to improve your front-end web development skills. Remember to add your projects to your portfolio website .

It’s possible to learn how to code on your own, and it’s possible to land your first developer job without any formal education or traditional CS degree.

It all boils down to knowing how to apply your skills by building an awesome portfolio of projects like the ones above.

So, which project will you build first? Let me know in the comments below!

Once you feel comfortable with HTML and CSS, it’s time to start learning and practising JavaScript .

To get started, check out my guide with 20+ fun JavaScript projects ideas for beginners .

HTML and CSS project ideas

Share this post with others:

About mikke.

html css homework

Hi, I’m Mikke! I’m a blogger, freelance web developer, and online business nerd. Join me here on MikkeGoes.com to learn how to code for free , build a professional portfolio website , launch a tech side hustle , and make money coding . When I’m not blogging, you will find me sipping strong coffee and biking around town in Berlin. Learn how I taught myself tech skills and became a web dev entrepreneur here . And come say hi on Twitter !

Leave a reply:

Download 15 tips for learning how to code:.

GET THE TIPS NOW

Sign up now to get my free guide to teach yourself how to code from scratch. If you are interested in learning tech skills, these tips are perfect for getting started faster.

Learn to code for free - 15 coding tips for beginners – Free ebook

In this homework, you will be practicing the HTML and CSS that we learned in lecture.

For Part 1 , you are given screenshots and a description of a specific web page to replicate. You will recreate the web page exactly as shown in the provided screenshots.

For Part 2 , you will create your own list-based article with any styling you’d like.

Due Date: Wed, Apr 19, 2017 at 11:59pm (late cutoff: Fri, Apr 21, 2017 at 11:59pm) HW1 Mini: Mini-Homework #1 HW1 Turn-in: Submission Form

Part 0: Getting started

Part 1: beverage listicle: listicle.html, 1. mini-homework.

  • Complete the Mini-Homework to review some of the concepts needed to complete this homework.

2. Accept the HW1 assignment

  • Follow this link , where HW1 is stored on GitHub Classroom.
  • Accept the homework and download the starter code as you did in Homework 0 .

A listicle is a somewhat trendy type of article that uses a list as its thematic structure.

For Part 1, you will create a listicle web page that describes the “4 on-campus beverages you should be drinking” at Stanford. You should create the web page in listicle.html with styles defined in listicle-style.css .

1. Overall appearance

Here is a miniature screenshot of the website you need recreate in this homework:

html css homework

A full-size screenshot of the entire page (with a screen width of 1280px) is linked below:

  • Full-size screenshot

Note that you do not have to type in the contents of the page.

  • The text of the article is contained within listicle-content.txt , which is included in your Homework 1 starter code.
  • Copy and paste the text of listicle-content.txt into your listicle.html file, then add the HTML tags necessary to style the page.
  • The images are also in the images/ directory of the Homework 1 starter code.

2. Section measurements

html css homework

3. Font faces, sizes, and colors

html css homework

  • The font face is 'Roboto Slab' and the fallback font is serif .
  • The font size is 36px .
  • The font weight is normal (not bold).
  • The font color is white .
  • The title is vertical and center aligned to the header image.

html css homework

  • The font face is 'Source Sans Pro' and the fallback font is sans-serif .
  • The font size is 18px .
  • The font weight for the author name (“Victoria Kirst”) is bold
  • The font style for the last updated (“Last updated Apr 7, 2017”) is italic .
  • The font color is rgb(51, 51, 51) .
  • The line height 24px .
  • The gray line under the “Last updated” line is 10px under the text, 2px wide, and the color is #e6e6e6 .

html css homework

  • The font weight is bold .
  • The number’s color is rgba(0, 0, 0, 0.25) .
  • The title color is rgb(51, 51, 51) .
  • The address under the heading is a link and is described in the Links section .
  • The line height 32px .

html css homework

  • The phrase “Recommendation:” is bold .

Here is a description of how links should work on your page:

  • Each address of the page is a link. The URL for each link is listed in listicle-content.txt .
  • The link color is #42b4d6 .
  • The link is not bold, and the link is not underlined unless you hover over the link.
  • When you hover over the link, the link becomes underlined.
  • To remove an underline, you can use CSS property text-decoration: none;
  • To add an underline, you can use CSS property text-decoration: underline;
  • Note: To reference the image from the css/ folder, the path needs to be ../images/header.jpg
  • The background does not repeat.
  • The background’s size is set to cover .
  • The background position is anchored to the top .
  • Its height is 500px .
  • Note: You can achieve this using the following CSS rule: background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url(../images/header.jpg);
  • Note: To reference the image from the css/ folder, the path needs to be ../images/vrk.png
  • Its width is 100px .
  • It has rounded corners with radius 100% .
  • It has a white border that is 1px thick.

HTML and CSS style requirements

For full credit, please abide by the following:

  • Use HTML and CSS we’ve learned in class. You should be able to complete this homework using HTML and CSS we’ve learned in class through lecture 6 / Apr 14. While you are not strictly forbidden from using HTML/CSS we haven’t talked about in class, if you use it incorrectly or if you make poor stylistic choices, you may be marked down.
  • Do not use JavaScript . There’s no need to use JavaScript in this assignment.
  • Respect Separation of Concerns . Your HTML should describe the content of your page, and your CSS should describe your page’s appearance.
  • Do not use an ordered list element ( ol ) to create the list layout. There’s nothing wrong with doing this, per se, but it involves some fairly esoteric CSS that we did not cover in class. We recommend you write out the numbers “1.”, “2.”, etc. in the HTML instead of using ol .
  • Follow the best practices that were described in lecture and in the mini-homework.
  • Reduce redundancy in CSS. Try not to have too many redundant styles, if there are ways to use inheritance or special selectors to concisely define style rules.
  • Match the given appearance as closely as possible. It’s fine if your web page is off from our description by a few pixels here and there, but noticeable differences may result in a lower homework score.
  • Use descriptive names, consistent spacing, and otherwise follow good code hygiene.

Part 2: Your Listicle: my-list.html

Design your own listicle! You should write the content in my-list.html and the style in my-list-style.css .

  • Cannot be an exact line-for-line copy of listicle.html
  • Must have at least 3 items in your list
  • Must correctly use display: flex at least once.
  • You can, but do not have to, refer to listicle-style.css .

You can spend as much or as little time on this part as you want, provided that your page does fall within the guidelines above.

  • Note: The example linked above is simple but not actually best practice. You can check out this article to try a more sophisticated implementation.
  • CSS animations: When the real Squarespace demo loads, notice how the text animates in. We haven’t talked about how to do that yet. We will talk about CSS animations in class in a few weeks, but if you want to get a head start, try experimenting with some CSS animations on your page.

Upload your completed homework to your GitHub repository and publish them, in the same way that you did with Homework 0 .

Turn in the link to your GitHub repository and links to your two completed web pages via this form:

  • Turn in Homework 1

Wyzant

More than 4 million 5-star reviews

65,000 expert tutors in 300+ subjects, find a great match with our good fit guarantee, featured by the nation’s most respected news sources.

New York Times

Tutors from top universities

Julliard

Get 1:1 help fast

The Best Html css Tutoring Online

Find the best html css tutor.

Omar I. El Paso, TX, available for online & in-person tutoring

Experienced web design and computer applications instructor

I have taught HTML & CSS for the past 5 years in a classroom setting both online during the pandemic and also in person See Omar's full profile

Jean Yves H. Chicago, IL, available for online & in-person tutoring

Web designer with over 5 years of hands-on experience.

With over 5 years of hands-on experience in web design, I have developed a deep expertise in creating visually appealing and user-friendly websites. My skills include proficiency in HTML, CSS , JavaScript, and modern design frameworks,... See Jean Yves's full profile

So incredibly helpful! He is so kind and patient! I was struggling hard core and he did not make me feel like I did not know anything. He has a great pedagogical skillset! Highly recommend!... read the full review - Amanda , 8 lessons with Jean Yves

Zaid A. Beaverton, OR, available for online & in-person tutoring

BS in Computer Science with 2+ years of Experience in Frontend Dev

Having graduation in Computer Science, I am proficient in solving algorithmic problems easily. My main specialties are HTML, CSS , JavaScript, ReactJS, Bootstrap See Zaid's full profile

Choose Zaid. He is very knowledgeable. I worked with him for over 3 months. I definitely recommend him. Zaid is a JavaScript guru who can help you learn JavaScript.... read the full review - Lucas , 101 lessons with Zaid

Siva J. Saint Paul, MN, available for online & in-person tutoring

Experienced in developing DBMS (MySQL, SQLite) applications

Developed several applications with MySQL (or SQLite) as the backend. Connected to those using Python, Java, PHP languages as the processing languages. Hosted these applications using HTML/CSS /JavaScript as the front-end. See Siva's full profile

Siva is an outstanding tutor. His deep understanding of programming concepts and their real-world applications shines through in every session. He explains complex topics in a clear, concise, and easily digestible manner. He creat... read the full review - Richard , 65 lessons with Siva

Elvis F. Montgomry Village, MD, available for online & in-person tutoring

JavaScript / Node.js, HTML , CSS , Web Design and more!

Starting in late 2015 I began to teach myself Web Development. I went through the grueling process of becoming a self-taught Full-Stack Web Developer from scratch. I taught myself HTML, CSS , JavaScript, Node.js, and several other... See Elvis's full profile

Matt S. Brownsburg, IN, available for online tutoring

+25yrs Experienced Lead Developer: HTML , CSS , JavaScript, WordPress

I have been creating websites and using HTML for over 25 years. I have forgotten more sites that I have created than I can remember as over those 25 years I have created sites for small businesses, musicians, non-profit organizations, government,... See Matt's full profile

I have been taking lesson from various tutors here in Wyzant for a while, in React, Node, and AWS. To me, Matt's lessons are the best. I feel I get all my money's worth. Matt does not waste time, it's easy to see how much experien... read the full review - Karen , 60 lessons with Matt

Chad E. Vancouver, WA, available for online & in-person tutoring

Software Engineer

Several years of industry experience writing full-stack applications including HTML, CSS and Javascript, plus a degree in computer science from CSU Bakersfield. See Chad's full profile

Chad helped my son in Computer Science, he is an excellent tutor, he goes beyond his area of expertise and find ways to help you. He is very knowledgeable, patient, he always responds pretty quick and is very accommodating. I... read the full review - Barbara , 21 lessons with Chad

Art S. Glen Ridge, NJ, available for online & in-person tutoring

Fullstack Web Developer 8+ Years

HTML is a markup language and people often miss use this term. When people say HTML they really mean HTML, CSS and Javascript. These are the tools used to create a modern website. I been working as a developer for 8 years for various... See Art's full profile

Art is very knowledgeable and patient, was able to take time to guide me and help me with the issue I was having. He was able to fit me in his schedule last minute, and even after was able to respond to my messages, and continue t... read the full review - Ramon , 7 lessons with Art

Tim M. Escondido, CA, available for online & in-person tutoring

Patient, Knowledgeable, and Driven Tech Instructor

Back then, it was the BASIC language, but now I've designed, implemented, and maintained solutions using MongoDB, Node JS, VBA, JavaScript, HTML, CSS , Express JS, MUI, Bootstrap, and more, specializing in the MERN stack (MongoDB,... See Tim's full profile

Tim was an amazing tutor! He was very precise and thorough in his explanations, pausing at any confusion I had and breaking difficult concepts down into digestible bits. He’s very patient, knowledgeable and kind. Will definitely g... read the full review - Jenny , 2 lessons with Tim

Marwan D. Boston, MA, available for online tutoring

Experienced JavaScript/React Tutor

I am an experienced web technologies ( HTML, CSS , and JAVASCRIPT) Tutor. I earned my BS in Computer Science from the University of Houston in 1997. I am a professional software developer during the day and tutor during evenings and weekends.... See Marwan's full profile

Marwan, is always patient, prepared and knowledgeable. There was not a single thing he was unable to help me with, and would even be willing to go the extra mile to help me when needed. I look forward too working with him in the f... read the full review - Alex , 8 lessons with Marwan

Danica J. New York, NY, available for online & in-person tutoring

Web Designer specializing in introductory HTML & CSS

I graduated with a minor in Web Programming and Applications and have worked as a freelance web designer ever since. I have over a year of experience tutoring introductory HTML & CSS at the collegiate level, and can easily adapt to make... See Danica's full profile

Joseph B. Cincinnati, OH, available for online & in-person tutoring

Web Developer with 6+ Years of Tutoring Experience

I have become very skilled at web development through college and years of independent study. In my thousands of hours of web development experience I've learned the in's and out's of HTML, CSS , Javascript, PHP, and SQL. I am... See Joseph's full profile

Excellent Tutor! Many times, tutors want to take over, fix the problem by completing the project for you and believe that this is the best way to teach. It might be for some that learn by watching, while others like me, learn by d... read the full review - Pat

Ryan K. Austin, TX, available for online & in-person tutoring

Experienced Full Stack Web Developer

I have worked as a web developer for more than 20 years. I am proficient in HTML, CSS , SQL, Java Script, JQuery and PHP. I understand the challenges it takes learning a new set of skills. I have helped many new developers to define goals... See Ryan's full profile

Ryan was an incredibly knowledgeable, patient, and understanding teacher. He understood all of my questions and guided me through my work very thoughtfully, helping to make sure that I understood everything at each level, and expa... read the full review - Leslie , 5 lessons with Ryan

David W. Woodstock, GA, available for online & in-person tutoring

.NET/C# Developer

12+ Years building web applications using asp.net mvc, .net/c#, html/css /javascript (jquery and more). See David's full profile

He pours his heart out to teach or guide the student. He is the BEST tutor I ever met. Very patient, extremely knowledgeable and the best part is that he has a heart of a mentor. He is better than any 100/hr tutors out there. ... read the full review - Matthew , 5 lessons with David

Matt J. Lincoln, NE, available for online tutoring

Over 20 years' programming experience in more than a dozen languages

...old. Over the years I have programmed in languages including C, C++, Objective-C, Python, Matlab, Perl, Pascal, Haskell, HTML/CSS /JavaScript, Java, C#, Visual Basic, R, PHP, and more! I also have experience coding in a number of different situations... See Matt's full profile

Robert T. San Francisco, CA, available for online & in-person tutoring

Solutions Architect

Over 20 years of web development experience including HTML, CSS and JavaScript. CSS experience includes page layout using absolute and relative spacing, font, visibility, overlays and animation. I have experience with inline, page and... See Robert's full profile

Robert was very quick to respond and was of really great help in clarifying some concepts that I was having difficulty with in understanding Javascript. He's patient and takes the time to work through problems to make sure you und... read the full review - Annie

Jonathan S. Palmyra, VA, available for online & in-person tutoring

CIW Advanced HTML 5 and CSS 3 Specialist and CIW User Interface Designer

In college, I earned my certification in Advanced HTML 5 and CSS 3, and I also have a certification in User Interface Design. I have written and maintained webpages for myself and employers using HTML, CSS , and JavaScript. I... See Jonathan's full profile

Jonathan is an amazing tutor! He helped me understand C# in a way that my teachers and their videos could not. His style of giving analogies to help explain difficult concepts, is brilliant! It was exactly what I needed, because I... read the full review - Yvette , 36 lessons with Jonathan

Neveen M. Brighton, MA, available for online & in-person tutoring

Web development!

I worked for multiple years as a software engineer developing the UI for web applications in a company in the telecommunication sector. I can help you with HTML, CSS and JS. I can also help you with Java or python to create you web... See Neveen's full profile

Neveen has been amazing!! I was really struggling as a new student to Data Science as I had never taken any other courses or classes on Python or SQL and she has been so patient, thorough and knowledgeable about my class content. ... read the full review - Erin , 15 lessons with Neveen

Aidan T. Salem, OR, available for online & in-person tutoring

Experienced Software Engineer Teaching Young, Ambitious Devs

Hey there, I'm Aidan. I'm a full-stack web developer with years of professional experience using HTML, CSS , JavaScript, TypeScript, React, Node, Express, MySQL, etc. I've worked with dozens of developers and students like... See Aidan's full profile

Lee M. New York, NY, available for online & in-person tutoring

HTML , CSS , WordPress and Web Design

I have extensive experience with HTML and CSS producing and developing interactive and digital projects – from large websites (Sony, Haagen-Dazs) to integrated marketing campaigns involving websites and other online media (Be a... See Lee's full profile

had a great 1.5 hr session! Went over the material slowly and systematically. Very detailed and made sure I understood. Can also tell that he loves the subject matter and sharing his knowledge with others! Would definitely hire a... read the full review - Olivia , 2 lessons with Lee

Tanner C. Overland Park, KS, available for online & in-person tutoring

High School Computer Science Teacher

I have taught web development courses for 5 years. I have experience teaching and tutoring individual students in HTML, CSS , and JavaScript, among other languages. I have created multiple websites using CSS and feel very comfortable... See Tanner's full profile

Tanner is simply awesome. He is patient, flexible and genuinely cares about ensuring that the students excel and is able to simplify concepts and make them easy to understand. My son really enjoyed learning from him and scored ... read the full review - Kamal , 52 lessons with Tanner

Justin S. Hayward, CA, available for online & in-person tutoring

BS in Computer Science and Engineering

I am currently a Software Engineer for a surgical staffing company. I have created their website from the ground up using HTML, CSS , Javascript, PHP, MySQL, and more. See Justin's full profile

Arun K. Franklin, MA, available for online & in-person tutoring

Ivy Grad; World-Class Presentation Skills; Specializing in STEM & CS

I've made dozens of websites for various people, including my personal one: XXX.XXXXXXXXXXXXXXX.XXX. Another sample is finallyperiod.com. I'm very experienced in React, which uses a combination of HTML, CSS , and JS. See Arun's full profile

John W. Washington, DC, available for online & in-person tutoring

Full Stack, JavaScript, React JS, TypeScript, Next.JS & Node.JS Tutor

During that time I have accumulated knowledge and experiences with the rapidly changing technologies. I have written web apps using simple HTML, CSS , and JavaScript, and I have worked with content management systems such as WordPress,... See John's full profile

Lawrence L. San Francisco, CA, available for online & in-person tutoring

HTML Developer with 7+ Years of Experience

I have built many websites using HTML, CSS , and Javascript over my 5+ years of experience. Over my years of tutoring, I have mentored colleagues and inspired students to create their own websites using HTML. See Lawrence's full profile

Lawrence is the best tutor ever. He is very focused and knowledgeable. He is also a great listener and structures lessons to his students needs. I really appreciate him and his efforts because I have learned so much from him in a ... read the full review - Brian , 15 lessons with Lawrence

Trusted with over 6 million hours of lessons since 2005

Trusted experience

Success stories

Real stories from real people

Since 2005, Wyzant has provided a way for people to learn any subject in a way that works for them.

Magdalena S.

Tutors on wyzant cost $35 - 60 per hour on average.

Tutors using Wyzant are professional subject experts who set their own price based on their demand and skill.

Compare tutor costs. With a range of price options, there’s a tutor for every budget.

Sign up, search, and message with expert tutors free of charge.

Only pay for the time you need. Whether it’s one lesson or seven, you decide what to spend.

Get the help you need first. You’ll only be charged after your lesson is complete.

Love Your Lesson Or It’s Free

Reported on by leading news outlets.

tech crunch

A nationwide network

Find Online Tutors in Subjects related to Html Css.

Get 1-to-1 learning help through online lessons. If you are looking to learn a subject similar to Html Css, tap into the nation’s largest community of private tutors. Wyzant helps more students find face to face lessons, in more places than anyone else. Plus, if you're not happy with any new tutor, we'll gladly refund the cost of your first hour. In addition to Html Css tutors, Wyzant can also help you find:

Online Color Design tutors | Online Microsoft Word lessons | Online Web Design lessons | Online Latex tutors | Online Microsoft Windows tutors | Online Perl tutors | Online Jsp tutors | Online D3.Js tutors | Online Word VBA tutors | Online Windows XP tutors | Online Microsoft Excel Vba tutors | Online SOP Authoring tutors | Online Opera tutors | Online Applescript tutors | Online GIMP tutors | Online Microsoft Vba tutors | Online PHP tutors | Online Word Training tutors | Online Web Applications tutors | Online Cash Flow Analysis tutors | Online Coding tutors | Online Color tutors | Online Periodic Table tutors | Online Graphical User Interface (GUI) tutors | Online Vba Programming tutors | Online DBQ Essay tutors | Online JQuery tutors | Online Reactjs tutors | Online Adobe Premiere Elements tutors | Online Adobe Flash lessons | Online Gui tutors | Online Google Docs tutors | Online Java 8 tutors | Online Word For Mac tutors

Get the Html css help you need, right when you need it with the convenience of online lessons.

HTML Tutorial

Html graphics, html examples, html references, html styles - css.

CSS stands for Cascading Style Sheets.

CSS saves a lot of work. It can control the layout of multiple web pages all at once.

CSS = Styles and Colors

What is css.

Cascading Style Sheets (CSS) is used to format the layout of a webpage.

With CSS, you can control the color, font, the size of text, the spacing between elements, how elements are positioned and laid out, what background images or background colors are to be used, different displays for different devices and screen sizes, and much more!

Tip: The word cascading means that a style applied to a parent element will also apply to all children elements within the parent. So, if you set the color of the body text to "blue", all headings, paragraphs, and other text elements within the body will also get the same color (unless you specify something else)!

CSS can be added to HTML documents in 3 ways:

  • Inline - by using the style attribute inside HTML elements
  • Internal - by using a <style> element in the <head> section
  • External - by using a <link> element to link to an external CSS file

The most common way to add CSS, is to keep the styles in external CSS files. However, in this tutorial we will use inline and internal styles, because this is easier to demonstrate, and easier for you to try it yourself.

An inline CSS is used to apply a unique style to a single HTML element.

An inline CSS uses the style attribute of an HTML element.

The following example sets the text color of the <h1> element to blue, and the text color of the <p> element to red:

Advertisement

Internal CSS

An internal CSS is used to define a style for a single HTML page.

An internal CSS is defined in the <head> section of an HTML page, within a <style> element.

The following example sets the text color of ALL the <h1> elements (on that page) to blue, and the text color of ALL the <p> elements to red. In addition, the page will be displayed with a "powderblue" background color: 

External CSS

An external style sheet is used to define the style for many HTML pages.

To use an external style sheet, add a link to it in the <head> section of each HTML page:

The external style sheet can be written in any text editor. The file must not contain any HTML code, and must be saved with a .css extension.

Here is what the "styles.css" file looks like:

"styles.css":

Tip: With an external style sheet, you can change the look of an entire web site, by changing one file!

CSS Colors, Fonts and Sizes

Here, we will demonstrate some commonly used CSS properties. You will learn more about them later.

The CSS color property defines the text color to be used.

The CSS font-family property defines the font to be used.

The CSS font-size property defines the text size to be used.

Use of CSS color, font-family and font-size properties:

The CSS border property defines a border around an HTML element.

Tip: You can define a border for nearly all HTML elements.

Use of CSS border property: 

CSS Padding

The CSS padding property defines a padding (space) between the text and the border.

Use of CSS border and padding properties:

The CSS margin property defines a margin (space) outside the border.

Use of CSS border and margin properties:

Link to External CSS

External style sheets can be referenced with a full URL or with a path relative to the current web page.

This example uses a full URL to link to a style sheet:

Try it Yourself »

This example links to a style sheet located in the html folder on the current web site: 

This example links to a style sheet located in the same folder as the current page:

You can read more about file paths in the chapter HTML File Paths .

Chapter Summary

  • Use the HTML style attribute for inline styling
  • Use the HTML <style> element to define internal CSS
  • Use the HTML <link> element to refer to an external CSS file
  • Use the HTML <head> element to store <style> and <link> elements
  • Use the CSS color property for text colors
  • Use the CSS font-family property for text fonts
  • Use the CSS font-size property for text sizes
  • Use the CSS border property for borders
  • Use the CSS padding property for space inside the border
  • Use the CSS margin property for space outside the border

Tip: You can learn much more about CSS in our CSS Tutorial .

HTML Exercises

Test yourself with exercises.

Use CSS to set the background color of the document (body) to yellow.

Start the Exercise

HTML Style Tags

Tag Description
Defines style information for an HTML document
Defines a link between a document and an external resource

For a complete list of all available HTML tags, visit our HTML Tag Reference .

Video: HTML CSS

Tutorial on YouTube

COLOR PICKER

colorpicker

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: [email protected]

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail: [email protected]

Top Tutorials

Top references, top examples, get certified.

IMAGES

  1. HTML & CSS

    html css homework

  2. html-css-homework/README.pl.md at master · goitacademy/html-css

    html css homework

  3. Advanced HTML/CSS Homework

    html css homework

  4. HTML Homework Help

    html css homework

  5. HTML-CSS-Overview-Exercise-and-Homework

    html css homework

  6. What is HTML and CSS too (homework)

    html css homework

VIDEO

  1. Using Html, Css and Javascript to design a Job application website

  2. HTML Lists

  3. HTML/CSS

  4. HTML 5

  5. WordPress: Editing WP Files

  6. Introduction to C++ Coding

COMMENTS

  1. CSS Exercises

    Test your CSS skills with interactive exercises for each CSS chapter. Get hints, answers, and score your progress as you learn CSS.

  2. HTML CSS Exercises: Practice and Solution

    Find hundreds of exercises to practice HTML and CSS skills from w3resource, a popular online tutorial site. Learn HTML tags, attributes, CSS properties, and practical applications with solutions and examples.

  3. Collection of 100 HTML and CSS Mini Projects for Beginners with Source Code

    Learn web development skills with hands-on practice, tutorials, and easy-to-follow examples. Explore 100 beginner-friendly HTML and CSS projects with source code, such as glowing search bar, social media icons, drop down menu, simple calculator, and more.

  4. Exercise v3.0

    Test your CSS skills with 138 interactive exercises on various topics, such as selectors, backgrounds, borders, margins, padding, positioning, transitions, animations and more. Get certified and earn a badge when you complete all exercises.

  5. Intro to HTML Homework

    For this week's homework assignment, we will style our homework1.html file with a new homework2.css file. Here is what I would like to see at minimum on each lovely page: Create a style sheet and link to it from your HTML; I like borders on images, add borders to all images you have. (Hint: border properties look like this 'border: 1px solid ...

  6. Advanced HTML/CSS Homework

    Advanced HTML/CSS Homework. Edit the code to make changes and see it instantly in the preview. Explore this online Advanced HTML/CSS Homework sandbox and experiment with it yourself using our interactive online playground. You can use it as a template to jumpstart your development with this pre-built solution. With CodeSandbox, you can easily ...

  7. Learn to style HTML using CSS

    MDN Web Docs offers a comprehensive guide to CSS, the language for styling and laying out web pages. Learn the fundamentals, building blocks, text styling, layout, and common problems of CSS with examples and videos.

  8. HTML Exercises

    Test your HTML skills with interactive exercises and get certified by completing the HTML course. W3Schools offers well-organized and easy-to-understand web building tutorials with examples of HTML, CSS, JavaScript and more.

  9. HTML & CSS Courses & Tutorials

    Learn HTML and CSS, the foundation of web development, with Codecademy's free online courses and tutorials. Explore topics such as HTML basics, CSS styling, responsive design, Sass, Bootstrap, and more.

  10. Code Nation

    Learn HTML and CSS skills by completing four exercises with interactive editors. Create and style web pages, add images, links, videos and more.

  11. HTML and CSS

    You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself. You can also link to another Pen here (use the .css URL Extension) and we'll pull the CSS from that Pen and include it.

  12. 32 HTML And CSS Projects For Beginners (With Source Code)

    Learn how to create stunning websites with HTML and CSS by building 32 fun and easy projects from scratch. See examples of radio buttons, toggle buttons, hamburger menus, modal pop-ups, and more.

  13. CSS Tutorial

    W3Schools offers a comprehensive CSS tutorial with hundreds of examples, exercises, quizzes, and templates. Learn how to style HTML elements, use CSS selectors, properties, functions, animations, and more.

  14. CS193X: Web Programming Fundamentals

    Recreate a listicle web page and create your own list-based article with HTML and CSS. Follow the instructions, screenshots, and style requirements for this homework assignment.

  15. Lesson 3 HTML & CSS

    About External Resources. You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.

  16. 25 Highest Rated Html Css Tutors

    With over 5 years of hands-on experience in web design, I have developed a deep expertise in creating visually appealing and user-friendly websites. My skills include proficiency in HTML, CSS, JavaScript, and modern design frameworks,... See Jean Yves's full profile. 5.0 (96) 50 /hour. 471 hours tutoring.

  17. Exercise v3.0

    Test your HTML skills with 106 interactive exercises on various topics, such as elements, attributes, tags, and more. You can also reset your score, get certified, or share your results online.

  18. html-css-homework

    Joe Sacco - [email protected] HTML-CSS homework for Code Chrysalis - Foundations 45. A simple webpage introducing myself. ... Pen Settings. HTML CSS JS Behavior Editor HTML. HTML Preprocessor About HTML Preprocessors. HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and ...

  19. HTML Tutorial

    HTML is the standard markup language for Web pages. Learn HTML with W3Schools, a web developer's site that offers free tutorials, examples, exercises, quizzes, and references.

  20. Introduction to HTML

    W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

  21. HTML Styles

    Learn how to use HTML and CSS to create web pages with layout, colors, fonts, borders, padding, margin and more. See examples, exercises and video lessons on W3Schools.com.