Question: By using the java javascript for (What You See Is What You Get) WYSIWYG Editor. Create web page builder to help those who are not
By using the java javascript for (What You See Is What You Get) WYSIWYG Editor. Create web page builder to help those who are not fluent in web languages build a website.
Please build a basic version of this type of software by include the following:
1-the site should greet the user and allow them to start building.
2-The new page the user builds should allow for: Standard sections (header, nav, main, footer),Inserting basic content elements (headings, paragraphs, links)
and,Styling your elements as appropriate.
Please follow the instruction as i mentioned above and code should be error free, also do not use the code below :
The following java script function is used to create a table dynamically.
function table Create() { var body = document.getElementsByTagName('body')[0]; var tbl = document.createElement('table'); tbl.style.width = '100%'; tbl.setAttribute('border', '1'); var tbdy = document.createElement('tbody'); for (var i = 0; i < rows; i++) { var tr = document.createElement('tr'); for (var j = 0; j < cols; j++) { if (i == 2 && j == 1) { break } else { var td = document.createElement('td'); td.appendChild(document.createTextNode('\u0020')) i == 1 && j == 1 ? td.setAttribute('rowSpan', '2') : null; tr.appendChild(td) } } tbdy.appendChild(tr); } tbl.appendChild(tbdy); body.appendChild(tbl) } for 1st part: you can use the following code in javascript
function gp(var start, var diff, var noofTerms){
var arr= [];
for(i=start; i<=noofTerms;i+diff){
arr.push(i);
}
for(i=0; i<=arr.length;i++){
document.writeln(arr[i]);
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
