A simple 1-page webpage in nodejs/express
- or -
Post a project like this1360
$50
- Posted:
- Proposals: 2
- Remote
- #2929383
- PRE-FUNDED
- Completed
Description
Experience Level: Entry
Estimated project duration: 1 day or less
I would like to implement a simple webpage using nodejs.
The page will be consist of just 1 form. The form is generated based on the contents of a a local YAML file.
The YAML file looks something like this:
group: group1
name: blah1
enabled: no
location: my location
number: 123456
name: blah2
enabled: yes
location: my other location
number: 125324
group: group2
name: blah2
enabled: yes
location: somethingsomething
name: blah3
enabled: yes
location: something else
number: 2882923
I would like the form to represent the information from the YAML file. It should have the default values populated from the values in the YAML file. The 'name' field should not be editable, but everything else should be editable. 'enabled' is a boolean. If it is true, that whole
subsection of the form should be editable. If 'enabled' is false, then only that part of the form should be greyed out (so in the above example, only group1/blah1 would be greyed out by default. If the user selects the checkmark to enable group1/blah1, it should become
active and editable).
There could be up to N groups in the YAML file, and each group could have up to M names inside it.
At the end of the page, there should be a 'submit' button that sends the form and then shows some simple text (I don't really care what the text says).
I would then like to generate something like the following from the form that was submitted:
group1/blah2 --location "my other location" --number 125324
group2/blah2 --location "somethingsomething"
group2/blah3 --location "something else" --number 2882923
(no line was generated for group1/blah1 because it was disabled)
That's it basically.
Thanks
Projects Completed
2
Freelancers worked with
2
Projects awarded
13%
Last project
10 Oct 2023
Canada
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies