How to make * selector

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <title>Nutrition Label</title>
  <link href=",700,800" rel="stylesheet">
  <link href="./styles.css" rel="stylesheet">
  <div class="label">
    <h1>Nutrition Facts</h1>
    <p>8 servings per container</p>
    <p>Serving size 2/3 cup (55g)</p>
/* file: styles.css */

html {
font-size: 16px;

body {
font-family: 'Open Sans', sans-serif;

.label {
border: 2px solid black;
width: 270px;
margin: 20px auto;
padding: 0 7px;
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 11

Link to the challenge:

1 Like

Hi @aricodewibowo04

You can use this link as reference, I think it will help you.

Happy coding!!

It sounds as if the terminolgy is confusing you.
The selector is simply the styling you are giving to elements, classes, ids, etc.
You make the ‘*’ selector in the same way you already have selectors for ‘html’, ‘body’ and ‘,label’.


* {
    [styling here]  

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.