GithubHelp home page GithubHelp logo

nicolefabian / genshin-api-tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lyqht/genshin-api-tutorial

0.0 0.0 0.0 4.33 MB

Repo to accompany the tutorial series for Web Dev Newbies

Home Page: https://lyqht.github.io/genshin-api-tutorial/

CSS 24.15% HTML 60.73% JavaScript 15.12%

genshin-api-tutorial's Introduction

Genshin Impact API Tutorial

This repository holds the codebase for building a simple website with the fan-made Genshin Impact API by Genshin.dev here.

If you're following along the tutorial article series, make sure that you're at the /start branch. But if you got lost at a certain step, feel free to have a look at /completed branch.

Preview Demo

Start - without any values

After filling the start template with hard coded values of my fav trap support character

Preview of the start demo

End - with data retrieved from API, you can change it to any character

Preview of the end demo

FAQ

Why does the hard-coded preview & end product look about the same? ๐Ÿ˜•

This tutorial is not here to teach you how to make things look pretty. In reality, many websites already look good without the use of API.

This tutorial is here to teach you how to use API to make your website more interactive & functional ๐Ÿ˜„. As the amount of information expands, it is impractical to hard code everything. Think about website localization, and the need to retrieve media like images/sound/video from an external source dynamically.

if you look closely enough ๐Ÿ‘€ in the end product, there is an additional dropdown for all the different characters. Of course, this is also possible if you want to hard code all of it, but programmers are lazy efficient people. We try not to do that shit.

Why does the design looks vaguely familiar?... ๐Ÿ’ก (for Genshin Impact players)

Reveal the source

reference picture

Yes, the design of this graphic is referenced from the namecard in game ๐Ÿ˜† If i could, i would probably replicate it entirely just for fun but we can't retrieve player's information directly (duh) to put it in, so for clarity sake, i only made do with this current design.

genshin-api-tutorial's People

Contributors

lyqht avatar nicolefabian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.