Setting Up

Dive into this comprehensive JavaScript & jQuery tutorial that guides you through setting up your class files, creat

Gain practical skills in JavaScript and jQuery with the assurance of personalized class files to work with. This tutorial guides you through setting up and customizing class files, essential for anyone keen on a career in front end development.

Key Insights

  • The tutorial covers the process of setting up class files for JavaScript & jQuery exercises.
  • Trainees will be editing copies of the original class files, not the originals themselves.
  • The tutorial provides specific instructions for both Mac and Windows users.
  • Mac users can duplicate the class folder by pressing Cmd-D and then rename it.
  • Windows users can copy the class folder by pressing Ctrl-C, paste it using Ctrl-V, and then rename the new copy.
  • At the end of the setup, trainees will have their own set of class files for use throughout the course.

This exercise is excerpted from Noble Desktop’s past JavaScript training materials. Noble Desktop now teaches JavaScript and the MERN Stack in our Full Stack Development Certificate. To learn current skills in web development, check out our coding bootcamps in NYC and live online.

Add Interactivity to a Page

  1. Select Elements

    document.querySelector('.button') — modern alternative to $().

  2. Listen for Events

    el.addEventListener('click', handler).

  3. Update the DOM

    el.textContent, el.classList.add — direct manipulation.

  4. Avoid Reflow Thrashing

    Batch DOM reads then writes — performance matters.

Complete the following setup prior to beginning any exercises.

Topics Covered in This JavaScript & JQuery Tutorial:

Setting up Your Class Files

Creating Your Own Copy of Class Files

Throughout this workbook you will be editing class files that we have prepared for you. Instead of editing the originals, we’ll have you make a copy just for yourself to edit.

Full-Stack Web Development Certificate: Live & Hands-on, In NYC or Online, 0% Financing, 1-on-1 Mentoring, Free Retake, Job Prep. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.
  1. If you have any windows open, minimize or hide them so you can see the Desktop.
  2. Open the Class Files folder.
  3. Follow the appropriate Mac or Windows instructions below:

    Mac:

    • Click once on the JavaScript jQuery Class folder to select it.
    • Press Cmd–D to duplicate it.
    • Rename the duplicate folder yourname-JavaScript jQuery Class.

    Windows:

    • Click once on the JavaScript jQuery Class folder to select it.
    • Press CTRL–C to copy it.
    • Press CTRL–V to paste it.
    • The new copy may be at the bottom of the list of folders. Rename it yourname-JavaScript jQuery Class.
  4. You now have your own set of class files to use throughout the class. Have fun!

Learn more in these courses

How to Learn Coding

Master Coding with Hands-on Training. Learning How to Code in JavaScript, Python, and Other Popular Languages Can Pave the Way to a Job in Tech Such As Web Development, Data Science & Analytics, or Software Engineering.

Yelp Facebook LinkedIn YouTube Twitter Instagram