Tell us what’s happening:
Your code so far
<style>
body {
background: url("https://i.imgur.com/MKAxbh.png
}
</style>
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 12607.81.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.119 Safari/537.36
.
Challenge: Create Texture by Adding a Subtle Pattern as a Background Image
Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image
ilenia
February 5, 2020, 2:37pm
#2
why do you think it is different from others?
well because when i input the code as it indicates nothing happens. Am I putting in the wrong code?
lendoo
February 5, 2020, 2:45pm
#4
Hi,
background: url("https://i.imgur.com/MKAxbh.png
Check again the above lane
Where is your closing parenthesis?
Did not work. here is the code that was given to me:
https//cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png
lendoo
February 5, 2020, 3:02pm
#7
When you using css, very hard to find any error because the code don’t stop running and don’t send any error message.
Please bear in mind: if the css code don’t work check always first the syntax.
In your code there are 3 syntax error.
You can read more about css syntax here
If you really stack up read this tutorial . You will find here the answer.
How do I pass the challenge. can you give me a hint?
ilenia
February 5, 2020, 3:21pm
#9
when you write code make sure all your opening parenthesis have a matching closing parenthesis
and that your quotes are always present in pairs
you are missing a quote and closing parenthesis
Do I copy the code that is given to me into the code editor exactly how it is written? And just add the quotes and parenthesis ?
ilenia
February 5, 2020, 3:48pm
#11
like it is said in challenge description:
The background
property supports the url()
function in order to link to an image of the chosen texture or pattern. The link address is wrapped in quotes inside the parentheses.
Vl-mz
February 6, 2020, 2:17pm
#13
You need to copy URL from task.
In () don’t use "
finally put a bracket on ) and semicolon ;
<style>
body {
background: url(https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png);
}
</style>