https://www.iorad.com/player/2323422/Replit---How-to-untitled-task-name?iframeHash=trysteps-1
<aside> 👨🏻‍💻
Now, Replit only allows Users to host 3 Projects at most.
</aside>
As shown in the tutorial above, try to type console.log("Hello World!")
and click run
or refresh
on Replit. Then, click Devtools
at the top right corner of the little browser and you will see the line you tried to print on the console (not the little webpage above, just the console).
The console message
3 files are created automatically
A web page typically includes three files:
The roles played by the 3 files
Read the index.html
file that Replit generates.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>replit</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
Hello world
<script src="script.js"></script>
</body>
</html>