What is W3C?

Posted by admin at April 10, 2020

As steward of global Web standards, W3C’s mission is to safeguard the openness, accessibility, and freedom of the World Wide Web from a technical perspective. W3C’s primary activity is to develop protocols and guidelines that ensure long-term growth for the Web. This includes the development and maintenance of CSS. The widely adopted Web standards define […]

Continue

The W3C cheatsheet

Posted by admin at

The W3C cheatsheet provides quick access to useful information from a variety of specifications published by W3C. It aims at giving in a very compact and mobile-friendly format a compilation of useful knowledge extracted from W3C specifications, completed by summaries of guidelines developed at W3C, in particular Web accessibility guidelines, the Mobile Web Best Practices, and a number […]

Continue

W3C validators

Posted by admin at

For over 15 years, the W3C has been developing and hosting free and open source tools used every day by millions of Web developers and Web designers. All the tools listed below are Web-based, and are available as downloadable sources or as free services on the W3C Developers tools site. W3C Validator The W3C validator checks the markup validity of various Web document formats, such as HTML. […]

Continue

An abundance of Web editors

Posted by admin at

While any text editor, like NotePad or TextEdit, can be used to create Web pages, they don’t necessarily offer a lot of help towards that end. Other options offer more facilities for error checking, syntax coloring and saving some typing by filling things out for you. One caveat, you need to make sure that whatever […]

Continue

Return largest number in arrays

Posted by admin at

Problem Explanation You will get an array that contains sub arrays of numbers and you need to return an array with the largest number from each of the sub arrays. Hints Hint 1 You will get an array that contains sub arrays of numbers and you need to return an array with the largest number […]

Continue

Method on an Object

Posted by admin at April 2, 2020

Objects can have a special type of property, called a method. Methods are properties that are functions. This adds different behavior to an object. Here is the duck example with a method: The example adds the sayName method, which is a function that returns a sentence giving the name of the duck. Notice that the method accessed the name property in the return […]

Continue

Basic JavaScript Object

Posted by admin at

Think about things people see every day, like cars, shops, and birds. These are all objects: tangible things people can observe and interact with. What are some qualities of these objects? A car has wheels. Shops sell items. Birds have wings. These qualities, or properties, define what makes up an object. Note that similar objects share the […]

Continue

Find the Longest Word in a String: JavaScript

Posted by admin at

Problem Explanation You have to go through each word and figure out which one is the longest and return not the word, but how many characters it has. Hints Hint 1 You should split the string into an array of words. Hint 2 You will need to figure out a way to keep track globally […]

Continue

Factorialize a Number: JavaScript

Posted by admin at

You know your solution should return 1 when the number passed to the function is 0 or 1. Also, the final value returned will be the product of all the numbers between 1 and the number (inclusive). If you initialize the value for the product to 1, then think how you could start at the given number and continue decrementing this […]

Continue

Reverse a String: JavaScript

Posted by admin at

We need to take the string and reverse it, so if it originally reads ‘hello’, it will now read ‘olleh’. You can reverse the string by creating a new string (initializing it to a blank string “”) and then iterating the string starting from the last character through the first character and the concatenating each […]

Continue