bug in passing the test with erroneous code
See original GitHub issueI passed the test with the following wrong coding - it did not even work correctly: see the image…
Challenge Use Responsive Design with Bootstrap Fluid Containers 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.
My code:
<div class="container-fluid">
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}
p {
font-size: 16px;
font-family: Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
.smaller-image {
width: 100px;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
https://s3.amazonaws.com/freecodecamp/iphone6-frame.png
<p>Click here for <a href="#">cat photos</a>.</p>
<a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
<label><input type="checkbox" name="personality"> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Crazy</label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Leaving intentional bugs in code for testers to find
This sounds absolutely ridiculous. It is expending a great deal of effort for very questionable benefit, and the practice seems based on some...
Read more >An Empirical Study of Bugs in Test Code - People
Abstract—Testing aims at detecting (regression) bugs in pro- duction code. However, testing code is just as likely to contain bugs as the code...
Read more >7 types of software bugs and errors | The Jotform Blog
Knowing about the different types of software bugs can help you quickly address them and get back to developing. Here are the main...
Read more >Automated Test Errors (aka, Failing Tests) - No Longer Set
You can have a bug in your code and/or in your test. ... an automated test error is any automated test that is...
Read more >Debugging - you're doing it wrong. 10 techniques to find a bug ...
10 techniques to find a bug in your code ... Console log everything; Use debugger; Problem localization; Create a few tests; Analyze logs ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How is the code incorrect? It looks correct to me, everything is wrapped in a div with the class container-fluid
The opening div should be below the the style. It violates HTML syntax rules, but it will still display properly, which is why it works.