1669102478
Do you want to get an edge in your SSC JE Preparation? Every day, the competition is tougher. The only thing that will help you win is a strategy and guidance.
Staff Selection Commission- Junior Engineer, also known as SSC-JE, is one of the most competitive exams for engineering graduates. It offers a large number of vacancies compared to any other competitive exam. The exam is open to all levels of engineering, including Civil, Mechanical, and Electric Engineering, as well as Quantity Surveying & Contracts. This exam is taken by thousands of people who want to work in the Government sector.
Zone Tech, India's Best Institute for Preparation of GATE and ESE and Other Competitive Exams, has decades of experience in this competitive exam domain. They understand the importance of proper guidance and preparation to win over the fierce competition. After carefully analyzing the exam's pattern and syllabus, we launched the SSC JE course for Civil, Mechanical and Electrical Engineering. This will help aspirants prepare for the exam and keep them on the right track.
Through pre-recorded lectures, students have the opportunity to learn from Zone Tech's renowned and highly experienced faculty. Lectures will be presented in a way that is understandable and helps aspirants to gain conceptual clarity. College students and working professionals will find the course extremely beneficial as they will be able to cover the syllabus in the stipulated time frame. They can also access lectures from anywhere at any time.
Students have two choices in this course: Technical or Non-Technical (RA+GS). The aspirants have the option to choose the course that suits their needs. The latest study materials will also be available to the aspirants to make sure they don't have any worries.
1662107520
Superdom
You have dom
. It has all the DOM virtually within it. Use that power:
// Fetch all the page links
let links = dom.a.href;
// Links open in a new tab
dom.a.target = '_blank';
Only for modern browsers
Simply use the CDN via unpkg.com:
<script src="https://unpkg.com/superdom@1"></script>
Or use npm or bower:
npm|bower install superdom --save
It always returns an array with the matched elements. Get all the elements that match the selector:
// Simple element selector into an array
let allLinks = dom.a;
// Loop straight on the selection
dom.a.forEach(link => { ... });
// Combined selector
let importantLinks = dom['a.important'];
There are also some predetermined elements, such as id
, class
and attr
:
// Select HTML Elements by id:
let main = dom.id.main;
// by class:
let buttons = dom.class.button;
// or by attribute:
let targeted = dom.attr.target;
let targeted = dom.attr['target="_blank"'];
Use it as a function or a tagged template literal to generate DOM fragments:
// Not a typo; tagged template literals
let link = dom`<a href="https://google.com/">Google</a>`;
// It is the same as
let link = dom('<a href="https://google.com/">Google</a>');
Delete a piece of the DOM
// Delete all of the elements with the class .google
delete dom.class.google; // Is this an ad-block rule?
You can easily manipulate attributes right from the dom
node. There are some aliases that share the syntax of the attributes such as html
and text
(aliases for innerHTML
and textContent
). There are others that travel through the dom such as parent
(alias for parentNode) and children
. Finally, class
behaves differently as explained below.
The fetching will always return an array with the element for each of the matched nodes (or undefined if not there):
// Retrieve all the urls from the page
let urls = dom.a.href; // #attr-list
// ['https://google.com', 'https://facebook.com/', ...]
// Get an array of the h2 contents (alias of innerHTML)
let h2s = dom.h2.html; // #attr-alias
// ['Level 2 header', 'Another level 2 header', ...]
// Get whether any of the attributes has the value "_blank"
let hasBlank = dom.class.cta.target._blank; // #attr-value
// true/false
You also use these:
innerHTML
): retrieve a list of the htmlstextContent
): retrieve a list of the htmlsparentNode
): travel up one level// Set target="_blank" to all links
dom.a.target = '_blank'; // #attr-set
dom.class.tableofcontents.html = `
<ul class="tableofcontents">
${dom.h2.map(h2 => `
<li>
<a href="#${h2.id}">
${h2.innerHTML}
</a>
</li>
`).join('')}
</ul>
`;
To delete an attribute use the delete
keyword:
// Remove all urls from the page
delete dom.a.href;
// Remove all ids
delete dom.a.id;
It provides an easy way to manipulate the classes.
To retrieve whether a particular class is present or not:
// Get an array with true/false for a single class
let isTest = dom.a.class.test; // #class-one
For a general method to retrieve all classes you can do:
// Get a list of the classes of each matched element
let arrays = dom.a.class; // #class-arrays
// [['important'], ['button', 'cta'], ...]
// If you want a plain list with all of the classes:
let flatten = dom.a.class._flat; // #class-flat
// ['important', 'button', 'cta', ...]
// And if you just want an string with space-separated classes:
let text = dom.a.class._text; // #class-text
// 'important button cta ...'
// Add the class 'test' (different ways)
dom.a.class.test = true; // #class-make-true
dom.a.class = 'test'; // #class-push
// Remove the class 'test'
dom.a.class.test = false; // #class-make-false
Did we say it returns a simple array?
dom.a.forEach(link => link.innerHTML = 'I am a link');
But what an interesting array it is; indeed we are also proxy'ing it so you can manipulate its sub-elements straight from the selector:
// Replace all of the link's html with 'I am a link'
dom.a.html = 'I am a link';
Of course we might want to manipulate them dynamically depending on the current value. Just pass it a function:
// Append ' ^_^' to all of the links in the page
dom.a.html = html => html + ' ^_^';
// Same as this:
dom.a.forEach(link => link.innerHTML = link.innerHTML + ' ^_^');
Note: this won't work
dom.a.html += ' ^_^';
for more than 1 match (for reasons)
Or get into genetics to manipulate the attributes:
dom.a.attr.target = '_blank';
// Only to external sites:
let isOwnPage = el => /^https?\:\/\/mypage\.com/.test(el.getAttribute('href'));
dom.a.attr.target = (prev, i, element) => isOwnPage(element) ? '' : '_blank';
You can also handle and trigger events:
// Handle click events for all <a>
dom.a.on.click = e => ...;
// Trigger click event for all <a>
dom.a.trigger.click;
We are using Jest as a Grunt task for testing. Install Jest and run in the terminal:
grunt watch
Author: franciscop
Source Code: https://github.com/franciscop/superdom
License: MIT license
1617449307
Chartered Accountancy course requires mental focus & discipline, coaching for CA Foundation, CA Inter and CA Finals are omnipresent, and some of the best faculty’s classes have moved online, in this blog, we are going to give the best way to find online videos lectures, various online websites provide the CA lectures, Smartnstudy one of the best site to CA preparation, here all faculty’s video lecture available.
check here : ca classes
#ca classes online #ca classes in delhi #ca classes app #ca pendrive classes #ca google drive classes #best ca classes online
1596018410
AWS Training and Certification causes you assemble and approve your cloud abilities so you can get increasingly out of the cloud.
Regardless of whether you are simply beginning, expanding on existing IT aptitudes, or honing your cloud information, AWS Certification online course can assist you with being progressively viable and accomplish more in the cloud.
With regards to sharpening your aptitudes and comprehension Microsoft Azure, the Microsoft Azure Certification course online is really justified, despite all the trouble. Undertakings over the globe are reclassifying the manner in which they work with versatile and secure cloud-empowered venture applications.The confirmation is intended for the Microsoft heap of items.
There is an expansive scope of points to browse in framework and engineer aptitudes. To turn into a MSCA, you need to pass two assessments and exhibit your abilities as a cloud overseer and your pathway to turning into a cloud planner.
Benefits of AWS are:
Easy way to enter in AWS community: The AWS is So famous as easy way to enter in AWS community. AWS community share an Amazon certifies logo and digital badge with the expertise.
Become God of Cloud: The AWS is So famous as become god of cloud. AWS is a secure Cloud Computing platform to individuals, companies and government.
Expanding professional network: The AWS is So famous as expanding professional networks. It helps for developing professional networks in the community.
Microsoft Azure is the cloud based platform that provides services in domains like networking, database and developer tools that help to scale the business. Azure is offers a wide range of functionalities as analytics, storage, mobile and web applications.
Benefits of Azure are:
Largest IaaS Cloud provider: Azure is the largest and secured IaaS cloud service provider with a vast Microsoft product. Azure is supports Linux based operating systems.
Simple and easy learning tool: Microsoft Azure learning is simple and easy learning tool. It is a simple and easy tool that creates and develop cloud based local applications easily.
Using of Virtual machines: Microsoft Azure helps to learn different types of virtual machines. These are used for management, configuration and monitoring.
#aws online course #aws online training #aws certification online #azure certification online #azure online training #azure online course
1669102478
Do you want to get an edge in your SSC JE Preparation? Every day, the competition is tougher. The only thing that will help you win is a strategy and guidance.
Staff Selection Commission- Junior Engineer, also known as SSC-JE, is one of the most competitive exams for engineering graduates. It offers a large number of vacancies compared to any other competitive exam. The exam is open to all levels of engineering, including Civil, Mechanical, and Electric Engineering, as well as Quantity Surveying & Contracts. This exam is taken by thousands of people who want to work in the Government sector.
Zone Tech, India's Best Institute for Preparation of GATE and ESE and Other Competitive Exams, has decades of experience in this competitive exam domain. They understand the importance of proper guidance and preparation to win over the fierce competition. After carefully analyzing the exam's pattern and syllabus, we launched the SSC JE course for Civil, Mechanical and Electrical Engineering. This will help aspirants prepare for the exam and keep them on the right track.
Through pre-recorded lectures, students have the opportunity to learn from Zone Tech's renowned and highly experienced faculty. Lectures will be presented in a way that is understandable and helps aspirants to gain conceptual clarity. College students and working professionals will find the course extremely beneficial as they will be able to cover the syllabus in the stipulated time frame. They can also access lectures from anywhere at any time.
Students have two choices in this course: Technical or Non-Technical (RA+GS). The aspirants have the option to choose the course that suits their needs. The latest study materials will also be available to the aspirants to make sure they don't have any worries.
1669102331