0
0
SEO Fundamentalsknowledge~30 mins

NAP consistency (Name, Address, Phone) in SEO Fundamentals - Mini Project: Build & Apply

Choose your learning style9 modes available
NAP Consistency (Name, Address, Phone)
📖 Scenario: You run a small local business and want to make sure your business information is the same everywhere online. This helps customers find you easily and improves your website's trust with search engines.
🎯 Goal: Build a simple checklist to verify that your business Name, Address, and Phone number are consistent across different online platforms.
📋 What You'll Learn
Create a dictionary called business_info with keys 'Name', 'Address', and 'Phone' and exact values given.
Create a list called platforms with three platform names as strings.
Use a loop to check each platform and create a dictionary consistency_check with platform names as keys and True or False as values.
Add a final summary variable all_consistent that is True only if all platforms have consistent NAP info.
💡 Why This Matters
🌍 Real World
Local businesses use NAP consistency checks to improve their online presence and help customers find accurate contact information.
💼 Career
SEO specialists and digital marketers regularly verify NAP consistency to boost search engine rankings and maintain brand trust.
Progress0 / 4 steps
1
Create the business information dictionary
Create a dictionary called business_info with these exact entries: 'Name': 'Sunshine Bakery', 'Address': '123 Bread St, Bakersville', and 'Phone': '+1-555-1234'.
SEO Fundamentals
Need a hint?

Use curly braces {} to create a dictionary with the keys and values exactly as shown.

2
List the online platforms
Create a list called platforms containing these exact strings: 'Google My Business', 'Facebook', and 'Yelp'.
SEO Fundamentals
Need a hint?

Use square brackets [] to create a list with the platform names as strings.

3
Check NAP consistency on each platform
Create a dictionary called consistency_check. Use a for loop with variable platform to go through platforms. For each platform, set consistency_check[platform] to True if the platform's NAP info matches business_info, otherwise False. For this exercise, assume all platforms have consistent info except 'Facebook', which is inconsistent.
SEO Fundamentals
Need a hint?

Use a for loop to check each platform. Set False for 'Facebook' and True for others.

4
Add a summary variable for overall consistency
Create a variable called all_consistent that is True only if all values in consistency_check are True. Use the all() function with consistency_check.values().
SEO Fundamentals
Need a hint?

Use the all() function to check if all platforms are consistent.