Click here to Skip to main content
15,888,031 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
This is my code so far...

<form id="formNewPost">
	Title:
	<input type="text" id="txtTitle"> </br> </br>
	Write Post: </br>
	<input type="text" id="txtWritePost"> </br> </br>

	<input type="submit" id="btnSubmit">

</form>

How can I code it so that it displayed what the user has just inputted, below?

What I have tried:

I'm new to HTML and CSS so am not sure what to try
Posted
Comments
F-ES Sitecore 28-Nov-18 6:02am    
html is a client\server technology, you can't do the things you're wanting to do in just html alone, you'll need to choose a server-side technology as well. So look to use PHP, asp.net, python or whatever, but the solution depends on the server technology you are using. The techs all have free webservers and tools you can download and install for free.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900