var question = "what is your name";
var response = prompt(question);
alert("hello " + response + "!");
alert("hello " + response + " today you will be learning html for your first part. To start of with " + response + " you will learn the h1, h2, h3, h4, h5, h6, tags. After you finish that " + response + " you will learn the p tag. Also, always in html you need a ending tag and a ending tag looks like the starting tag but like this </h1> that is a example of the ending tag for the h1 tag. basicly, a ending tag is the samething as a starting but has a slash right after that starting bracet");
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.