glebec / Javascript-Exercises-2

A few small websites for manipulating the DOM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Javascript Part 2 --> DOM Manipulation

Below you will find a list of exercises for the students to complete during Javascript Part 2. These exercises are focused on having the students create functions to manipulate the DOM and prepare for their final project.

Carousel -- (Advanced)

  1. A scrolling carousel (automatically cycle through images)

Changing Header -- (Intermediate)

  1. A changing text header (cycle through marketing-style slogans, e.g. "CoolService is loved by _______" (freelancers / go-getters / artists / bosses / athletes etc.)).

Tabbed Content -- (Intermediate)

  1. Tabbed content (click to change view)

Modal -- (Intermediate)

  1. Expanding content (click to open) Introduced a new way of using a function, with the keyword this

Form Input -- (Basic)

  1. Something with reading a form input and changing the page content accordingly

Change Background -- (Basic)

  1. Something with manipulating CSS styles, e.g. add a class .

Local Storage -- (Advanced)

  1. To follow up on dark theme idea, using localstorage would be an advanced use case to avoid losing state on refresh; probably that's too much for this group tho.(would be esp. cool with a transition prop). Oh! Dark theme? That works

Scrolling -- (Intermediate)

  1. Doing something on window resize, or scroll, not sure what

About

A few small websites for manipulating the DOM


Languages

Language:HTML 60.1%Language:CSS 34.4%Language:JavaScript 5.6%