JS проверки битых картинок
На входе скрипта даем массив с именами картинок на внешнем ресурсе.
Вам нужно пройтись по всем элементам массива и проверить код ответа картинки
'http://site1.ru/upload' + arr[$i] + '.gif'
если код ответа НЕ равен 200, то увеличиваем счетчик на 1.
в конце прогона элементу <div id='count'></div> присвоить подсчитанное количество битых.
Важно, чтобы скрипт был написан на нативном JS
Желательно, чтобы скрипт состоял из трех строчек и его легко было подключить перед закрывающимся <body>
в результате данной работы с Вас пример из трех картинок, и скрипт который проверяет их доступность
-
685 39 0 1 Добрый день
Уже есть готовое решение. Обращайтесь, буду рад с Вами работать
-
775 21 0 Здравствуйте, готов взяться прямо сейчас. До конца дня справлюсь.
Обращайтесь
UPD:
Можно уложиться в три строчки но будет страдать читабельность кода, советую разбить на 5-7 строчек хотя бы
-
46 1 1 Здраствуйте,
готов взяться за вашу роботу.
telegram : lagemeet
-
1120 33 0 1 Добрый день Буду рад сотрудничеству.
Готов обсудить детали в личной переписке.
Опыт работы 4 года.
Большой опыт, ответственный и качественный подход.
С уважением John!
Пишите, чтобы обсудить:
-
432 21 1 День добрый, сделаю.
Немного о себе:
HTML5 + CSS3 (adaptive layouts, sprites, css animations, retina, flexbox), Less / Sass / SCSS, Bootstrap 4;
JavaScript, jQuery, Angular 2+, Angular Material; Grunt, Gulp, npm;
PHP, Regular Expressions, cURL, memcached, Smarty, Twig, Blade, Composer;
MySQL, Percona Server;
nginx, Apache, mod_rewrite, Sphinx, mozjpeg;
… Linux (CentOS, Ubuntu, Debian), AWS, Azure, Git (Github, Bitbucket), Docker;
Symfony, Laravel, WordPress, OpenCart, Prestashop, Drupal;
Payment APIs, OAuth2 (Google, Okta Auth), Google Maps APIs.
Доступен в онлайне с 12-00 до 23-00
Оплата по-проектно или почасовая ставка ($15/час)
-
272 4 0 Обращайтесь, сделаю в течении двух часов.
Обращайтесь, сделаю в течении двух часов.
Обращайтесь, сделаю в течении двух часов.
-
3698 111 3 5 Здравствуйте, Дмитрий.
Готов написать скрипт проверки картинок на внешнем ресурсе.
С уважением, Юрий
-
Уже сделал, обращайтесь в ЛС
-
Есть готовое решение в одну строчку) Обращайтесь, предоставлю
-
Current freelance projects in the category Javascript and Typescript
Support and development of the cleaning company's website
20 USD
I'm looking for a web developer/webmaster for long-term support and development of a cleaning company's website. Website: https://donely.ca About the project DoneLy Home Services is a cleaning service company in Canada that is actively growing and expanding its geographical… Javascript and Typescript, Web Programming ∙ 23 hours 42 minutes back ∙ 56 proposals |
Development of a website according to the specifications on FramerYou need to create a website based on the parameters in the technical specification. https://docs.google.com/document/d/1ODO2C9Krb4AaMiJz9wfbNzWlAyA2FwCCHL8r0biajUY/edit?usp=sharing Please provide your actual rate based on this design. HTML & CSS, Javascript and Typescript ∙ 2 days back ∙ 26 proposals |
Development of an interactive Palworld map for the websiteWe need to develop an interactive map for Palworld based on the example: https://palworld.gg/map We need not just a static image, but a full-fledged interactive map where users can view locations, toggle object categories on/off, search for specific points, and interact with… HTML & CSS, Javascript and Typescript ∙ 3 days 15 hours back ∙ 32 proposals |
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5731 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 8 days 21 hours back ∙ 119 proposals |
Gsap animations
22 USD
Good day. Corrections need to be made in the current project. A specialist is needed who works well with gsap/lenis. Animation of cards needs to be done. Detailed specifications here:… Javascript and Typescript, Web Programming ∙ 9 days 3 hours back ∙ 21 proposals |