Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialrochelle reynolds
Courses Plus Student 387 PointsScript tag
Can not remember how to add text into the <script> tags to create a message
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JavaScript Basics</title>
</head>
<body>
</body>
<script>
// Write your code here.
</script>
</html>
3 Answers
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsTry using the document.write command.
rochelle reynolds
Courses Plus Student 387 PointsI still am not getting it. I did the document.write command like this:
document.write("<hl>Welcome to my site</hl>); and I am getting nothing. not sure if I am putting it on the right line or if the phrasing is even correct. I've watched video a few times over and still no luck.
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsDrop the h1 tags from your code as they are not needed and make sure both sides of the string contain correct punctuation.