Skip to content

Pizza And Kapibara site V2.0

Compare
Choose a tag to compare
@areallypawa areallypawa released this 14 Mar 18:39
70e9778

image

🔷 Pizzeria "Pizza and Capybara" school project VERSION 2.0! | Пиццерия "Пицца и Капибара" школьный проект ВЕРСИЯ 2.0!

     🔹 Hello everyone I am glad to congratulate everyone that the second version of my project has been released! So, what innovations have I introduced?

     🔹 Всем привет! Я рад всех поздравить, что вышла вторая версия моего проекта! Итак, какие же нововведения я внес?

🔷 List of changes in version 2.0 | Список изменений в версии 2.0

  • ▶️ The method of adding content to the page has been changed.
         ❗ After analyzing my further plans for this project, I decided to modernize my website. As you can see, in the previous version of the site, I was forced to manually add new product cards to the page, as well as separately write code in JS files to track the pressing of certain buttons.
         ❗ Now, the content (Product Cards) it is loaded onto the page from JSON files. All you need to do is add a number of information to the JSON file in certain tags, you can also create a new product category, which allows you to add products of completely different types. The JS code has been redesigned, which is now universal for all buttons.
         ‼️ As a result of this change, I solved the issue of excessive length of my html and js code by reducing the total number of lines in all files from 1800 to 1400 lines!
  • ▶️ Изменен метод добавления контента на страницу.
         ❗ Проанализировав дальнейшие свои планы на этот проект я решил модернизировать свой сайт. Как можно увидеть - в прошлой версии сайта, я был вынужден руками добавлять новые карточки товара на страницу, а так же отдельно писать код в файлах JS для отслеживания нажатия определенных кнопок.
         ❗ Теперь, контент (Карточки товара) сам подгружается на страницу из файлов JSON. Все что нужно сделать это добавить в файл JSON ряд информации в определенные теги, так же можно создать новую категорию товара, что позволяет добавлять товары совершенно разных типов. Переработан код JS, который теперь является универсальным для всех кнопок.
         ‼️ В результате этого изменения я решил вопрос об излишней длине своего html и js кода, уменьшив суммарное количество строк во всех файлах с 1800 до 1400 строк!

🔷 🔎 Services - Libraries 📚 | 🔎 Сервисы - Библиотеки 📚

Note

🇷🇺 Сервисы помогут в создании проекта.

🔷 About developers 💫 | О разработчиках 💫

🔷 License | Лицензия

Project Pizzeria "Pizza and Capybara" is distributed under the MIT license

Full Changelog: PizzaAndKapibara...PizzaAndKapibaraV2