Code Monkey home page Code Monkey logo

firstvuejsprojects's Introduction

FirstVueJSProjects

Learning and practicing VueJS

Comments

First project in VueJS. I followed this video to make it both using CDN (all project in a single HMTL file) and CLI (complete project with separate component files) versions. You can add comments to a list with or without author (Anonymous) and delete them later.

Converter

I got inspired by this video to make this currency converter. I made it show the value converted instantly as the user types in the input boxes. I also made a main input box with a dropdown list ("stole" and adapted from my other project) for the user to be able to choose a base currency that it's present in every other "converter box". Data is from https://exchangeratesapi.io/ API.

Calculator

Other project inspired by other video. A complete basic calculator. This one I wasn't very happy with the logic used in the video, so I made some changes like showing the operations in the display. I plan to remade this code entirely in the future as its core logic is too close to the view component (as some of the comments of the video have pointed out).

To-do Manager

My study on Vuex. This time it comes from this video. I find amazing the similarity with Redux from React. It has actions and functions that use the actions to change the state of a component (called reducers in Redux and mutations in Vuex).
There are three components: Todos, that stores the list of to-dos, AddTodo, the form for adding the to-dos and FilterTodos, the dropdown list for choosing how many to-dos are shown. They all share the same state by using Vuex. The initial state, i.e., the to-dos that appears when you first enter the site, is fetched from https://jsonplaceholder.typicode.com/, a "fake" API.
I really liked the style that the author of video applied in the site and I made small changes to make it a little better. It is also delightfully responsive!

firstvuejsprojects's People

Contributors

arturo32 avatar dependabot[bot] avatar

Watchers

 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.