Ask questions which are clear, concise and easy to understand.
Ask QuestionPosted by Sunil Roat 4 years, 1 month ago
- 1 answers
Posted by Ya Man 4 years, 1 month ago
- 0 answers
Posted by Abhinav Kumar Bharti 4 years, 1 month ago
- 2 answers
Abhinav Kumar Bharti 4 years, 1 month ago
Posted by Shivani Das 4 years, 1 month ago
- 1 answers
Posted by Tanisha Negi 4 years, 1 month ago
- 0 answers
Posted by Mishika Gupta 4 years, 1 month ago
- 0 answers
Posted by Amit Adiwasi 4 years, 1 month ago
- 0 answers
Posted by Aahish Kumar 4 years, 2 months ago
- 0 answers
Posted by Chhaya Verma 4 years, 2 months ago
- 0 answers
Posted by Nikita . 4 years, 2 months ago
- 2 answers
Aseem Mahajan 4 years, 2 months ago
Posted by Hardip Gohil 4 years, 2 months ago
- 0 answers
Posted by Priya Dayma 4 years, 2 months ago
- 0 answers
Posted by Sneha Yadav 4 years, 2 months ago
- 0 answers
Posted by Atul Mor 4 years, 2 months ago
- 0 answers
Posted by Pushpraj.Garg Student 4 years, 2 months ago
- 0 answers
Posted by Deepti Duggal 4 years, 2 months ago
- 1 answers
Posted by Ashu 10 4 years, 2 months ago
- 1 answers
Posted by Sumit Chaudhary 4 years, 2 months ago
- 0 answers
Posted by Ashu 10 4 years, 2 months ago
- 2 answers
Keshav Jha 4 years, 2 months ago
Posted by Nishant Bhai Patel 4 years, 2 months ago
- 3 answers
Posted by Swati Kumari 4 years, 2 months ago
- 1 answers
Ved Prakash 4 years, 2 months ago
Posted by Abhinav Kumar Bharti 4 years, 2 months ago
- 2 answers
Tanush Gupta 4 years, 2 months ago
Posted by Ravi Raj 4 years, 2 months ago
- 0 answers
Posted by Mohit Ray 4 years, 2 months ago
- 1 answers
Posted by Ankit Kumar 4 years, 2 months ago
- 5 answers
? ? 4 years, 2 months ago
-
{"label":"PLANE", "value":1, "question":"In an HTML document, which tag indicates the most important heading of your document?"}, //
{"label":"HOME", "value":1, "question":"What CSS property is used for specifying the area outside a box?"}, //margin {"label":"MAC BOOK", "value":1, "question":"What type of bracket is used for HTML tags?"}, //< > {"label":"SAMSUNG GALAXY 7", "value":1, "question":"What type of bracket is used for CSS rules?"}, // { } {"label":"NOTE BOOK", "value":1, "question":"Which HTML tag is used for specifying a paragraph?"}, //
{"label":"20,0000,0000$", "value":1, "question":"What should always be the very first line of code in your HTML?"}, // {"label":"HOTEL TICKET", "value":1, "question":"What HTML tag holds all of the metadata tags for your page?"}, //<head> {"label":"SAMSUNG TV", "value":1, "question":"In CSS, what character separates a property from a value?"}, // colon {"label":"LG HD TV", "value":1, "question":"What HTML tag holds all of your CSS code?"}, // <style> {"label":"FREE FURNITURE", "value":1, "question":"What file extension should you use for your web pages?"}, // .html {"label":"FREE ADMISSION MIT", "value":1, "question":"Which coding language is used for marking up content and structure on a web page?"}, // HTML {"label":"OPPO CAMERA PHONE", "value":1, "question":"Which coding language is used for specifying the design of a web page?"}, // CSS {"label":"SAMSUNG NOTE5", "value":1, "question":"Which coding language is used for adding functionality to a web page?"}, // JavaScript {"label":"HP DESKTOP", "value":1, "question":"What CSS property is used for making the edges of a box visible?"}, // border {"label":"15,000,000$", "value":1, "question":"What character symbol is used at the end of each CSS statement?"},//semi-colon {"label":"BUGGATI", "value":1, "question":"By default, how wide is a <div> box?"}, //100% {"label":" GOOGLE JOB", "value":1, "question":"What character symbol do I use to specify multiple CSS selectors in one code block?"} //comma ]; var svg = d3.select('#chart') .append("svg") .data([data]) .attr("width", w + padding.left + padding.right) .attr("height", h + padding.top + padding.bottom); var container = svg.append("g") .attr("class", "chartholder") .attr("transform", "translate(" + (w/2 + padding.left) + "," + (h/2 + padding.top) + ")"); var vis = container .append("g"); var pie = d3.layout.pie().sort(null).value(function(d){return 1;}); // declare an arc generator function var arc = d3.svg.arc().outerRadius(r); // select paths, use arc generator to draw var arcs = vis.selectAll("g.slice") .data(pie) .enter() .append("g") .attr("class", "slice"); arcs.append("path") .attr("fill", function(d, i){ return color(i); }) .attr("d", function (d) { return arc(d); }); // add the text arcs.append("text").attr("transform", function(d){ d.innerRadius = 0; d.outerRadius = r; d.angle = (d.startAngle + d.endAngle)/2; return "rotate(" + (d.angle * 180 / Math.PI - 90) + ")translate(" + (d.outerRadius -10) +")"; }) .attr("text-anchor", "end") .text( function(d, i) { return data[i].label; }); container.on("click", spin); function spin(d){ container.on("click", null); //all slices have been seen, all done console.log("OldPick: " + oldpick.length, "Data length: " + data.length); if(oldpick.length == data.length){ console.log("done"); container.on("click", null); return; } var ps = 360/data.length, pieslice = Math.round(1440/data.length), rng = Math.floor((Math.random() * 1440) + 360); rotation = (Math.round(rng / ps) * ps); picked = Math.round(data.length - (rotation % 360)/ps); picked = picked >= data.length ? (picked % data.length) : picked; if(oldpick.indexOf(picked) !== -1){ d3.select(this).call(spin); return; } else { oldpick.push(picked); } rotation += 90 - Math.round(ps/2); vis.transition() .duration(3000) .attrTween("transform", rotTween) .each("end", function(){ //mark question as seen d3.select(".slice:nth-child(" + (picked + 1) + ") path") .attr("fill", "#111"); //populate question d3.select("#question h1") .text(data[picked].question); oldrotation = rotation; container.on("click", spin); }); } //make arrow svg.append("g") .attr("transform", "translate(" + (w + padding.left + padding.right) + "," + ((h/2)+padding.top) + ")") .append("path") .attr("d", "M-" + (r*.15) + ",0L0," + (r*.05) + "L0,-" + (r*.05) + "Z") .style({"fill":"black"}); //draw spin circle container.append("circle") .attr("cx", 0) .attr("cy", 0) .attr("r", 60) .style({"fill":"white","cursor":"pointer"}); //spin text container.append("text") .attr("x", 0) .attr("y", 15) .attr("text-anchor", "middle") .text("SPIN") .style({"font-weight":"bold", "font-size":"30px"}); function rotTween(to) { var i = d3.interpolate(oldrotation % 360, rotation); return function(t) { return "rotate(" + i(t) + ")"; }; } function getRandomNumbers(){ var array = new Uint16Array(1000); var scale = d3.scale.linear().range([360, 1440]).domain([0, 100000]); if(window.hasOwnProperty("crypto") && typeof window.crypto.getRandomValues === "function"){ window.crypto.getRandomValues(array); console.log("works"); } else { //no support for crypto, get crappy random numbers for(var i=0; i < 1000; i++){ array[i] = Math.floor(Math.random() * 100000) + 1; } } return array; } </script> </body> </html>
? ? 4 years, 2 months ago
? ? 4 years, 2 months ago
Posted by Pawan Yadav 4 years, 2 months ago
- 1 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Yogita Ingle 4 years, 1 month ago
बेबीलोनिया को दक्षिणी कछार के एक शूरवीर नैबोपोलास्सर ने 625 ई.पू. में मुक्त कराया
0Thank You