Add Cookies to a webpage and change HTML / CSS based on existence of cookie.

I have a form on [login to view URL], once user submits the form they land on a [login to view URL] page.

I would like the [login to view URL] page to set a (true/false) uniquely named cookie (with something like 30 day expiration).

Then if the same user on the same browser goes back to [login to view URL] within the 30 days the submit button needs to be hidden (type="hidden") and a small snippet of html needs to needs to be revealed in place of where the button would be, something like "you have already submitted this form."

So if user has no cookie (false or nothing) the code on [login to view URL] would be this:

<input value="Submit" onclick="emailform()" type="button" class="primary">

If user has visited the [login to view URL] and the cookie exists when user comes back to [login to view URL], this would replace (hidden/revealed, whatever) of the above code:

<input type="hidden" value="Submit" onclick="emailform()" type="button" class="primary"><h3 class="alt" style="color: red">You have already submitted this form.</h3>

Notice the type="hidden" and the extra h3.

Obviously, needs to work in all modern browsers.

I would like something simple to be used like JS-Cookie:

[login to view URL]

tutorial: [login to view URL]

And something simple like these to hide/reveal html/css:

[login to view URL]

[login to view URL]

or basically anything you know that is very simple.

You can create the standalone pages ([login to view URL], [login to view URL], and possible js files) and send those to me along with whatever libraries need uploading if any. I will implement in the actual pages with simple step by step instructions from you.

This should be a very easy and fast project for anyone with a little cookie knowledge. Thanks.

Skills: JavaScript, CSS, HTML, HTML5

See more: html css div based design, easy convert html css webpage php template, change fireworks png html css file, change psd html css, convert html css based page drupal theme, php change css based users referral, html css fake state using cookies, change image hover html css java, change html content based url, change html css, webpage html css convert email, add security webpage html, add swf file html css web designs, div based html css joomla web design, add content html css template, html css based templates, newsletter template html css based, how to create a webpage using html css and javascript, add cookies to website html, change theme css based on user

About the Employer:
( 47 reviews ) Wetumpka, United States

Project ID: #31892695

Awarded to:


Hi! I should be about to get this done for you in a few days at most. Send me the files and we can get started.

$15 USD in 2 days
(1 Review)

16 freelancers are bidding on average $26 for this job


Hi there, I am expert to add cookie and can change html according to cookie I have read your project requirements and I am interested to work on your project. I have 7+ years experience in website development, Plea More

$25 USD in 1 day
(99 Reviews)
(49 Reviews)

Hello. I am a Frontend developer with a lot of experience. I have a degree in programming. I know HTML(Pug), CSS(Sass, Less, Scss, Bootstrap, Tailwind), JavaScript(Native, React, [login to view URL], TypeScript, jQuery), PHP, My More

$50 USD in 1 day
(17 Reviews)

Hi. No problem, As a qualified programmer, I can implement this right away. Shouldn't take more than an hour. If interested, just hit me up!

$50 USD in 1 day
(24 Reviews)

I'm a Web Developer having experience in PHP, MySQL, Wordpres, HTML, Javascript, jQuery, Ajax etc. I can do this for you. Ready to start right now. Looking forward to hearing from you. Kind Regards Pranotosh

$30 USD in 1 day
(19 Reviews)

Hello, Sir/Madam i am website designer html bootstrap word press,. I am looking for experienced of all types of websites designers that they will work completing quality projects on time , with professional altitude More

$20 USD in 1 day
(41 Reviews)

Hello, I will add Cookies to a WebPage and Please share your website URL: Our Expertise: Shopify, PHP, HTML, and WordPress In order to give you the best website, Our Recent Work: [login to view URL] https://www. More

$25 USD in 1 day
(9 Reviews)

Hi There, Do you need to implement it using pure front-end solutions? I am a seasoned front-end developer with background knowledge of HTML, JavaScript frameworks, and CSS libraries. Looking forward to hearing from you More

$35 USD in 1 day
(9 Reviews)

Hey, It can be done just according to your requirements. kindly have a chat session for better understanding. Regards, Syed Hammad Hafeez I

$25 USD in 7 days
(14 Reviews)

hope everything goes well with you. I just read your job description and very intesting on your project. If you want quality and quick web work you are in the right place. I pride myself on doing quality work and maint More

$25 USD in 1 day
(2 Reviews)

Hello, sir! Thanks for your job posting. As a Javascript expert, I have good experience in this field. And I have added cookie in webpage. So I am sure I ensure in your project. Thanks again.

$20 USD in 1 day
(1 Review)

I'm Adil khan and I'm a full-stack java developer I have read all your requirements and this is an easy task for me I can do this very easily and I have also done this kind of project so it won't be headache for me. I More

$15 USD in 1 day
(0 Reviews)

Hi, i have read the job description and fully understand what you require the cookies to make u achieve. I am available to complete this task for you as soon as we discuss the extra details. Regards, Mark

$18 USD in 1 day
(0 Reviews)

Let’s start by looking at what exactly is a bid in Freelancer. The bid meaning in Freelancer is similar to responding to a job posting anywhere else. A potential employer publishes an ad when they want to hire a new More

$25 USD in 7 days
(0 Reviews)

Hello, I can confidently say that I can get this task done the way you specified it. I would appreciate if I get rewarded this task, thanks.

$15 USD in 1 day
(0 Reviews)