0
How to?
I want to make a HMTL input and when you write specific things like good or something it will be written on the screen and most importantly I want to share this with my friend with Google web sites (it's a free website maker inside of google you can put scripts too) but how?
5 Respuestas
+ 2
In HTML, you use <FORM> sections with <INPUT> fields to collect stuff from the user. Then you have a SUBMIT button that can invoke some JavaScript. That JavaScript can then edit any given area on the page with the new content you've collected from the fields.
Step 1: Learn how to build a web page and put a form on it with inputs and a submit button. Also create a spot where the new content will be created.
Step 2: Add JavaScript to the action of the submit button. The JavaScript will replace the contents of the content area you created.
To do these tasks, you need a basic understanding of HTML and JavaScript. Check out those courses if you don't know those skills.
Step 3: Post your code into the Code Bits section, mark that as PUBLIC, and give us a link to it. We can look it over and advise you about any problems you may be experiencing.
+ 2
What have you done so far?
If you've already written the code, then you could save the files, or copy them from Sololearn and paste them in a file for him to see/use.
+ 1
I don't know how to make a html code with input.
I just know python
+ 1
Thanks 🙏🏻
+ 1
I think you can only use the input in the form section.... whenever you are going to learn it! Otherwise use js instead!