diff --git a/src/data/projects/image-grid.md b/src/data/projects/image-grid.md new file mode 100644 index 000000000..414da0650 --- /dev/null +++ b/src/data/projects/image-grid.md @@ -0,0 +1,51 @@ +--- +title: 'Image Grid Layout' +description: 'Create a grid layout of images using HTML and CSS.' +isNew: false +sort: 8 +difficulty: 'beginner' +nature: 'CSS' +skills: + - 'HTML' + - 'CSS' + - 'Grid Layout' + - 'Responsive Design' +seo: + title: 'Create an Image Grid Layout for a Website Using HTML and CSS' + description: 'Learn how to create a responsive grid layout of images using HTML and CSS.' + keywords: + - 'css grid' + - 'image layout' + - 'responsive design' + - 'html and css' +roadmapIds: + - 'frontend' + +--- + +In this project, you are required to create a grid layout using HTML and CSS. You will be provided with six images that need to be arranged in a grid pattern based on the provided mockup. The primary focus of this project is to help you learn and practice the CSS Grid layout technique, which is essential for creating responsive and flexible web layouts. + +The goal of this project is to give you hands-on experience with CSS Grid, allowing you to create complex layouts with ease. Below is a rough mockup showing the grid layout you need to create along with the six images that you should use. + +[![Grid Layout Mockup](https://assets.roadmap.sh/guest/image-grid.jpg)](https://assets.roadmap.sh/guest/image-grid.jpg) + +You can use the same images provided in the mockup or replace them with your own images. The grid layout should be responsive, meaning it should adapt to different screen sizes and maintain a visually appealing design. + +- [A foggy beach with a large rock formation in the foreground](https://unsplash.com/photos/a-foggy-beach-with-a-large-rock-formation-in-the-foreground-TTExgxV06KA) +- [A living room with a white couch and a round window](https://unsplash.com/photos/a-living-room-with-a-white-couch-and-a-round-window-Wuu6H3mI7UA) +- [A table topped with plates and bowls of food](https://unsplash.com/photos/a-table-topped-with-plates-and-bowls-of-food-zx8_8jwZ5m8) +- [A building with a red door and a tree in front of it](https://unsplash.com/photos/a-building-with-a-red-door-and-a-tree-in-front-of-it-uTd-kylh7bE) +- [A row of white apartment buildings next to a street](https://unsplash.com/photos/a-row-of-white-apartment-buildings-next-to-a-street-f1PzRPbqt0M) +- [A view of a beach from the top of a hill](https://unsplash.com/photos/a-view-of-a-beach-from-the-top-of-a-hill-SAyIShcE5rs) + +Key learning objectives of this project include: + +- **Grid Structure**: Understand the fundamentals of CSS Grid, including defining grid containers, rows, columns, and how to place items within the grid. + +- **Responsive Design**: Learn how to make the grid layout responsive so that it adapts to different screen sizes. This might involve changing the number of columns or the layout of the images based on the viewport width. + +- **Alignment and Spacing**: Explore how to align grid items and manage spacing between them to achieve a clean and visually appealing layout. + +--- + +By completing this project, you will gain confidence in using CSS Grid to create flexible and responsive layouts. You can further apply these skills to more complex projects as you continue learning web design and development. \ No newline at end of file