We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 yea开发者_StackOverflow中文版rs ago.
Improve this questionDoes anyone know how to get, or where to get, or how to make, or where to find a tutorial, about the w3schools try it editor?
I need an editor like it, so when typing js/html/css the code be accepted and shown like the tryit editor.
If I understand that correctly, you're looking for a Javascript or PHP editor?
For JS I use jsfiddle.net, and for PHP I use codepad.org.
The "editor" you are referring to is nothing more but:
<form action="<?= $_SERVER["PHP_SELF"] ?>" method="POST">
<input type="submit">
<textarea name="code"><?= htmlentities($_POST["code"]) ?></textarea>
<div id="output">
<?= $_POST["code"] ?>
</div>
And the PHP form sending could even be replaced by:
<button onclick='$("#output").html( $("textarea#code").value )'>
Your question wasn't super clear, but it sounds like you're asking for another tool similar to the W3Schools Tryit Editor.
I use http://jsfiddle.net/, and I love it. It lets you quickly add HTML, JS, and CSS to the editor and get the results. It also lets you save/share your code with others. It's great for mocking up something quick and sending it out to get approved or to get help with syntax.
精彩评论