top of page

You know another tweak we could do just for fun these is we can do another div down here. ID equals results. And of course that off and this still we can just kind of put in some kind of text. So, for example, put it in a p because why not. And this can be I have changed some of our span ID equals total close that off words. Right off the bat let's see what that looks like it's going to be it's going to look a little weird at first but if we run some top digital marketing companies in chennai and  javascript logic on it here. So let's grab it. Our app here we're already doing some logic here and we can actually check how many words we have changed with our function here or a loop rather. And then we can do something like Konst do it up at the top as well. Konst total words changed equals document get element by id total then you know we probably don't need an ID here on results.

Now that I'm looking at it but in a way it's ok it's not going hurt anything to be there and we can say Toto where it's changed. Inner email equals Fast Show words Daut length because special words again it's kind of our array like an object we can call length on it. And let's see what shows up exchange three words one two three looks accurate to me. So you know this is probably familiar to you if you're used to getting search results. So it's also probably doing something similar to checking how many things have returned or how many have changed. If instead of my active we did document Well that's going to change the total amount of words about top digital agencies that have changed. Right so if I refreshed this seven words in this case why seven.

 

Well, it's because we're not being super selective in our spans. So if you look at our logic we're changing the content of this span and then we're resetting it to something else. So instead of a span if this were a p tag then our count would be accurate. So this is the problem you'll come across sometimes if you are just kind of grabbing all your top digital marketing companies in chennai with  tags at once. Let's say it's rarer to grab all your take elements at once to refresh this. Now it's a little bit more accurate. Of course, it created a new paragraph but the purpose of this was to show hey here's how you can kind of count up everything that you've changed. You can just call that length because it's just an array like object.     

 

You know another tweak we could do just for fun these are top digital marketing companies in chennai and  we can do another div down here.     ID equals results.     And of course that off and this still we can just kind of put in some kind of text.     So, for example, put it in a p because why not.     And this can be I have changed some of our span ID equals total close that off words.     Right off the bat let's see what that looks like it's going to be it's going to look a little weird at first but if we run some javascript logic on it here.     So let's grab it.    

 

Our app here we're already doing some logic here and we can actually check how many words we have changed with our function here or a loop rather. And then we can do something to find top digital marketing companies in chennai and like Konst do it up at the top as well. Konst total words changed equals document get element by id total then you know we probably don't need an ID here on results. Now that I'm looking at it but in a way it's ok it's not going hurt anything to be there and we can say Toto where it's changed.     Inner email equals     Fast Show words Daut length because special words again it's kind of our array like an object we can call length on it.    

 

 

And let's see what shows up exchange three words one two three looks accurate to me.     So you know this is probably familiar to you if you're used to getting search results.     So it's top digital marketing companies in chennai and also probably doing something similar to checking how many things have returned or how many have changed.     If instead of my active we did search top digital marketing companies in chennai and  document Well that's going to change the total amount of words that have changed.    

 

Right so if I refreshed this seven words in this case why seven. Well, it's because we're not being super selective in our spans. So if you look at our logic we're changing the content of this span and then we're resetting it to something else. So instead of a span if this were a p tag then our count would be accurate. So this is the problem you'll come across sometimes if you are just kind of grabbing all your 

bottom of page