Skip to content

Passing this challenge is very tricky - this can cause confusion #15012

@owususamuel

Description

@owususamuel

Challenge create-a-more-complex-shape-using-css-and-html has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

<style>
.heart {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: pink;
  height: 50px;
  width: 50px;
  transform: rotate(-45deg);
}
.heart:after {
  background-color: pink;
  content: "";
  border-radius: 50%;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0px;
  left: 25px;
}
.heart:before {
  content: "";  // when you add any extra space outside the empty string will not pass this challenge
  background-color: pink;
  border-radius: 50%;
  position: absolute;
  width: 50px;
  height: 50px;
  top: -25px;
  left: 0px;
}
</style>
<div class = "heart"></div>

content: ""; // when you addany extra space outside the empty string will not pass this challenge. Can't you add any whitespace?

Metadata

Metadata

Assignees

No one assigned

    Labels

    first timers onlyOpen for anyone doing contributions for first time. You do not need permission to work on these.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions