question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Borders Around your Elements - not passing

See original GitHub issue

Add Borders Around Your Elements

http://bit.ly/2gOUfF3

Issue Description

Code is not passing, even though it’s correct

Browser Information

  • Browser Name, Version: Vivaldi
  • Operating System: Windows
  • Desktop

Your Code

<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .smaller-image {
    width: 100px;
  }
  .thick-green-border{
    border-color: green;
    border-width: 10px;
    border-style: solid;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
texas2010commented, Dec 15, 2016

@diomed, try reset it and write it again. I found a problem. there has an issue with &nbsp; in the code editor. that cause your code won’t get passed. test realize it as not pass. sorry about that.

0reactions
eriksandallcommented, Dec 23, 2016

Please apply the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add Borders Around Your Elements - Guide
To add a custom border around any HTML element, these three properties are used as shown below. ... The same className should be...
Read more >
CSS: Adding Borders to Elements - iLoveCoding
Adding Borders to Elements. In this lesson, we are going to learn, how to add borders to elements, so let's get started. In...
Read more >
The 3 CSS Methods for Adding Element Borders
The most essential syntax for a border defines it's width and style: border: 3px solid; If not defined, the default color will be...
Read more >
Placing border inside of div and not on its edge - Stack Overflow
So for the 'inner' border of 10px you would write the following: ... This way, the border width is not added to the...
Read more >
How to Remove and Style the Border Around Text Input Boxes ...
Add CSS · Set the border-top-style, border-right-style, border-left-style properties of the <input> element to "hidden". · Use the :focus pseudo-class with the " ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found