0
0
No-Codeknowledge~30 mins

Pages and reusable elements in No-Code - Mini Project: Build & Apply

Choose your learning style9 modes available
Creating Pages and Reusable Elements
šŸ“– Scenario: You are building a simple website for a local bakery. The website needs multiple pages like Home, Menu, and Contact. To keep the design consistent, you want to use reusable elements like a header and footer on every page.
šŸŽÆ Goal: Build a basic website structure with multiple pages and reusable header and footer elements that appear on all pages.
šŸ“‹ What You'll Learn
Create a Home page with a welcome message
Create a Menu page listing bakery items
Create a Contact page with contact details
Create a reusable Header element with the bakery name
Create a reusable Footer element with copyright info
Add the Header and Footer to all pages
šŸ’” Why This Matters
šŸŒ Real World
Websites often have multiple pages sharing common parts like headers and footers. Using reusable elements saves time and keeps design consistent.
šŸ’¼ Career
Web developers and designers use reusable components to build maintainable and scalable websites efficiently.
Progress0 / 4 steps
1
Create the Home page
Create a page called Home with a heading that says Welcome to Sweet Treats Bakery.
No-Code
Need a hint?

Use a page tag with the attribute name="Home" and add an h1 heading inside.

2
Create the reusable Header element
Create a reusable element called Header that contains the bakery name Sweet Treats Bakery inside a heading tag.
No-Code
Need a hint?

Use a reusable tag with the attribute name="Header" and add an h2 heading inside.

3
Add Header to Home page and create Menu page
Add the reusable Header element to the Home page. Then create a new page called Menu with a list of bakery items: Bread, Cake, and Cookies.
No-Code
Need a hint?

Use the <use reusable="Header" /> tag inside the Home page. Create a Menu page with an unordered list of items.

4
Create Footer and add to all pages
Create a reusable element called Footer with the text Ā© 2024 Sweet Treats Bakery. Add this Footer to both the Home and Menu pages.
No-Code
Need a hint?

Create a reusable Footer element with a paragraph. Add <use reusable="Footer" /> inside Home and Menu pages.