Hi! I am making a HTML website but its just blank when I load it up?
Heres my code:
<!DOCTYPE html>
<html>
<head>
<div id="title">
<title>test</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="icon" href="./img/logo.jpg">
<!--
font awesome
-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>test</title>
<meta name="title" content="test">
<meta name="description" content="test">
</head>
</html>
Here is my style.css file:
u/import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
#title {
background-color: rgb(154, 52, 52);
}
And I do have have a photo in img named logo.jpg (the photos actually in it)
I have a folder named img, it only has logo.jpg
I have a folder named css, it only has style.css in it. The file is above ^^.
I have a folder named js, it only has script.js in it. Script.js is blank.
And then in the main folder (the folders name) we have index.html with the code above ^^.
Heres what I see when I load it up:
I hope this makes sence!