Hi, I am trying to push my JS knowledge, hence I am trying to convert JQuery code to Javascript. Here is my code:My link. In this I am not getting where to call x function(){which is in comment}. Instead of using Jquery code I want to convert that code to javascript. I try my level best but did some mistakes. Can you please tell me where I went wrong??
converting Jquery code to JavaScript
Page 1 of 13 Replies - 235 Views - Last Post: 09 November 2017 - 04:15 AM
Replies To: converting Jquery code to JavaScript
#2
Re: converting Jquery code to JavaScript
Posted 08 November 2017 - 08:02 AM
Post the relevant code directly here in the forum, between code tags, not just through an external site.
I don't like your variable names: input, ul, varInnerHtmlText, innerHTML1. Use descriptive names and ones that don't conflict or confuse with existing HTML elements or properties.
I don't like your variable names: input, ul, varInnerHtmlText, innerHTML1. Use descriptive names and ones that don't conflict or confuse with existing HTML elements or properties.
#3
Re: converting Jquery code to JavaScript
Posted 09 November 2017 - 03:27 AM
I thought adding HTML, CSS and JS file will make question soo lengthy, so gave external link
#4
Re: converting Jquery code to JavaScript
Posted 09 November 2017 - 04:15 AM
It all probably amounts to no more than 2/300 lines. That's not too lengthy.
Page 1 of 1