# Electric Car Charging Javascript

**URL:** <https://forum.freecodecamp.org/t/electric-car-charging-javascript/485513>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [November 15, 2021, 6:48pm UTC](https://forum.freecodecamp.org/t/electric-car-charging-javascript/485513 "2021-11-15T18:48:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abcattell91](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@abcattell91](https://forum.freecodecamp.org/u/abcattell91)\
**Post date:** [November 15, 2021, 6:48pm UTC](https://forum.freecodecamp.org/t/electric-car-charging-javascript/485513/1 "2021-11-15T18:48:16Z")

</div>

Hi,

Im creating a webpage that you select your vehicle which then allocates its total KWH capacity. You then enter the charge rate ie 7kwh, 11kwh, 22kwh etc and then your start percentage and the percentage you want to stop at. How would I go about doing this in Javascript? I have my html code done but really struggling on how to implement the actual function of what I want… Im doing this in codepen.. I’ve been studying the Javascript portion of freecodecamp but just blocked with where to actually start or how to implement this..

[https://codepen.io/abcattell/pen/xxLQqja](https://codepen.io/abcattell/pen/xxLQqja)

---

<div class="post-metadata">

**Author:** ![Sylvant](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sylvant/32/254977_2.png) [@Sylvant](https://forum.freecodecamp.org/u/Sylvant)\
**Post date:** [November 15, 2021, 8:03pm UTC](https://forum.freecodecamp.org/t/electric-car-charging-javascript/485513/2 "2021-11-15T20:03:21Z")

</div>

the JS portion of the curriculum is focused purely on JS, but doesnt teach you how to intertwine it with HTML and CSS, its the frontend section that starts on that part. There also isnt FCC lessons to introduce you to basic DOM manipulations, so you need to either progress more with FCC(past the pure JS section), or take on a course elsewhere, to be able to implement what you want to do.  
The FCC JS section can provide you all you need to know, in order to write the logic you design, but implementing it into a web page is another topic.

---

<div class="post-metadata">

**Author:** ![abcattell91](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@abcattell91](https://forum.freecodecamp.org/u/abcattell91)\
**Post date:** [November 16, 2021, 4:36pm UTC](https://forum.freecodecamp.org/t/electric-car-charging-javascript/485513/3 "2021-11-16T16:36:14Z")

</div>

Aha! Thank you! I gathered as much as instead of just trying to muscle through it I gave up and carried on with freecodecamp javascript portion instead.

Thanks!

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [November 16, 2021, 5:23pm UTC](https://forum.freecodecamp.org/t/electric-car-charging-javascript/485513/4 "2021-11-16T17:23:59Z")

</div>

Some links to help learn about plain DOM manipulation (no frameworks).

[JavaScript30](https://www.youtube.com/playlist?list=PLu8EoSxDXHP6CGK4YVJhL_VWetA865GOH)

YouTube search: [dom manipulation in javascript](https://www.youtube.com/results?search_query=dom+manipulation+in+javascript)

> **[DOM manipulation | The Odin Project](https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/dom-manipulation)**

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [May 18, 2022, 5:24am UTC](https://forum.freecodecamp.org/t/electric-car-charging-javascript/485513/5 "2022-05-18T05:24:46Z")

</div>

Closed on May 18, 2022, 5:24am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
