Why does my page show up as blank? #187111
Replies: 1 comment
-
|
Hi there! I took a look at your repo and found the issue - your I checked both the file in your repository and the deployed GitHub Pages site at https://andylehagen.github.io/valentines/, and both show up blank because there's no HTML content in the index.html file. How to fix it:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Valentines</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Your content here -->
<h1>Happy Valentine's Day!</h1>
<script src="script.js"></script>
</body>
</html>
Your GitHub Pages deployment is working fine - you just need to add actual HTML content to the index.html file. Once you do that, your page will display properly! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hi,
I'm not an experienced coder and was trying to deploy a github page but it only shows up as blank. Does anyone know why or how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions