From be92cb7aa214292b437b23113b159bbe56fe975d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 29 Aug 2024 17:56:55 -0600 Subject: [PATCH] doc: don't bury the lead --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 31fcc38..dbc793c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,14 @@ The fastest, most lightweight, fewest dependency jQuery alternative. Development Build: 145B (with comments) \ Production Build: 103B (min + gz) +## Example Usage + +Provides modern, advanced CSS4-compatible query selection: + +```js +console.log("innerText:", $("p:nth-child(2").innerText); +``` + ## Install ### via GitHub @@ -27,14 +35,6 @@ curl -fsSL "https://raw.githubusercontent.com/coolaj86/ajquery.js/${my_ver}/ajqu ``` -## Example Usage - -Provides modern, advanced CSS4-compatible query selection: - -```js -console.log("innerText:", $("p:nth-child(2").innerText); -``` - ## API ### `$(selector, [rootElement])`