What you will be making:

Style the elements in the box below:

Find us on instagram

Check the social media page.

Your task:

Put the svg icon on the right to a circle and style the icon and the text in the icon box.

Details you need:

CSS class of the icon box block: “icon-box-horizontal”
Icon title heading level: h3
Icon title: Roboto, font size 28px, font weight 600, color: #7591FF
Icon copy: Roboto font, font size 16px, font weight 400
Spacing between the circle and the text: 10px
Icon background color: #e6f2ff
Icon circle size: 100px
SVG icon: height 40px, color #7591FF

Hints:

Use background-color, border-radius, svg fill and display flex. Find the element classes in Inspect elements and style the icon box wrappers containing the text and the icon.

Got stuck?

or receive the code in your email by filling the form below:

General instructions:

  1. Open the exercise in your browser and read the task and the content on the left side of the screen. 
  2. You will be editing the content on the right side of the screen.
  3. In order to do that, right click on the exercise page that you opened and go to ‘Inspect’.
  4. Go to ‘Sources’ in the top bar and if you cannot see an empty CSS sheet where you can type the code, press Ctrl + P and start typing ‘styl’ in the search bar. Then press enter to open the CSS sheet.
  5. Follow the notes on the left and start typing your CSS code to see the changes online!
  6. Important! Do not refresh the page while you are editing the code, as these changes are in preview mode only and you can see them immediately, as soon as you write a line of functioning code.
  7. Use the custom classes in the notes on the left side of the screen, as well as ‘Elements’ on the top bar of the ‘Inspect’ to target and style the classes and elements. For example, you can enable the small icon on the top left of the ‘Inspect’ window (‘Select an element in the page to inspect it’) to find the default class name of the element you want to edit, while you are in the ‘Elements’ tab.

Tips:

  1. If the code is not showing any changes, try adding the !important tag at the end of the line before closing it (before the “;” symbol) and see if it works then.
  2. Don’t forget there are usually more ways to achieve the same result. Be creative!
  3. If you get stuck, write your email address in the form on the left side of the screen and you will get the solution (CSS code) in your email.

Sources:

  1. You can find a lot of tutorials on my youtube channel. 
  2. Watch the tutorial on how to solve these exercises here.

Please check your email and stay tuned for updates on the course.

We will notify you shortly when it’s available for presale.