Cov txheej txheem:

Koj tuaj yeem ua dab tsi nrog cov cuab yeej tsim tawm?
Koj tuaj yeem ua dab tsi nrog cov cuab yeej tsim tawm?

Video: Koj tuaj yeem ua dab tsi nrog cov cuab yeej tsim tawm?

Video: Koj tuaj yeem ua dab tsi nrog cov cuab yeej tsim tawm?
Video: Koj Hais Dab Tsi?/Suabci Kwm & Ab Meej Ham/Official MV 2023 2024, Kaum ib hlis
Anonim

Tej zaum koj yuav tsis paub tias koj tuaj yeem ua nrog Chrome's Developer Console

  1. Xaiv DOM Elements.
  2. Hloov koj tus browser rau hauv ib tus editor.
  3. Nrhiav Cov Txheej Txheem Koom Tes nrog Cov Ntsiab Lus hauv DOM.
  4. Saib xyuas cov xwm txheej.
  5. Nrhiav Lub Sijhawm Ua Haujlwm ntawm Code Block.
  6. Npaj cov nqi ntawm qhov sib txawv rau hauv ib lub rooj.
  7. Tshawb xyuas ib qho Element hauv DOM.

Tom qab ntawd, ib tug kuj yuav nug, dab tsi yog cov cuab yeej tsim tawm siv rau?

Web cov cuab yeej tsim kho tso cai tus tsim tawm los ua haujlwm nrog ntau lub vev xaib thev naus laus zis, suav nrog HTML, CSS, DOM, JavaScript, thiab lwm yam khoom siv los ntawm lub vev xaib browser. Vim qhov kev thov nce los ntawm lub vev xaib browser ua ntau dua, cov web browsers nrov tau suav nrog ntau yam tshwj xeeb npaj rau tus tsim tawm.

Koj tuaj yeem ua dab tsi nrog cov cuab yeej tsim tawm Chrome? Chrome DevTools yog ib txheej web cov cuab yeej tsim tawm ua ncaj qha rau hauv Google Chrome browser.

Pib

  1. Saib thiab Hloov DOM.
  2. Saib thiab hloov nplooj ntawv Styles (CSS)
  3. Debug JavaScript.
  4. Saib cov lus thiab khiav JavaScript hauv Console.
  5. Optimize Website Ceev.
  6. Tshawb xyuas Network Activity.

Kuj nug, dab tsi yog qhov browser tus tsim tawm cov cuab yeej pab tau rau?

Nws tso cai rau koj khiav kab ntawm JavaScript tawm tsam nplooj ntawv tam sim no thauj khoom hauv browser , thiab ceeb toom cov yuam kev ntsib raws li qhov browser sim ua kom tiav koj cov cai. Txhawm rau nkag mus rau lub console hauv ib qho twg browser : Yog tias cov cuab yeej tsim tawm twb qhib lawm, nyem los yog nias lub Console tab.

Kuv yuav siv cov cuab yeej tsim tawm f12 li cas?

Nkag mus rau IE Cov cuab yeej tsim tawm , koj tso Internet Explorer thiab nias F12 ntawm koj cov keyboard lossis xaiv " F12 Cov cuab yeej tsim tawm "peb" Cov cuab yeej ”menu. Qhov no opens lub cov cuab yeej tsim tawm hauv qhov browser tab.

Pom zoo: