0
0
Digital Marketingknowledge~30 mins

Social proof and trust signals in Digital Marketing - Mini Project: Build & Apply

Choose your learning style9 modes available
Building Social Proof and Trust Signals for a Website
📖 Scenario: You are creating a simple webpage for a small online store. To help visitors trust your store and feel confident about buying, you want to add social proof and trust signals.Social proof means showing that other people like and trust your store. Trust signals are elements that make your site look safe and reliable.
🎯 Goal: Build a basic webpage structure that includes social proof elements like customer testimonials and trust signals like security badges.
📋 What You'll Learn
Create a list of three customer testimonials with exact text
Add a variable for the minimum star rating to display
Use a loop to select testimonials with star rating above the threshold
Add a final trust badge section with exact text
💡 Why This Matters
🌍 Real World
Online stores and service websites use social proof and trust signals to increase customer confidence and boost sales.
💼 Career
Digital marketers and web designers must understand how to gather and display social proof and trust signals effectively to improve website credibility.
Progress0 / 4 steps
1
Create customer testimonials data
Create a list called testimonials with these exact three entries as dictionaries: {'name': 'Alice', 'text': 'Great service!', 'stars': 5}, {'name': 'Bob', 'text': 'Fast delivery.', 'stars': 4}, and {'name': 'Charlie', 'text': 'Good quality.', 'stars': 3}.
Digital Marketing
Need a hint?

Use a list with three dictionaries exactly as shown.

2
Set minimum star rating threshold
Create a variable called min_stars and set it to the integer 4. This will be the minimum star rating to show testimonials.
Digital Marketing
Need a hint?

Just create a variable named min_stars and assign it the value 4.

3
Filter testimonials by star rating
Create a list called trusted_testimonials that includes only the testimonials from testimonials where the 'stars' value is greater than or equal to min_stars. Use a for loop with variables t to iterate over testimonials.
Digital Marketing
Need a hint?

Use a for loop to check each testimonial's stars and add it to the new list if it meets the threshold.

4
Add trust badge section
Create a string variable called trust_badge and set it to the exact text 'Secure Payment Verified'. This will represent a trust signal on the website.
Digital Marketing
Need a hint?

Just assign the exact text to the variable trust_badge.