- Expanding and hiding information.
- Applying slideshows and carousels, or other easily scannable data.
- The sound and vision associated with audio and video files.
- Animated GIFs.
- Dynamic text changes and effects.
- Drop-down lists when completing forms.
- Pop-up messages and warnings.
- It is powered by a web browser, rather than a server, and is thus less likely to experience slowdown issues.
- Named Functions, which are defined early in the coding then re-used throughout.
- Anonymous Functions, which must be tied to a particular demand to work.
- Immediately Invoked Function Expressions, which, as the name suggests, spark into life and begin running from the moment they’re defined.
- Internet Explorer – Find the Security tab in your Internet Options. Click on Custom Level, and track down Security Settings – Internet Zone. You’ll see an option for Scripting. This will currently say Disabled. Change this to Enabled.
- Internet Explorer – Find the Security tab in your Internet Options. Click on Custom Level, and track down Security Settings – Internet Zone. You’ll see an option for Scripting. This will currently say Enabled. Change this to Disabled.
- Use the NoScript icon, which is located next to the address search bar. This looks like the letter S.
Pagination is the process of dividing a website into multiple, smaller pages. The idea of the process is to stop a visitor to a website from growing overwhelmed by excessive data in one location. An example pagination is the front page of a Google search. Google provide multiple clickable headings at the bottom of a page.
The ParseInt command converts a string (counting up objects) into a integer (which checks if a number is true, and thus safe to use in the code). This is a static value, whereas the alternative IntMethod is, as the name suggests, an instance method.
ES6 is the shorthand term for ECMAscript. The sixth, and present at the time of writing, update to ECMAscript was released in 2015. See our entry on ECMAscript for more information.
API stands for Application Programming Interface. API’s help you build applications into software. In the case of the Google Map JS API, you can build a map into your website. This very helpful if you are providing directions to a business premises.
- HTML is the foundation of any website. It provides the structure, which can then be built upon.
- CSS, or Cascading Style Sheets, provide the design and aesthetic appeal of a website.
- Ensure you are compliant with all standards laid out by the iOS App Store.
- Choose an appropriate Framework and User Interface. Ionic is an example of this.
- Code your app, and test that it works.
- Package and register your app.
- Distribute your app, and enjoy your profits!
If you want run to a Loop at least once, run a Do/While Loop This is a great way to test your code, and ensure that it’s fulfilling its requirements.
Multiple tabs can make negotiating a website much easier, and more aesthetically pleasing. These are created by writing =tab inside div class brackets, and entering the content for each individual tab. You can then tailor the appearance of each tab using CSS.
An alert box is a popup that warns visitors to your website of something that requires their attention. To build these helpful alerts, use the Function Warn(), and add your appropriate copy. You can also add a further step to an alert, whereby a user must give their consent to continue by actively clicking. Use the confirm() window for this.
Creating two Strings, using different Commands, does this. If you have a String that says, “Good” and a second one that says, “Morning”, you may wish to combine them to simply read, “Good Morning.” The first String will read var str = “Good” and the second will repeat the var and equals sign, then add, str.concat(“Morning”)