Here is a way to get the “huge string” from your document.
var hugeString = document.body.textContent;
Now its your turn to create divs which has odd and even characters.
More Related Contents:
- JS hide function error
- Get the longest text in HTML document using Jquery or javascript
- Pure JavaScript toggle for select / deselect all checkboxes [duplicate]
- fixing slider on my website [closed]
- Changing nav-bar color after scrolling?
- Hide scrollbar while still being able to scroll with mouse/keyboard [duplicate]
- How can I remove the “No file chosen” tooltip from a file input in Chrome?
- width/height after transform
- Save a pre element as PDF with CSS
- Creating a select box with a search option
- jQuery Validation using the class instead of the name value
- Center flex item in container, when surrounded by other flex items
- Change the style of :before and :after pseudo-elements? [duplicate]
- How to resize Twitter Bootstrap modal dynamically based on the content
- collapse and expand tabs jquery / simple accordion
- Remove scrollbar but not scrolling functionality [duplicate]
- Print repeating Page headers in Chrome [closed]
- Retain scrollbar position even after reloading using javascript
- Gaussian Blur onHover Using jQuery
- Pausing CSS animation with javascript and also jumping to a specific place in the animation
- fade effect using javascript no jquery?
- Placeholder for contenteditable div
- How do I make a div full screen?
- How to keep elements non-refreshed
- How do you swap DIVs on mouseover (jQuery)?
- Center an Image vertically and horizontally using CSS
- Change background on button click, using CSS only? [duplicate]
- Jquery/Javascript Opacity animation with scroll
- Can I save input from form to .txt in HTML, using JAVASCRIPT/jQuery, and then use it?
- Difference between jQuery’s .hide() and setting CSS to display: none