Find Jobs
Hire Freelancers

JavaScript Code Review & Debug

$10-30 USD

Concluído
Publicado há mais de 8 anos

$10-30 USD

Pago na entrega
I created a tiny game as my first Javascript practice project and I'm seeking a mentor to help me understand why my refactored code is not working. It seems i've broken a few things, and my brain is dead at this point trying to figure it out lol. Please help... Note: this small project is ideal for new freelancers with good front-end development skills looking for small projects to help boost their Freelancer reputation. Also, it's great for someone who genuinely enjoys helping others learn to code. Working build (480 lines of code): [login to view URL] *Git-master: [login to view URL] Non-working refactored build (188 lines of code): [login to view URL] *Git-refactor: [login to view URL]
ID do Projeto: 9553608

Sobre o projeto

8 propostas
Projeto remoto
Ativo há 8 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Interesting game! The problem is that you are passing in undefined variable - hitfx, for example, when you call action(). You can pass strings to action('hitfx', 'attack', and so on. ) instead and let javascript decide what to do with the string. update: Just found out the variables are not defined...yet, you can't get elements by id before they are loaded. Move you Javascript file to the end of the body, the game will run.
$10 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
8 freelancers estão ofertando em média $20 USD for esse trabalho
Avatar do Usuário
Hello, I'm just getting back into freelancing world again and your project took my attention. I believe I can help you. Let me take a look to your code in the morning and I'll do an appropriate bid. Thank you.
$35 USD em 1 dia
5,0 (3 avaliações)
3,4
3,4
Avatar do Usuário
I'm currently an intern in a company named Cermati, which used full-stack Javascript for its development (Node.js for the web server). I've been an intern for more than a month.
$10 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hello, I know what is giving you issues, It is related to the function action and how it interacts with the variable enemyhp, there is two kinds of parameters, but javascript only passes parameters by variable which means that when the function ends the value doesnt change. I also added the script on the html body because it wasnt working otherwise. I suggest you to use jquery in the future, I think it is a lot easier to create this kind of projects. Be free to talk to me on the chat so we can fix this ASAP if you like. Regards,Ignacio
$10 USD em 0 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Aventura, United States
5,0
12
Método de pagamento verificado
Membro desde out. 1, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.