Tell us what’s happening:
I am trying to add a background image to the body and it doesn’t show up.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en-US">
<link rel="stylesheet" type="text/css" href="C:/html-stuff/styles.css">
<head>
<title>Coding Survey Form</title>
<meta charset="UTF-8">
</head>
<body>
<h1>Coding Form</h1>
<p>Please fill out the questions below</p>
</body>
</html>
/* file: styles.css */
body {
background-image: url('C:\html-stuff\images\guycoding.jpg');
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: