# Bootstrap Practice This material is part of [web development courses](https://github.com/MediaComem/comem-webdev) for [Media Engineering](https://heig-vd.ch/formations/bachelor/filieres/ingenierie-des-medias). Hands-on practice on the use of Bootstrap to create a WebPage. **You will need** * [Google Chrome][chrome] (recommended, any browser with developer tools will do) * [Sublime Text][sublime] (recommended, any code editor will do... **except Notepad**) * [Live-Server][ls] (should already be installed) **Recommended reading** * [Project setup][projset] * [Bootstrap][bb] * [Bootstrap - Layout management][blm] --- ## What to do? .breadcrumbs[
Bootstrap Practice
] 1. Create a new project directory in your file system (`bootstrap-practice`) 2. Download the [basic HTML template][bht] and save it as `index.html` 3. **Using only Bootstrap classes, recreate the following page:** > Click on the image to see it full-screen.
--- ## How to approach it? .breadcrumbs[
Bootstrap Practice
] The steps could be: 1. Analyze very thoroughly the screenshot 2. Try and determine the major "blocks" of the layout 3. Try and determine how you will use the grid system 4. Start by the navbar and footer 5. Follow this by creating the list 6. End by the "discussion zone" --- ## Custom CSS .breadcrumbs[
Bootstrap Practice
] **You don't have to add any additionnal CSS!** This practice was only realised using Bootstrap classes. Try to do the same. > The **ONLY** custom CSS needed is the one that adds the margin on the content, due to the navbar being fixed to the top. ```css main { margin-top: 60px; } ``` You can add this CSS directly in a `