Question
2.1.4 Say Hello!
index.html
</html>
Output
Test Cases
Docs
Assignment
Grade
More
Test Cases
2/3
Pass Test Message
You must have a h1 tag on your page Great!
Your h1 tag must have text in them. Great!
The h1 tag should say "Hello, Worldwide Web!" Try again!
Expected result:
Hello, Worldwide Web!
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello!</h1>
</body>
</html>
index.html
</html>
Output
Test Cases
Docs
Assignment
Grade
More
Test Cases
2/3
Pass Test Message
You must have a h1 tag on your page Great!
Your h1 tag must have text in them. Great!
The h1 tag should say "Hello, Worldwide Web!" Try again!
Expected result:
Hello, Worldwide Web!
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello!</h1>
</body>
</html>
Answers
GPT-5 mini
Replace the h1 text with the exact phrase required: Hello, Worldwide Web!
Use this HTML for index.html:
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello, Worldwide Web!</h1>
</body>
</html>
Make sure the punctuation and capitalization match exactly.
Use this HTML for index.html:
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello, Worldwide Web!</h1>
</body>
</html>
Make sure the punctuation and capitalization match exactly.