JavaScript JavaScript Basics (Retired) Introducing JavaScript Your First JavaScript Program

"Can't find your the function" I can't seem to figure out what it wants.

help

index.html
<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
</head>

<body>

</body>

<script>
    document.write(alert("Welcome to my side"));

</script>

</html>

1 Answer

Kuanyshbek Ospanov
Kuanyshbek Ospanov
17,416 Points

Try this:

<script>
    document.write("Welcome to my side");
</script>