0
0
Bootsrapmarkup~30 mins

Lead paragraphs in Bootsrap - Mini Project: Build & Apply

Choose your learning style9 modes available
Creating Lead Paragraphs with Bootstrap
šŸ“– Scenario: You are building a simple webpage for a local community newsletter. You want to highlight the introduction paragraph so it stands out to readers.
šŸŽÆ Goal: Build a webpage using Bootstrap that includes a lead paragraph to emphasize the introduction text.
šŸ“‹ What You'll Learn
Use Bootstrap 5 classes
Create a paragraph with the class lead
Include a container for proper spacing
Add a heading above the lead paragraph
Ensure the page uses semantic HTML5 elements
šŸ’” Why This Matters
šŸŒ Real World
Lead paragraphs are often used on websites to draw attention to important introductory text, such as news articles, blog posts, or announcements.
šŸ’¼ Career
Knowing how to use Bootstrap's typography classes like 'lead' helps you quickly create visually appealing and readable web pages, a common task in front-end web development jobs.
Progress0 / 4 steps
1
Set up the basic HTML structure with Bootstrap
Create a basic HTML5 page with lang="en", charset="UTF-8", and a viewport meta tag. Include the Bootstrap 5 CSS CDN link inside the <head>. Add a <body> with a <main> element containing a <div> with the class container.
Bootsrap
Need a hint?

Remember to include the Bootstrap CSS link inside the <head> and use semantic tags like <main> and <div class="container">.

2
Add a heading for the newsletter
Inside the <div class="container">, add a heading level 1 with the text Community Newsletter.
Bootsrap
Need a hint?

Use the <h1> tag inside the container to add the heading.

3
Add a lead paragraph to highlight the introduction
Below the heading, add a paragraph with the class lead. The paragraph text should be: Welcome to our monthly community newsletter. Stay updated with local events and news.
Bootsrap
Need a hint?

Use a <p> tag with the class lead to make the paragraph stand out.

4
Add a footer with a small note
After the <main> element, add a <footer> with the class text-center and mt-4. Inside the footer, add a small text: Ā© 2024 Community Newsletter.
Bootsrap
Need a hint?

Use a <footer> tag with Bootstrap classes for center alignment and margin top. Inside it, use a <small> tag for the copyright text.