S
S
Sergey Chernega2020-03-17 21:30:56
css
Sergey Chernega, 2020-03-17 21:30:56

How to create form field content change after reload?

Inspired me to ask this after a random picture show meeting. Let's say I have a form:

<form><input type="text" value=" " readonly></input></form>

And I want the value to include some words after each page reload, for example "Hello World", and after the refresh "Uncle Masha came to me yesterday". Is there any way to do this in JavaScript?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Albert, 2019-08-15
@Ukuloli

Orange via background-image, background-size: cover for the parent block. Content under 1200 can be aligned by creating a new block in the parent block with the property margin: 0 auto and width: 1200px, and shove all the content into it

H
hzzzzl, 2020-03-17
@SergiyMDev

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question