subject

IN JAVASCRIPT WITHOUT USING CSS (ONLY HTML AND JS) Project Task: You will be building a full todo list in the browser. It should be able to add todos, check todos off as complete, and delete todos. Display a form to the user to add todos. When a user types a todo into the form and hits submit, the following should happen: A new todo should be displayed below any previous todos Every todo in the list should have a check button next to it to check off the todo and mark it complete Clicking the check should change the todo in someway, either marking it green or perhaps crossing it out. Check out this link here (Links to an external site.) for some inspiration. Every todo should have an x to the right that will delete the todo. Clicking the x should remove the todo from the page. You'll need to attach a submit event listener to todo form and click event listeners to the check and x for each todo. Your JavaScript code will form the conditional logic to determine whether a todo should be displayed as complete or incomplete. Recommended Implementation: Individual todos should be represented in an object with a text key and a complete key (the complete key should be a boolean true or false). Individual todo objects should be stored inside an array, making an array of objects. Representing the above in your JavaScript makes the project much easier rather than stressing about the HTML and the click events.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:50
Click on this link toopens a new window. bring up a flowchart in a new browser window. based on this flowchart, would a d-link 3347 gateway with an xbox 360 multiplayer problem be in scope or out of scope
Answers: 2
question
Computers and Technology, 23.06.2019 02:50
Define a class named movie. include private fields for the title,year, and name of the director. include three public functions withprototypes void movie: : settitle(cstring); , voidmovie: : setyear(int); , void movie: : setdirector(string); . includeanother function that displays all the information about a movie.write a main() function that declares a movie object namedmyfavoritemovie. set and display the object's fields.this is what i have but know its wrong since it will notcompile: #include#includeusing namespace std; //class declarationclass movie{private: string movietitle ; string movieyear; string directorname; public: void settitle(string title); void setyear(string year); void setdirector(string director); void displayinfo(); }; //class implementationvoid movie: : settitle(string title){ movietitle = title; cout< < "what is the title of themovie? "< > temp; myfavoritemovie.settitle(temp); cout< < "enter movie year"< > temp; myfavoritemovie.setyear(temp); cout< < "enter director'sname"< > temp; myfavoritemovie.setdirector(temp); //display all the data myfavoritemovie.displayinfo(); system("pause"); return 0; this code is not entirely mine someone on cramster edited my firstcode but then i try manipulating the new code and i still get acompile error message : \documents\visual studio 2008\projects\movie\movie\movie.cpp(46) : error c2679: binary '< < ' : no operator found which takes aright-hand operand of type 'std: : string' (or there is no acceptableconversion)c: \program files (x86)\microsoft visual studio9.0\vc\include\ostream(653): could be'std: : basic_ostream< _elem,_traits> & std: : operator< < > (std: : basic_ostream< _elem,_traits> & ,const char *)w
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
You know the right answer?
IN JAVASCRIPT WITHOUT USING CSS (ONLY HTML AND JS) Project Task: You will be building a full todo...
Questions
question
Geography, 05.05.2020 03:39
Questions on the website: 13722363