Every time a user clicks on an answer they get different stats for both right or wrong answers and at the end depending on how many questions they got correct, they also get presented with the total score and their level stats along with some more information including a form.
ReallyB2B
Development
Built with Bootstrap 5, HTML5, CSS, JavaScript, and jQuery.
To help you understand the development side of this, I will provide you with code snippets for different parts of this particular project.
As mentioned above the task at hand was pretty much straightforward, therefore the first thing I did is to build a fully static HTML page using Bootstrap 5 (see code snippet below) to save me some time in terms of other devices’ adaptabily. I took this decision simply because normally when I am working with JavaScript or any of its libraries in this case jQuery, I feel that it is way easier to have all elements I want to work with laid out on a page so that later when writing jQuery I can literally see it in action.
Note: The below snippet is missing some other components such as inline CSS.
Interactive Quiz
How much do you really
know about influencer marketing?
Influencer marketing is not a new concept. In fact, some believe it can be traced back as far as ancient Rome where gladiators endorsed products. However, the explosive growth of social media gave influencer marketing an entirely new lease of life – and also gave marketers a new way to generate sales and revenue. Searches for “influencer marketing” in Google UK grew by 400% between 2016 and 2021, so it’s clearly becoming a big part of the marketing conversation.
But as a practitioner in the field, how much do you really know about the influencer marketing landscape? Well, there’s only one way to find out - answer our quiz questions and see…
Aspiring Expert
It’s no secret that influencer marketing can be a difficult task. But unfortunately, the time you spend learning and planning
is also time spent missing opportunities and revenue. So, let us make it easy for you. At Influencer Intelligence, we do things
differently. We know that developing authentic, collaborative relationships with influencers is invaluable to your marketing
strategies, which is why, we’ve combined a data-driven platform with a dedicated team of in-house analysts to help you
navigate the influencer marketing landscape with ease.
Rising Star
Look at you go, you’re doing great. Like so many businesses, you clearly have enough knowledge to see results from your
influencer marketing. But, what if you could easily take that next step and become an industry leader? Well, we can help.
We know that developing authentic, collaborative relationships with influencers is invaluable to your marketing strategies,
which is why, we’ve combined a data-driven platform with a dedicated team of in-house analysts to help you
navigate the influencer marketing landscape with ease.
Hall of Famer
It’s clear you know your way around influencer marketing. You’re likely seeing good results and even measuring the ROI
of your campaigns. But remember, good is the enemy of the best. The fact you are seeing good performances doesn’t mean
it couldn’t be better… or easier. So, let us help. At Influencer Intelligence, we do things differently. We’ve put authentic data
and meaningful ROI metrics at the heart of our influencer marketing platform, allowing you to quantify your campaigns
with advanced analytics and successfully track and evaluate the value of your influencer relationships over time.
With Influencer Intelligence, you’ll be able to:
Discover
Access hundreds of thousands of verified influencers and celebrities globally
Evaluate
Find talent that aligns perfectly with your audience by comparing influencers across multiple data points
Plan
Maximise campaign impact with access to over 7,000 key events and awareness days
Manage
Handle all your influencer marketing activity in one place. From running multiple campaigns, accessing important contact details and collaborating with teams using profile and data exports
Measure
Quantify your campaigns using our powerful measurement tool and personalised dashboard
Plus, our dedicated team of expert analysts are on hand to help support you in your bespoke projects, so you can be sure that you have the insights, metrics and expertise you need to deliver real results in your influencer campaigns.

Once this was done, I looked back at the design brief which had a section saying that “The banner image should change according to each question apart from the end result banner image which should show on every single result logic.” Therefore, while I went back to my CSS code and styled my banner/hero section as shown on the below code snippet.
CSS for the banner/hero section
.main-hero-bg { width: 100%; height: auto; max-height: 610px; overflow: hidden; display: block; background-image: url('images/influencer-bg.png'); border-bottom: 1px solid #af345f; box-shadow: rgb(0 0 0 / 35%) 0px 25px 20px -20px;}
#introHeroBG { top: 0; left: 0; width: 100%; z-index: 1; display: block; opacity: 1;}
#question1HeroBG { top: 0; left: 0; width: 100%; z-index: 2; display: none; }
#question2HeroBG { top: 0; left: 0; width: 100%; z-index: 3; display: none; }
#question3HeroBG { top: 0; left: 0; width: 100%; z-index: 4; display: none; }
#question4HeroBG { top: 0; left: 0; width: 100%; z-index: 5; display: none; }
#question5HeroBG { top: 0; left: 0; width: 100%; z-index: 6; display: none; }
#question6HeroBG { top: 0; left: 0; width: 100%; z-index: 7; display: none; }
#question7HeroBG { top: 0; left: 0; width: 100%; z-index: 8; display: none; }
#finalResultHeroBG { top: 0; left: 0; width: 100%; z-index: 9; display: none;}
#question1HeroBG, #question2HeroBG, #question3HeroBG, #question4HeroBG, #question5HeroBG, #question6HeroBG, #question7HeroBG {max-height: 610px !important; text-align: center;}
.questions-hero-bg img {width: 85%;}
By adding the z-index attribute to each image would allow me to show each image according to its question with no need to add display: none; to my jQuery but instead a simple fadeout effect…
The HTML for the banner/hero section…