📖 Scenario: You work as a digital marketer managing a website's SEO performance. To improve the website's visibility, you need to track how well certain keywords rank on search engines over time.
🎯 Goal: Build a simple keyword ranking tracker that stores keywords and their current rankings, sets a target ranking threshold, identifies keywords that need improvement, and marks the tracking as complete.
📋 What You'll Learn
Create a dictionary called keyword_rankings with these exact entries: 'SEO Basics': 12, 'Content Marketing': 8, 'Backlink Strategies': 15, 'Keyword Research': 5, 'Site Optimization': 20
Create a variable called target_rank and set it to 10
Create a list called keywords_below_target that contains only the keywords from keyword_rankings with rankings greater than target_rank
Create a variable called tracking_complete and set it to True
💡 Why This Matters
🌍 Real World
Digital marketers track keyword rankings to understand how well their website performs in search engines and to identify areas for improvement.
💼 Career
SEO specialists and content marketers use keyword ranking data to optimize content strategy and improve website visibility.
Progress0 / 4 steps
1
Create the initial keyword rankings dictionary
Create a dictionary called keyword_rankings with these exact entries: 'SEO Basics': 12, 'Content Marketing': 8, 'Backlink Strategies': 15, 'Keyword Research': 5, 'Site Optimization': 20
SEO Fundamentals
Hint
Use curly braces {} to create a dictionary with keyword names as keys and their rankings as values.
2
Set the target ranking threshold
Create a variable called target_rank and set it to 10
SEO Fundamentals
Hint
Use a simple assignment to create the variable target_rank with the value 10.
3
Identify keywords below the target ranking
Create a list called keywords_below_target that contains only the keywords from keyword_rankings with rankings greater than target_rank
SEO Fundamentals
Hint
Use a list comprehension to select keywords where the ranking is greater than target_rank.
4
Mark the tracking as complete
Create a variable called tracking_complete and set it to True
SEO Fundamentals
Hint
Use a simple assignment to create the variable tracking_complete with the value True.
Practice
(1/5)
1. What is the main purpose of tracking keyword rankings in SEO?
easy
A. To see how well your website appears in search results
B. To design the website layout
C. To increase website loading speed
D. To write blog posts automatically
Solution
Step 1: Understand keyword ranking meaning
Keyword ranking shows where your website appears in search engine results for specific words.
Step 2: Identify the main goal of tracking rankings
Tracking rankings helps you know how visible your website is to users searching those keywords.
Final Answer:
To see how well your website appears in search results -> Option A
Quick Check:
Keyword ranking = website visibility [OK]
Hint: Rankings show your website's search result position [OK]
Common Mistakes:
Confusing ranking with website design
Thinking ranking improves speed
Assuming ranking creates content
2. Which of the following is a common method to track keyword rankings?
easy
A. Increasing website font size
B. Editing website HTML code manually
C. Using SEO tools like Google Search Console
D. Adding more images to pages
Solution
Step 1: Identify tools for tracking rankings
SEO tools like Google Search Console provide data on keyword positions in search results.
Step 2: Recognize unrelated actions
Editing code, changing font size, or adding images do not track keyword rankings directly.
Final Answer:
Using SEO tools like Google Search Console -> Option C
Quick Check:
SEO tools = ranking tracking [OK]
Hint: Use SEO tools, not design changes, to track rankings [OK]
Common Mistakes:
Confusing design changes with ranking tracking
Thinking manual code edits track rankings
Assuming images affect ranking data collection
3. If a website's keyword ranking improves from position 10 to position 3, what does this mean?
medium
A. The website is now less visible in search results
B. The website lost all its traffic
C. The website's loading speed increased
D. The website moved closer to the top of search results
Solution
Step 1: Understand ranking positions
Lower position numbers mean higher placement on search results (position 1 is top).
Step 2: Interpret position change from 10 to 3
Moving from 10 to 3 means the website is now ranked higher and more visible.
Final Answer:
The website moved closer to the top of search results -> Option D
Quick Check:
Lower rank number = better position [OK]
Hint: Smaller rank number means better position [OK]
Common Mistakes:
Thinking higher number means better rank
Confusing ranking with traffic loss
Mixing ranking with site speed
4. A website owner notices their keyword ranking tool shows no data after setup. What is a likely cause?
medium
A. The tracking tool was not properly connected to the website
B. The website has too many images
C. The website's font size is too small
D. The website uses too many keywords
Solution
Step 1: Identify why no data appears
No data usually means the tool is not linked correctly to the website or search engine.
Step 2: Exclude unrelated reasons
Images, font size, or keyword count do not prevent data collection by tracking tools.
Final Answer:
The tracking tool was not properly connected to the website -> Option A
Quick Check:
Connection issue = no data [OK]
Hint: Check tool connection if no ranking data shows [OK]
Common Mistakes:
Blaming images or font size for missing data
Assuming keyword count stops data
Ignoring setup steps for tracking tools
5. You want to track keyword rankings for multiple locations to see how your website performs locally. Which approach is best?
hard
A. Check rankings only on your home computer
B. Use an SEO tool that supports location-based ranking tracking