Code Monkey home page Code Monkey logo

js-budget-setup's People

Contributors

john-smilga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

js-budget-setup's Issues

Edit & Delete Icons

The issues is that more then one expense in the list will break the edit and delete icon functionality. As a result it is not possible to make edits or delete items in the list except for the last item in the list. I think it is a CSS problem but not quite sure. My lack of understanding with what is going on with the Bootstrap & flex stuff I am struggling to fix this. It was reported in YouTube comments that this will fix the problem:
delete line 113 in main.css : font-size: 2.6 rem
This is not a solution it is more of a hack in my view, as it actually causes inconsistent fonts sizing between other elements in the UI.

I am wondering if anyone has fixed this issue and I curious how they did fix it. If there are no fixes as of yet, can you as the project owner or any community member help us resolve this issue?

Great teaching and thank you for your time.

expected Error

After adding this code I have this error. Also typescript last version is installed.

image

the div.innerHTML doesn't show it gives me syntax error on ' character

Hello, Master, I am trying to follow the FREECODECAMP lesson but I am stuck in this part:
the console gives me an error on the div.innerHTML = ' it gives me a syntax error saying the single quote used is incorrect and found no reference online, could you help?

everything works perfectly.

//add expense

addExpense(expense) {
    const div = document.createElement('div');
    div.classList.add('expense');

   /* //############after building this part app stop working#############
    div.innerHTML = '
	<div class="expense">
	<div class = "expense-item d-flex justify-content-between align-items-baseline" >

    <h6 class = "expense-title mb-0 text-uppercase list-item" > -${expense.title} < /h6> 
	<h5 class = "expense-amount mb-0 list-item" > -${expense.amount} < /h5>

    <div class = "expense-icons list-item" >

    <a href = "#" class = "edit-icon mx-2" data-id = "${expense.id}" >
    <i class = "fas fa-edit" > < /i> 
	</a> <a href = "#" class = "delete-icon" data-id = "${expense.id}" >
    <i class = "fas fa-trash" > < /i> 
	</a> 
	</div>
	</div>
	</div>
	
	';
    

    this.expenseList.appendChild(div);
	//##########after building this part app stop working##############// */

}

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.