JavaScript JavaScript Basics (Retired) Introducing JavaScript Write Another Program

alert tag 'warning'

not sure how to get the alert 'warning' tag?

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

</body>
</html>

1 Answer

Brandon Leichty
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brandon Leichty
Full Stack JavaScript Techdegree Graduate 34,669 Points

Hey Clayton,

Looks like you got the first part of the quiz done—nice work!

You'll want to use the alert function, which looks like this:

alert('Warning!');

You can read more about how to use the alert() function on the MDN website.

I find the website above to be a great resource when needing to look up or remind myself how a certain function works.

Hope that helps! Happy coding!

-Brandon