???? ?? ??? ??, REST API ?? ??? Google ?? ? ???? ???? ????. ?? ?? ?? ?????! ? ??? ??? ??? ?? ??? ??? ?? ???? ?????? ? ???? ??? ???? ???, ?????? ?? ??? ????.
? ??? ??? ??? ??? ???? JavaScript ??? ??? ??? ??? ??? ?? ???.
??? ??? ????, ??? Chart.js? ????, ?????? ?? ??? ???? ????.
<code></code>
??? ?? 1 : HTML ??? ???
?? ? ????? ??? ??? ?????. ???? ???? ?? ???? ??? ??? ? ????. ??? ???? ?????? ??? ??? ?? ?? ? ??? ? ?? ? ?????
??? JavaScript ??? ???? HTML ????? ???? ???? ??? ??? ??? ? ? ????. ?? ??? ???? ??????.
?? | ??? | ??? ($) | ?? ($) |
---|---|---|---|
2016 | 10 | 200 | 89 |
2017 | 25 | 550 | 225 |
2018 | 55 | 1200 | 600 |
2019 | 120 | 2450 | 1100 |
? ????? ??? ?? ???? ???? ????. ???? ?? ? ??? ????? ????? ???? ???? ? ? ??? ?????. ?????!
?? ?? ??? ??? ???. ? ??? Chart.js ??????? ?? ????? ??? ? ?? ??? ???? ?? ????. ?? ??? ???? ?? ? ?? ??? ??????.
?? buildChart (???, ?, ?? ???) { var ctx = document.getElementById ( "mychart"). getContext ( '2d'); var mychart = ??? ?? (ctx, { ?? : '?', ??? : { ??? : ???, // ?? ??? ?? : [{ ??? : ChartTitle, // ??? ?? ??? : ?, // ? BackgroundColor : [// ??? ?? ?? ? 'RGBA (255, 99, 132, 0.2)', 'RGBA (54, 162, 235, 0.2)', 'RGBA (255, 206, 86, 0.2)', 'RGBA (75, 192, 192, 0.2)', 'RGBA (153, 102, 255, 0.2)', 'RGBA (255, 159, 64, 0.2)' ],, BorderColor : [// ??? ?? ?? 'RGBA (255,99,132,1)', 'RGBA (54, 162, 235, 1), 'RGBA (255, 206, 86, 1)', 'RGBA (75, 192, 192, 1)', 'RGBA (153, 102, 255, 1)', 'RGBA (255, 159, 64, 1)' ],, Borderwidth : 1 // ?? ??}] }, ?? : { Responsive : True, // ?? ? ??? ASPERASPECTRATIO : FALSE, // ???? ??/?? ?? ??}} }); Mychart? ?????. }
?? ??? ???? ????? ?? ??? ???? ???? HTML ??? ???? ?? ??? ???? ? ??? ??? ??? ??? ???????. ??? ?? ? ??? ???? ??? ?????.
?? | ??? | ??? ($) | ?? ($) |
---|---|---|---|
2016 | 10 | 200 | 89 |
2017 | 25 | 550 | 225 |
2018 | 55 | 1200 | 600 |
2019 | 120 | 2450 | 1100 |
???? ?? JavaScript? ???? ???? JSON?? ?? ???????. Chart.js?? JSON? ???? ??? ? ???.
// ... (buildChart ?? ??) ... var table = document.getElementById ( 'dataTable'); var json = []; // ? ?? ?? ?? var ?? = []???. for (var i = 0; i
DevTools ???? ??? ???? ?? ??? ?? ?? ??????. ??? ??? ??? ????.
???! ??? ??? ????? ??? ?? ??? ?????.
?? ?? ?? ???? ?? ?? ??? ???? ???? (Chart.js? ??? ??? ??? ???). ?? ?? ???? ?? ???? ???? ????.
? ????? JSON ?? ? ?? ?????. ?? ?? ??? ?? ? ? ????.
// ? JSON ? ???? ?? var var var labels = json.map (function (e) { ?? e.year; }); Console.log (???); // [ "2016", "2017", "2018", "2019"]] // JSON ? ??? ?? ? ?? var value = json.map (function (e) { return e.itemssold; }); Console.log (?); // [ "10", "25", "55", "120"] // BuildChart ??? ???? ??? ??????. var ?? = BuildChart (???, ?, "?? ??");
?? ??! ?? ???? ???? JavaScript ???? ???? ????????.
(... ?? ??? ??? ??? ???????? ?? ??? ? ? ???? ????? ...)
??? ?? 2 : ??? API
???? ?? ?? API? ???, ? ? ?? ???? ??? ???? ?? ?????. API ? ??? ???? ??? ??? ???? ??? ??? ?? ?????. ?? Forbes 400 Rich List API? ???? ???? ?? ?? ? 10 ?? ?? ? ???? ?? ??? ?? ?? ????. ???? ! ?? ?? ?? ??? ???? ??? API? ? ?? ???? ?????. ??? ?? ??? ??? JavaScript? ???? ??? ??? ? ????? ??? ????? ???? ?????!
?? ?? ??? ?? ???? ???? ? ?? ??? ?????.
// ... (??? ????? 'HorizontalBar'? ?? ??? ???? ??) ...
???? ??? ?????? ??? HTML ??? ??? ?????.
<canvas id="myChart"></canvas>
?? ??? ???? ?????. Console?? Forbes API ??? ??? ????? ???.
(... API? ?? ? JSON ???? ?? ??? ??????? API? ?? ?? ? ? ???? ????? ...)
?? ? JSON ????? ? ? ??? ??? ?? ? ??? ?? ??? ??? ????. ??? ??? ??? ??? ???!
??? JavaScript ??? ???? API? ???? ???? ??? ????? ?? ???? ???? ????? ???? ???? ??? ??? ? ? ????.
// ... (buildChart ?? ??) ... var xhttp = new xmlhttprequest (); xhttp.onreadystatechange = function () { if (this.readystate == 4 && this.status == 200) { var json = json.parse (this.response); // JSON ??? ? ?? var var labels = json.map (function (e) {? ?? ?????. ?? e.name; }); // JSON ? ??? ?? ? ?? var value = json.map (function (e) { ?? (e.realtimeworth / 1000); // 1000?? ???, ??? 10 ????}); BuildChart (???, ?, "??? ? ??"); // ???? ???? ?? ??? ??}} }; xhttp.open ( "get", "https://forbes400.https://forbes400.herokuapp.com/api/forbes400?limit=10", false); xhttp.send ();
(... ?? ??? ??? ??? ???????? ?? ??? ? ? ???? ????? ...)
??? ?? 3 : Google ??
???? ??? ?? HTML ???? API? ???? ???? ??? ? ???. ??? ?? ?? ?????? Google ??? ??? ????? ??? ??? ???? ??? ?? ? ????!
?? Google ??? ????? ? ?? ??? ????.
- Google ??? ???????
- Google ??? ???????? (?, ?? ???? ???? ??)
? ? ??? ???? ? JSON ??? Google ??? ??? ? ? ????.
??? ??? ???? ?? ????? ?? ? Google ?????. ???? ?? ID, ?? ? ?? ? ?? ??? ? ?? ??? ??? ???? ????.
?? ???? URL? ?? ??? ??? ? ?? ????? ???????.
<code>https://docs.google.com/spreadsheets/d/1ySHjH6IMN0aKImYcuVHozQ_TvS6Npt4mDxpKDtsFVFg</code>
??? ??? ID?? Get ??? Google? ??? ? ??? ????. JSON?? GET ??? ????? ???? ?? URL? ?????.
<code>https://spreadsheets.google.com/feeds/list/[ID GOES HERE]/od6/public/full?alt=json</code>
??? ???? ??? ?? URL? ? ????.
<code>https://spreadsheets.google.com/feeds/list/1ySHjH6IMN0aKImYcuVHozQ_TvS6Npt4mDxpKDtsFVFg/od6/public/full?alt=json</code>
???? ?? ??? ??? ????.
(... Google Sheets API? ?? ? JSON ??? ??? ??? ???????? API? ?? ?? ? ? ???? ????? ...)
??? ??? feed.entry
?? ?????. ??? ??? ???? ???? ??? ?? ? ? ??? ????.
(... Google Sheets API? ?? ? JSON ??? ??? feed.entry
??? ??? ??? ????????. gsx$date
? gsx$productsproduced
?? ????? API? ?? ?? ? ? ???? ????? ...)
????? ??? ??? ??????. Google Sheets API? gsx$
(? : gsx$date
)? ? ? ???? ?????. ???? ???? ?? ? ??? ???? ??? ???? ???? ?????. ??? ??? ?? ?? ???? ??? ? ??? ???? ?? ???? ???????.
// ... (??? ????? 'bar'? ???? ??? ??? ??????) ... var xhttp = new xmlhttprequest (); xhttp.onreadystatechange = function () { if (this.readystate == 4 && this.status == 200) { var json = json.parse (this.response); Console.log (JSON); // JSON ??? ? ?? var var labels = json.feed.entry.map (function (e) {? ?????. return e.gsx $ date. $ t; }); // JSON ? ??? ?? ? ?? var value = json.feed.entry.map (function (e) { return e.gsx $ products -produced. $ t; }); BuildChart (???, ?, "?? ???"); } }; xhttp.open ( "get", "https://spreadsheets.google.com/feeds/list/1yshjh6imn0akimycuvhozq_tvs6npt4mdxpkdtsfvfg/od6/public/full?alt=json", false); xhttp.send ();
(... ?? ??? ??? ??? ???????? ?? ??? ? ? ???? ????? ...)
???? ??? ?? ?????
???? ??? ??? ?? ???? ?? ??? ?? ?? ??? ??? ?? ???? ????. ??? ? ??? ??? ??? ???????? ? ??? ??? ?? ? ????.
???? ?? ??? ??? ?? ??? ???? ??? ???? ??? ?? ???? ????! ??? ??? ?? ???? ???? ????. ??? ??? ??? ? ?? ???? ??? ?? ?? ?? ?? ???????.
? ?? ?? ?????
- Chart.js
- NVD3 (D3.JS ?)
- ? ??
- Canvasjs
? ?? ??? ???? ??
- ?????
- ??
- ???
? ?? ? ??? ?? ??? ?? ??? ????? ?? ??? ?????. ??? ??? ?? ??? ??? ???? ??? ? ?? ??? ???? ?? ?? ?? ?????. ???? ?? ???? ???? ?????.
? ??? ???? ??? ?? ?? ?? ?? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











CSS? ??? ??? ????? ????? ??? ? ?? CSS? ????? ?? ??????, ?? ?? ? ??? ??, ??? ?? ?? ??? CSS ? ????? ?? ??? ?? ???? ???? ??? ??? ???. 1. ?? CSS? ???? HTML? ?? ?????. 2. JavaScript? ?? ??? CSS ??; 3. ??? ??? ???? ?? ???? ????? ??????. 4. CSS? ???? ???? ??? ????. ?? CSS? ???? ?? ??? ???? Rel = "Preload"?????? ????, ??? ?? ??? ????? ???? ??? ?? ? ??? ???? ??? ?????.

TheBestoproachforcssdspectionseproject'sspecificneeds.forlargerProjects, externalcsSisbetterduetomainabainabainabilitableability ? forsmallerprojectsorsingle-pageapplications, ?? csmightbemoresuitable.it 'scrucialtobalanceprojectsize, ??

???, cssdoesnothavetobeInlowercase. ???, lowercaseisRecomedended for : 1) ??? ? ??, 2) ??? ?? rorsinerrorsinerrorsIngerRorsIngerRorsInteChnologies, 3) ??? ?? ??, ? 4) ?? ? ???? ????.

cssismostlycase-Insensitive, buturlsandfamilynamesarecase-insensitive.1) propertiesandvalueslikecolor : red; anteOtcase-inditive.2) urlsmustmatchtheserver'scase, ?? ??,/images/logo.png.3) fontfamilynames'opens'mustoccase.

AutoPrefixer? ?? ???? ??? ???? ?? ?? ???? CSS ??? ???? ???? ?????. 1. ????? ???? ???? ???? ??? ?????. 2. PostCSS ???? ??, CSS? ?? ???? ???? ?? ???? ??? ???? ??? ?? ??? ?????. 3. ?? ???? ???? ??, ??????? ?? ? ?? ???????? ????? ?? ?????. 4. ???? ???? ???? ???? ?? ?? ????, ???? ?? ??? ?? ???? ???? ????? ?? ???? ?? ????.

CSSCOUNTERSCANAUTOMALLYNUMBERSESSESSENDS.1) USECOUNTER-RESETTIONITIALIZE, CORKENT-INCREMENTTOINCERES, andCOUNTER () ORCOUNTERS () TODISPLAYVALUES.2) COMPINEWITHJAVAISCRIPTORDINAMICCONTENTTOEREACCUTERUPDATES.

CSS?? ??? ? ?? ??? ?? ??? ???? ??, ??, URL ? ??? ?? ????? ?? ?? ??? ?????. 1. ???? ?? ??? ??? ? ???? ?? ?? ??? ??????. 2. ?? 16 ?? ??? ?? ??? ?????, ??? ???? ???? ?? ??? ??? ???? ????. 3. URL? ??? ???? ???? ??? ??? ? ????. 4. ??? ?? ?? (??)? ??? ???? ??? ? ???? ??????? ???????.

theconic-gradient () functionincsscreatescurcular gradientsthattroTecolorstopsaroundacentral point
