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 trial

JavaScript

so im trying to submit a url form and post it to the product page when i click the submit button and the url shows .

so i want the url to post to the page when i click the submit button like a social media post and stay on that page what do i do i want the url to post to the products page.heres the code i need javascript and html help with this:

<html>
<head>
<title>Products
</title>

</head>
<body bgcolor="silver" Align="center">
<h1 style="color:blue";> Products</h1>
<hr>
<a href="Products.html">Products|</a>
<a href="index.html">Back to home|</a>
<a href="Advertise.html">Advertise|</a>
<a href="About.html">About|</a>
<hr>
<br><br><form method="post" action="Product.html">
<input type"url">
<input type=submit value=submit>
<script>
</script>
</body>
</html>