Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Suggestions for Week 8 - JS in the Browser #280

@NateWr

Description

@NateWr

Hi @zero-point, @djgrant, @rarmatei,

I was looking over module 2 to begin building group projects for that module. I had a couple of quick ideas for connecting parts of the material to lessons learned in the HTML/CSS module.

  1. In The Dom section, you show how HTML is converted into a JS object representation. In the HTML/CSS module we spend a lot of time trying to reinforce the distinction between the "tag" (h1, p, etc) and the "element" (<h1 class="...">). Maybe it would be good to reinforce that terminology here, showing how the "tag" becomes an object property?

  2. Now that we spend a lot of time on forms in the HTML/CSS module, it might be worth looking again at the introduction to the Ajax section. Students should be familiar with GET and POST, and you can use their past experience of form submission (which involved a full page load) to highlight the differences with using ajax.

  3. When reading over the example for updating a title (at the end of The Dom section), I thought it might help to show the HTML code for the example too. This might help them relate what querySelector is doing to HTML that they're already familiar with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions