Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Understanding WordPress.org vs WordPress.com
📖 Scenario: You want to create a website and are deciding between using WordPress.org or WordPress.com. Understanding the differences will help you choose the best option for your needs.
🎯 Goal: Build a simple comparison chart in HTML that clearly shows the main differences between WordPress.org and WordPress.com.
📋 What You'll Learn
Create an HTML structure with a table comparing WordPress.org and WordPress.com
Add a configuration variable to hold the features list
Use a loop to generate table rows dynamically from the features list
Add final HTML elements to complete the accessible and responsive table
💡 Why This Matters
🌍 Real World
Comparing hosting options or software features clearly helps users make informed decisions when choosing platforms.
💼 Career
Web developers often build dynamic, accessible tables to present data clearly on websites.
Progress0 / 4 steps
1
Create the HTML table skeleton
Create an HTML table element with a thead containing two headers: WordPress.org and WordPress.com. Also add an empty tbody where the comparison rows will go.
Wordpress
Hint
Start by writing the table with headers for both WordPress.org and WordPress.com. Leave the body empty for now.
2
Add a JavaScript array with feature comparisons
Create a JavaScript variable called features that is an array of objects. Each object should have two properties: org and com. Add these exact entries: 1. { org: 'Self-hosted', com: 'Hosted by WordPress' } 2. { org: 'Full control', com: 'Limited control' } 3. { org: 'Free software', com: 'Free and paid plans' }
Wordpress
Hint
Define a constant array named features with objects holding the exact comparison text for WordPress.org and WordPress.com.
3
Use JavaScript to fill the table body with feature rows
Write JavaScript code that selects the tbody element and uses a forEach loop over the features array. For each feature, create a table row tr with two cells td: one for org and one for com. Append each row to the tbody.
Wordpress
Hint
Select the table body and loop through the features array. For each feature, create a row with two cells and add it to the table.
4
Add accessibility and responsive design
Add a caption element inside the table with the text Comparison of WordPress.org and WordPress.com. Also add a scope="col" attribute to both th elements for accessibility.
Wordpress
Hint
Add a caption inside the table for screen readers and add scope="col" to the header cells for better accessibility.
Practice
(1/5)
1. Which statement best describes WordPress.org?
easy
A. WordPress hosts your site with no control for you.
B. It is a free blogging platform with limited features.
C. You host your own site and have full control over it.
D. It only allows you to create online stores.
Solution
Step 1: Understand hosting control
WordPress.org means you download the software and host it yourself, giving full control.
Step 2: Compare with other options
WordPress.com hosts your site but limits control on free plans, unlike WordPress.org.
Final Answer:
You host your own site and have full control over it. -> Option C
Quick Check:
WordPress.org = Full control [OK]
Hint: WordPress.org means self-hosted with full control [OK]
Common Mistakes:
Confusing WordPress.com as self-hosted
Thinking WordPress.org is only for blogs
Believing WordPress.org is a hosting service
2. Which of the following is a correct feature of WordPress.com free plan?
easy
A. Limited control with hosting provided by WordPress.com.
B. No ability to create posts or pages.
C. You must host the site yourself.
D. Full plugin installation and theme customization.
Solution
Step 1: Identify WordPress.com free plan features
WordPress.com free plan hosts your site but limits control and customization.
Step 2: Eliminate incorrect options
Full plugin installation and self-hosting are not available on free WordPress.com plans.
Final Answer:
Limited control with hosting provided by WordPress.com. -> Option A
Quick Check:
WordPress.com free = Limited control [OK]
Hint: WordPress.com free plan limits control, hosting included [OK]
Common Mistakes:
Assuming full plugin access on free WordPress.com
Confusing self-hosting with WordPress.com
Thinking WordPress.com free plan disables posting
3. If you want to install custom plugins and themes, which WordPress option should you choose?
medium
A. WordPress.com free plan
B. WordPress.org self-hosted
C. WordPress.com paid plan only
D. Neither option allows custom plugins
Solution
Step 1: Understand plugin and theme installation
Only WordPress.org self-hosted sites allow full custom plugin and theme installation.
Step 2: Compare WordPress.com plans
WordPress.com free plan does not allow custom plugins; paid plans allow limited plugins but not full control.
Final Answer:
WordPress.org self-hosted -> Option B
Quick Check:
Custom plugins = WordPress.org [OK]
Hint: Custom plugins need WordPress.org self-hosting [OK]
Common Mistakes:
Thinking WordPress.com paid plans allow all plugins