Commit f301cb7
File tree
- 01-js
- 01-getting-started
- 01-intro
- 02-alternatives
- 03-pre-coding
- 04-editor
- 05-devtools
- 02-first-steps
- 01-hello-world
- 01-hello-alert
- solution
- 02-hello-alert-ext
- 03-async-defer-first
- 04-async-defer-inline-first
- 02-structure
- 03-variables
- 01-hello-variables
- 04-variable-names
- 01-declare-variables
- 05-strict-mode
- 06-types-intro
- 07-properties-and-methods
- 08-operators
- 01-increment-order
- 02-assignment-result
- 09-comparison
- 10-bitwise-operators
- 01-bitwise-operator-value
- 02-check-integer
- 03-bitwise-symmetry
- 04-bit-rounding
- 11-uibasic
- 01-simple-page
- 12-ifelse
- 01-if-zero-string
- 02-check-standardifelse_task2
- 02-check-standard
- ifelse_task2
- 03-sign
- if_sign
- 04-check-login
- 05-rewrite-if-question
- 06-rewrite-if-else-question
- 13-logical-ops
- 01-alert-null-2-undefined
- 02-alert-or
- 03-alert-1-null-2
- 04-alert-and
- 05-check-if-in-range
- 06-check-if-out-range
- 07-if-question
- 14-types-conversion
- 01-primitive-conversions-questions
- 15-while-for
- 01-loop-last-value
- 02-which-value-while
- 03-which-value-for
- 04-for-even
- 05-replace-for-while
- 06-repeat-until-correct
- 16-break-continue
- 01-list-primes
- 17-switch
- 01-rewrite-switch-if-else
- 02-rewrite-if-switch
- 18-function-basics
- 01-if-else-required
- 02-rewrite-function-question-or
- 03-min
- 04-pow
- 19-recursion
- 01-sum-to
- 02-factorial
- 03-fibonacci-numbers
- 20-function-declaration-expression
- 21-named-function-expression
- 01-nfe-check
- 22-javascript-specials
- 03-writing-js
- 01-debugging-chrome
- 02-coding-style
- 01-style-errors
- 03-write-unmain-code
- 04-testingpow-full
- pow-full
- 04-testing
- 01-pow-nan-spec
- 02-pow-test-0
- 03-pow-test-wrong
- beforeafter
- pow-1
- pow-2
- pow-3
- pow-4
- pow-min
- pow-nan-assert
- pow-nan
- 04-data-structures
- 01-string
- 01-ucfirst
- 02-check-spam
- 03-truncate
- 02-number
- 01-sum-interface
- 02-why-rounded-down
- 03-sum-prices
- 04-endless-loop-error
- 05-get-decimal
- 06-formula-binet
- 07-random-0-max
- 08-random-min-max
- 09-random-int-min-max
- 03-object
- 01-hello-object
- 04-object-for-in
- 01-is-empty
- 02-sum-salaries
- 03-max-salary
- 04-multiply-numeric
- 05-object-reference
- 06-array
- 01-get-last-in-array
- 02-add-item-to-array
- 03-create-array
- 04-random-from-array
- 05-calculator-for-input
- 06-item-value
- 07-array-find
- 08-filter-range
- 09-eratosthenes-sieve
- 10-maximal-subarray
- 07-array-methods
- 01-add-class
- 02-camelcase
- 03-remove-class
- 04-filter-in-place
- 05-sort-back
- 06-copy-sort-array
- 07-shuffle-array
- 08-sort-objects
- 09-output-single-linked-list
- 10-filter-anagrams
- 11-array-unique
- 08-array-iteration
- 01-rewrite-for-map
- 02-partial-sums-array
- 09-arguments-pseudoarray
- 01-check-arguments-undefined
- 02-sum-arguments
- 10-datetime
- 01-new-date
- 02-get-week-day
- 03-weekday
- 04-get-date-ago
- 05-last-day-of-month
- 06-get-seconds-today
- 07-get-seconds-to-tomorrow
- 08-format-date-ddmmyy
- 09-format-date-relative
- 11-typeof-duck-typing
- 01-format-date-polymorphic
- 05-functions-closures
- 01-global-object
- 01-window-and-variable
- 02-window-and-variable-2
- 03-window-and-variable-3
- 04-function-and-variable
- 02-closures
- 01-say-phrase-first
- 02-which-value-is-modified
- 03-var-window
- 04-call-inplace
- 05-access-outer-variable
- 06-counter-window-variable
- 03-scope-new-function
- 04-closures-module
- highlight-conflict
- highlight-module
- 05-closures-usage
- 01-closure-sum
- 02-stringbuffer
- 03-stringbuffer-with-clear
- 04-sort-by-field
- 05-filter-through-function
- 06-make-army
- 06-memory-management
- 07-with
- 01-with-function
- 02-with-variables
- 06-objects-more
- 01-object-methods
- 01-call-array-this
- 02-check-syntax
- 03-why-this
- 04-object-property-this
- 05-return-this
- 06-return-object-this
- 07-calculator
- 08-chain-calls
- 02-constructor-new
- 01-two-functions-one-object
- 02-calculator-constructor
- 03-accumulator
- 04-calculator-extendable
- 03-static-properties-and-methods
- 01-objects-counter
- 04-call-apply
- 01-rewrite-sum-arguments
- 02-apply-function-skip-first-argument
- 05-bind
- 01-cross-browser-bind
- 02-write-to-object-after-bind
- 03-second-bind
- 04-function-property-after-bind
- 05-question-use-bind
- 06-ask-currying
- 06-decorators
- 01-logging-decorator
- 02-logging-decorator-arguments
- 03-caching-decorator
- 07-js-misc
- 01-object-conversion
- 01-array-equals-string
- 02-tostring-valueof
- 03-compare-empty-arrays
- 04-object-types-conversion-questions
- 05-sum-many-brackets
- 02-class-property
- 03-json
- 01-serialize-object
- 02-serialize-object-circular
- 04-setTimeout-setInterval
- 01-output-numbers-100ms
- 02-output-numbers-100ms-settimeout
- 03-highlight-tactics
- 04-settimeout-result
- 05-setinterval-result
- 06-who-runs-faster
- 07-delay
- 08-debounce
- 09-throttle
- setInterval-anim
- 05-eval
- 01-eval-calculator
- 06-exception
- 01-finally-ili-prosto-kod
- 02-eval-calculator-errors
- 08-oop
- 01-about-oop
- 02-internal-external-interface
- 01-add-method-property-coffeemachine
- 03-getters-setters
- 01-object-with-getters-setters
- 02-getter-power
- 03-add-public-coffeemachine
- 04-setter-onready
- 05-coffeemachine-add-isrunning
- 04-descriptors-getters-setters
- 01-replace-property-getter
- 05-functional-inheritance
- 01-coffeemachine-fix-run
- solution
- task
- 02-coffeemachine-disable-stop
- solution
- 03-inherit-fridge
- 04-add-methods-fridge
- 05-override-disable
- 09-prototypes
- 01-prototype
- 01-property-after-delete
- 02-proto-and-this
- 03-search-algorithm
- 02-new-prototype
- 01-prototype-after-new
- 02-default-arguments
- 03-compare-calls
- 03-native-prototypes
- 01-defer-to-prototype
- 02-defer-to-prototype-extended
- 04-classes
- 01-rewrite-by-class
- 02-hamsters-with-proto
- 05-class-inheritance
- 01-inheritance-error-assign
- 02-inheritance-error-constructor
- 03-clock-class
- solution
- task
- 04-clock-class-extended
- solution
- task
- 06-constructor
- 01-new-object-same-constructor
- 02-constructor-inherited
- 07-instanceof
- 01-strange-instanceof
- 02-instanceof-result
- 08-class-extend
- 09-why-prototypes-better
- 02-ui
- 01-document
- 01-browser-environment
- 02-dom-nodes
- 01-body-from-head
- 03-dom-console
- 04-traversing-dom
- 01-dom-children
- solution
- 02-has-childnodes
- 05-traversing-tables
- 01-select-diagonal-cells
- solution
- table-diag
- task
- 06-basic-dom-node-properties
- 01-console-firstchild-innerhtml
- 02-lastchild-nodetype-inline
- 03-find-next-element
- task
- 04-tag-in-comment
- 07-attributes-and-custom-properties
- 01-get-user-attribute
- solution
- 08-searching-elements-dom
- 01-find-elements
- 02-tree
- solution
- tree
- task
- 03-set-class-links
- solution
- markLinks
- 09-searching-elements-internals
- 01-collection-length-after-remove
- 02-compare-elements-count
- 03-benchmark-search-dom
- solution
- task
- 04-get-second-li
- 10-compare-document-position
- 11-modifying-document
- 01-createtextnode-vs-innerhtml
- 02-remove-elements
- 03-insert-after
- 04-remove-children
- 05-why-aaa
- 06-create-list
- solution
- createList
- 07-create-object-tree
- solution
- build-tree-dom
- build-tree
- task
- 08-calendar-table
- solution
- calendar_rus
- calendar_src
- 09-clock-setinterval
- solution
- clock-interval
- task
- 10-clock-settimeout
- solution
- clock-timeout
- task
- 12-multi-insert
- 01-append-to-list
- 02-insertadjacenthtml-documentfragment
- 03-sort-table-performance
- solution
- 13-document-write
- 14-styles-and-classes
- 01-round-button-javascript
- solution
- task
- 02-create-notification
- solution
- notification-style
- task
- 15-metrics
- 01-get-scroll-height-bottom
- 02-scrollbar-width
- 03-div-placeholder
- solution
- div-placeholder
- task
- div-placeholder-src
- 04-put-ball-in-center
- ball-half
- solution
- ball
- task
- ball-src
- 05-expand-element
- solution
- task
- bodywidth-src
- 06-width-vs-clientwidth
- cssWidthScroll
- metric
- 16-metrics-window
- 01-get-document-scrolls
- 17-coordinates
- 01-find-point-coordinates
- solution
- task
- field-coords-src
- 02-position-at
- solution
- position-at
- task
- 18-coordinates-document
- 01-position-at-absolute
- solution
- 02-position-at-2
- solution
- position-at-2
- 19-support-polyfill
- 01-polyfill-textcontent-ie8
- 20-dom-cheatsheet
- 02-events-and-interfaces
- 01-introduction-browser-events
- 01-hide-other
- solution
- hideOtherSource
- hideOther
- 02-hide-self-onclick
- 03-which-handlers-run
- 05-hide-message
- solution
- messages
- task
- 06-carousel
- solution
- carousel
- task
- 02-events-and-timing-depth
- 03-obtaining-event-object
- 01-move-ball-field
- solution
- ball-move-1
- ball-move
- task
- 04-event-bubbling
- both
- bubble-target
- capture
- 05-event-delegation
- 01-hide-message-delegate
- solution
- messages-delegate
- task
- 02-sliding-tree
- solution
- tree
- task
- 03-sort-table
- solution
- grid-sort
- task
- bagua
- 06-behavior
- 07-default-browser-action
- 01-why-return-false-fails
- 03-image-gallery
- solution
- gallery
- task
- 08-dispatch-events
- 03-event-details
- 01-mouse-clicks
- 01-selectable-list
- solution
- selectable-list-1
- selectable-list-2
- selectable-list-3
- task
- 02-tree-coords
- solution
- task
- tree-coords-src
- 02-unselectable
- 03-mousemove-mouseover-mouseout-mouseenter-mouseleave
- 01-track-cursor-movements
- 02-rollover
- solution
- rollover-css
- rollover
- task
- 03-behavior-tooltip
- solution
- behavior-tooltip
- task
- 04-behavior-nested-tooltip
- solution
- behavior-tooltip-nested
- task
- mouseenter-mouseleave-delegation-2
- mouseenter-mouseleave-delegation
- mouseleave-table
- mouseleave
- mouseoverout-child
- mouseoverout-fast
- mouseoverout
- 04-mousewheel
- 01-scale-with-mouse-wheel
- solution
- scale-wheel
- 02-no-doc-scroll
- solution
- no-doc-scroll
- task
- no-doc-scroll-src
- wheel
- 05-fixevent
- 06-drag-and-drop
- 01-slider
- solution
- slider-simple
- task
- 02-drag-heroes
- solution
- drag-heroes
- task
- 07-drag-and-drop-objects
- dragDemo
- 08-keyboard-events
- 01-numeric-input
- solution
- numeric-input
- task
- 02-check-sync-keydown
- solution
- multikeys
- keyboard-dump
- 09-event-onscroll
- 01-avatar-above-scroll
- solution
- scroll-position
- task
- 02-updown-button
- solution
- updown
- task
- 03-load-visible-img
- solution
- task
- 10-onload-ondomcontentloaded
- window-onbeforeunload
- 11-onload-onerror
- 01-nice-alt
- solution
- img-onload
- task
- 02-load-img-callback
- solution
- task
- 03-script-callback
- solution
- task
- 04-scripts-callback
- solution
- task
- 04-forms-controls
- 01-form-elements
- 01-add-select-option
- 02-focus-blur
- 01-emulate-placeholder
- solution
- placeholder
- task
- 02-keyboard-mouse
- solution
- task
- 03-hotkeys
- solution
- hotfield
- task
- 04-edit-td-click-1
- solution
- part1
- src
- 05-edit-td-click-2
- solution
- part2
- 06-input-nice-placeholder
- solution
- placeholder-html
- task
- 07-capslock-warning-field
- solution
- capslock
- task
- 03-events-change
- 01-calculate-capitalization
- solution
- percent
- task
- 04-forms-submit
- 01-modal-dialog
- solution
- prompt
- 02-form-validation
- solution
- validate
- task
- 05-widgets
- 01-architect-intro
- 02-widgets-structure
- 01-clock
- solution
- clock
- task
- 02-slider-widget
- solution
- slider-component
- 03-selectable-list-component
- solution
- selectable-list-component
- 04-voter
- solution
- voter
- task
- 05-voter-proto
- solution
- 06-voter-colored
- solution
- voter-colored
- 07-voter-add-doublevote
- solution
- voter-step
- 03-widgets-markup
- 02-markup-errors
- 04-template-lodash
- 01-table-template
- solution
- template-grid
- task
- 02-template-display-none
- 05-custom-events
- 01-voter-events
- solution
- 02-selectable-list-evented
- solution
- selectable-list-events
- 03-custom-select
- solution
- customselect
- task
- 06-widget-tasks
- 01-tooltip-over-element
- solution
- tooltip-fixed
- task
- 02-moving-tooltip
- solution
- tooltip-moving
- task
- 03-resize-img
- solution
- resizeable
- task
- 04-img-select-mouse
- solution
- croppable
- task
- 06-slider-events
- solution
- slider-events
- 07-calendar
- solution
- calendar
- task
- 08-autocomplete
- solution
- autocomplete
- 07-what-next
- 08-widget-tasks-2
- 01-date-selector
- solution
- dateselector
- task
- 02-draggable-windows
- solution
- task
- 03-window-manager
- solution
- window-manager
- 04-double-calendar-with-arrows
- solution
- datepicker
- task
- 05-tree-checkboxes
- solution
- task
- checkbox-tree-src
- 03-more
- 01-webcomponents
- 01-webcomponents-intro
- 02-webcomponent-core
- 03-shadow-dom
- 04-link-import
- import-libs
- import-show
- import-style
- 05-webcomponent-build
- message
- ui-slider
- 02-animation
- 01-js-animation
- 01-carousel-animated
- solution
- carousel
- 02-animate-logo
- solution
- flyjet
- task
- 03-animate-ball
- solution
- ball-bounce
- task
- 04-animate-ball-hops
- solution
- ball-bounce-right
- task
- move100
- move
- width
- 02-bezier
- 03-css-animation
- 01-animate-logo-css
- solution
- flyjet-css
- task
- boat
- 03-jquery-stub
- 01-jquery-intro
- 02-jquery-search
- 03-jquery-traversal
- 01-select-parents-with-self
- 04-jquery-dom
- 05-jquery-stub-article
- 01-rewrite-with-jquery
- solution
- task
- 04-optimize
- 01-memory-leaks
- 02-script-place-optimize
- 03-reflow
- reflow
- 05-compress
- 01-minification
- 02-better-minification
- 03-gcc-advanced-optimization
- 04-gcc-check-types
- 05-gcc-closure-library
- 06-extra
- 01-memory-removechild-innerhtml
- 02-javascript-quiz
- 01-memory-management-question
- 03-templates
- 04-books
- 05-setImmediate
- setImmediate
- 06-bind-late
- 07-sublime
- 08-range-textrange-selection
- domRangeCreate
- domRangeHighlight
- fix-ie
- ieTextRangeHighlight
- setSelection
- 09-drag-and-drop-plus
- dragTree
- 10-cookie
- 11-intl
- 01-collate-array-sort
- 12-regexp-specials
- 07-frames-and-windows
- 01-window-open
- 02-window-properties-and-methods
- 03-window-focus
- 04-iframes
- 05-same-origin-policy
- 06-cross-window-messaging-with-postmessage
- 07-clickjacking
- clickjacking
- 08-regular-expressions-javascript
- 01-regexp-introduction
- 02-regexp-methods
- 03-regexp-character-classes
- 04-regexp-special-characters
- 05-regexp-character-sets-and-ranges
- 06-regexp-numeric-quantifiers
- 01-find-text-manydots
- 07-regexp-quantifiers
- 08-regexp-greedy-and-lazy
- 09-regexp-groups
- 10-regexp-backreferences
- 11-regexp-infinite-backtracking-problem
- 12-regexp-alternation
- 13-regexp-ahchors-and-multiline-mode
- 14-regexp-multiline-mode
- 15-regexp-word-boundary
- 16-regexp-practice
- 17-regexp-orphans
- 09-tools
- 01-tools-browser-extensions
- 02-fiddler
- 03-ie-http-analyzer
- 10-ajax
- 01-ajax-intro
- 02-ajax-nodejs
- example
- 03-ajax-xmlhttprequest
- 01-phones-list
- phones-async
- phones-list
- 02-request-with-auth
- phones-async
- phones
- readystate
- 04-xhr-forms
- 05-xhr-longpoll
- longpoll
- 06-xhr-crossdomain
- 01-do-we-need-origin
- 07-xhr-onprogress
- progress
- 08-xhr-resume
- upload-2way
- upload-resume
- 09-websockets
- 10-ajax-jsonp
- 11-server-sent-events
- eventsource
- 12-ajax-iframe
- samedomain
- 13-ajax-iframe-htmlfile
- activex
- 14-ajax-iframe-xdomain
- name
- postmessage
- 15-comet-iframe
- 16-ajax-summary
- 11-css-for-js
- 01-css-why
- 02-css-units
- 03-display
- 04-float
- 01-inline-block-vs-float
- solution
- gallery-float-diffsize
- gallery-float
- gallery-inline-block
- 02-tree-with-multiline-nodes
- solution
- tree
- task
- 03-paginator-css
- solution
- task
- 04-add-border-keep-width
- gallery-float
- two-columns-2
- two-columns
- winnie-block-bg
- winnie-block
- winnie-clear-1
- winnie-clear-2
- winnie-clear-3
- winnie-clear-4
- winnie-clearfill-clearfix
- winnie-clearfill-div
- winnie-clearfill-float
- winnie-clearfill-overflow
- winnie-nofloat-1
- winnie-nofloat-2
- winnie-nofloat-3
- winnie-nofloat
- winnie
- 05-position
- 01-modal-window
- solution
- modal-div
- task
- position-100-wrong
- 06-css-center
- 01-center-ball-css
- solution
- ball-css
- task
- ball-src
- 02-form-modal
- solution
- modal-login
- task
- 03-vertical-align-table-cell-position
- vertical-align
- 07-font-size-line-height
- 08-white-space
- 09-outline
- 10-box-sizing
- 11-margin
- 01-failing-margins
- 02-position-text-into-input
- solution
- input-password-margin
- task
- h2-margin-top-position
- h2-margin-top
- hr-margin-left-src
- hr-margin-left
- negative-margin-bottom
- 12-space-under-img
- block
- inline-p
- inline
- valign-p
- valign-small-lh
- valign-small
- valign
- 13-overflow
- 14-height-percent
- height-percent-float-exact
- height-percent-float
- height-percent
- 15-css-selectors
- 01-select-elements-selector
- task
- 02-margin-between-pairs-size-1
- solution
- between-margin
- task
- 03-margin-between-pairs
- solution
- task
- nthchild-type
- nthchild
- relation
- 16-css-no-ie6
- 17-css-sprite
- height48
- sprite-example
- sprite-tree-1
- height48
- sprite-tree-src
- sprite-tree
- 18-css-format
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
Loading
Loading
0 commit comments